:root {
  color-scheme: light;
  --bg: #f3e6d4;
  --paper: #fff8ef;
  --card: #fffdfa;
  --ink: #4a3b32;
  --muted: #8a7364;
  --line: #ead6c2;
  --lemon: #7d9a4a;
  --lemon-deep: #5f7a34;
  --lemon-soft: #eef3d4;
  --peach: #e7a08e;
  --peach-soft: #fbe8de;
  --cream: #fff4e6;
  --accent: #6f8640;
  --warn: #b85a3a;
  --ok: #4f6e32;
  --shadow: 0 6px 16px -12px rgba(90, 62, 40, 0.22);
  --radius: 14px;
  --job-next-h: 44px;
  --job-stick-gap: 8px;
  --phone-chrome-h: 0px;
}
* { box-sizing: border-box; }
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% -10%, #f8e4d8 0%, transparent 46%),
    radial-gradient(ellipse at 92% 0%, #eef3d4 0%, transparent 42%),
    var(--bg);
}
body.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 232px;
  min-width: 232px;
  max-width: 232px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 12px;
  background: var(--paper);
  color: var(--ink);
  border-right: 1px solid color-mix(in srgb, var(--peach) 35%, var(--line));
  z-index: 2;
  overflow-x: hidden;
  overflow-y: auto;
}
.sidebar a { color: var(--ink); text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  padding: 4px 8px 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-ver {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: block;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 2px 12px;
}
.sidebar .nav-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.sidebar .nav-label {
  display: block;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  line-height: 1.4;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  cursor: default;
  pointer-events: none;
}
.sidebar .nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  padding: 4px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--peach-soft) 55%, var(--paper));
  cursor: default;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: transparent;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  cursor: pointer;
}
.sidebar .nav-link-text {
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
}
.sidebar nav a:hover { background: var(--peach-soft); }
.sidebar nav a.is-current {
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--lemon-deep);
}
.sidebar nav a.is-current:hover {
  background: color-mix(in srgb, var(--lemon-soft) 72%, var(--peach-soft));
}
.sidebar .nav-count,
.phone-tabbar .nav-count,
.phone-sub .nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: static;
  flex: 0 0 auto;
  min-width: 1.2em;
  height: 1.2em;
  margin: 0;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--peach-soft);
  color: var(--warn);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}
.sidebar-foot {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sidebar-foot form { margin: 0; }
.who-page {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  white-space: nowrap;
}
.who-page:hover { background: var(--peach-soft); }
.who-page.is-current {
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--lemon-deep);
}
.who-page.is-current:hover {
  background: color-mix(in srgb, var(--lemon-soft) 72%, var(--peach-soft));
}
.who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: 14px;
}
.who:hover { background: var(--peach-soft); }
.who.is-current { background: var(--lemon-soft); }
.who.is-current:hover {
  background: color-mix(in srgb, var(--lemon-soft) 72%, var(--peach-soft));
}
.who-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
  line-height: 1.3;
}
.who .avatar,
.who .avatar-mark {
  width: 36px;
  height: 36px;
  font-size: 15px;
}
button.text-logout {
  display: inline-block;
  margin: 0 0 4px 46px;
  padding: 2px 8px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
button.text-logout:hover {
  background: var(--peach-soft);
  color: var(--ink);
}
header.guest {
  padding: 16px 24px 8px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--peach) 35%, var(--line));
}
button, .button {
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  border: 1px solid color-mix(in srgb, var(--lemon) 38%, var(--line));
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font: inherit;
  font-weight: 600;
}
button:hover, .button:hover {
  background: color-mix(in srgb, var(--lemon-soft) 70%, #c9dc7a);
}
a.button.primary, button.primary {
  background: color-mix(in srgb, var(--lemon) 46%, var(--lemon-soft));
  color: var(--lemon-deep);
  border-color: color-mix(in srgb, var(--lemon-deep) 28%, var(--lemon));
}
a.button.primary:hover, button.primary:hover {
  background: color-mix(in srgb, var(--lemon) 62%, var(--lemon-soft));
}
a.button.quiet, button.quiet {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 600;
}
a.button.quiet:hover, button.quiet:hover {
  background: var(--peach-soft);
  color: var(--ink);
}
main {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 28px 32px 64px;
  justify-self: stretch;
  overflow-x: clip;
}
.site-foot {
  margin: 20px 0 -40px;
  font-size: 12px;
  line-height: 1.4;
}
body.app main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 16px;
}
body.app main > * {
  min-width: 0;
  max-width: 100%;
}
body.app .site-foot {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 12px;
}
.site-foot a {
  color: color-mix(in srgb, var(--muted) 78%, var(--bg));
  text-decoration: none;
}
.site-foot a:hover {
  color: var(--muted);
  text-decoration: underline;
}
main.page-form {
  max-width: 880px;
  justify-self: start;
}
.card, form.card, .panel, details.panel {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--peach) 48%, var(--line));
  border-radius: var(--radius);
  box-shadow: 0 14px 32px -16px rgba(90, 62, 40, 0.34);
  padding: 22px 22px 18px;
  margin-bottom: 18px;
  min-width: 0;
  max-width: 100%;
}
.panel.summary {
  background: linear-gradient(135deg, var(--lemon-soft), var(--cream) 55%, var(--peach-soft));
}
.panel.summary .kicker { margin-bottom: 8px; }
.panel.summary h2 { margin-bottom: 12px; }
.login-card {
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 32px 28px 24px;
}
.login-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  margin-bottom: 14px;
}
.login-card h1 { margin-bottom: 8px; }
.me-hero,
.me-card { max-width: none; }
.me-hero { padding: 28px; }
.me-id {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}
.me-copy { min-width: 0; }
.avatar,
.avatar-mark {
  border-radius: 999px;
  flex: 0 0 auto;
}
.avatar {
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  background: var(--cream);
}
.avatar-mark {
  display: grid;
  place-items: center;
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  font-weight: 700;
  line-height: 1;
}
.me-id .avatar,
.me-id .avatar-mark {
  width: 72px;
  height: 72px;
  font-size: 28px;
  box-shadow: 0 10px 24px -16px rgba(90, 62, 40, 0.55);
}
.me-name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}
.me-meta { margin: 4px 0 8px; }
.me-card > h2 { margin-bottom: 8px; }
.me-card > .muted { margin-top: 0; }
.login-card .muted { margin-bottom: 20px; }
button.slim {
  padding: 4px 12px;
  font-size: 13px;
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  font-weight: 500;
}
button.slim:hover { background: var(--cream); color: var(--ink); }
dialog {
  width: min(460px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 22px 70px -24px rgba(90, 62, 40, 0.35);
  padding: 22px 22px 16px;
}
dialog::backdrop { background: #4a3b3247; }
dialog h2 { margin-top: 0; }
h1 { font-size: 26px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; }
h2 { font-size: 17px; margin: 0 0 10px; font-weight: 650; }
h3 { font-size: 15px; margin: 16px 0 8px; font-weight: 650; }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 4px; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--lemon) 55%, white);
  outline-offset: 1px;
  border-color: color-mix(in srgb, var(--lemon) 50%, var(--line));
}
textarea { min-height: 120px; }
textarea.short { min-height: 72px; }
textarea.jd-text { min-height: 180px; }
input[type="checkbox"], input[type="radio"] { width: auto; }
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 4px 0 8px;
}
.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 18px;
}
.stat-row .muted { margin: 0; }
.stat-row .rec-score { margin: 4px 0 0; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
th, td { text-align: left; padding: 7px 6px; vertical-align: top; font-size: 13px; line-height: 1.45; border-bottom: 1px solid var(--line); }
th {
  background: var(--lemon-soft);
  font-weight: 650;
  box-shadow: none;
  border-bottom: 1px solid color-mix(in srgb, var(--lemon-deep) 28%, var(--line));
}
td { font-weight: normal; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--cream); }
.col-seq,
th.col-seq,
td.col-seq {
  width: 2.6rem;
  min-width: 2.2rem;
  max-width: 3rem;
  padding-left: 8px;
  padding-right: 4px;
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.list-stats {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.flash {
  background: var(--lemon-soft);
  border: 1px solid color-mix(in srgb, var(--lemon) 35%, var(--line));
  padding: 10px 14px;
  border-radius: 16px;
}
.update-bar {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 16px;
  right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  width: min(36rem, calc(100vw - 32px));
  margin: 0;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--lemon) 40%, var(--line));
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
.update-bar[hidden] { display: none !important; }
.update-bar p { margin: 0; flex: 1 1 12em; }
.update-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 auto;
}
.update-bar button { padding: 4px 12px; font-size: 13px; }
body.app .update-bar { left: 248px; width: min(36rem, calc(100vw - 264px)); }
body.app main > .update-bar { max-width: min(36rem, calc(100vw - 264px)); }
.error {
  background: var(--peach-soft);
  border: 1px solid color-mix(in srgb, var(--peach) 45%, var(--line));
  padding: 10px 14px;
  border-radius: 16px;
  color: var(--warn);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--cream);
  color: var(--ink);
  white-space: nowrap;
}
.badge.locked_pending, .badge.structure_failed, .badge.failed, .badge.cancelled, .badge.rejected { background: var(--peach-soft); color: var(--warn); }
.badge.unlocked, .badge.wechat_only, .badge.ready_for_rpa, .badge.succeeded, .badge.filled, .badge.onboarded, .badge.queued { background: var(--lemon-soft); color: var(--ok); }
.badge.pending, .badge.running { background: var(--peach-soft); color: var(--ink); }
.badge.structuring, .badge.dispatched, .badge.structured, .badge.open, .badge.holding, .badge.frozen, .badge.paused, .badge.pending_contact, .badge.contacting, .badge.contacted, .badge.declined_by_candidate, .badge.unreachable, .badge.recommended, .badge.interviewing, .badge.offer_pending, .badge.offer_accepted, .badge.waitlist { background: #f3e0c8; color: #8a5a38; }
.badge.round-wait { background: #f3e0c8; color: var(--ink); font-weight: 650; }
.badge.round-done { background: var(--lemon-soft); color: var(--ok); font-weight: 650; }
.badge.round-bad { background: var(--peach-soft); color: var(--warn); font-weight: 650; }
.badge.round-next { background: color-mix(in srgb, var(--lemon-soft) 42%, var(--peach-soft)); color: var(--lemon-deep); font-weight: 650; }
.badge.round-hold { background: var(--cream); color: var(--ink); font-weight: 650; border: 1px solid var(--line); }
.rpa-queue {
  margin: 12px 0 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--lemon) 40%, var(--line));
  background: linear-gradient(180deg, color-mix(in srgb, var(--lemon-soft) 78%, var(--card)), var(--card) 88px);
}
.rpa-queue .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.rpa-queue .form-actions form { margin: 0; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-actions form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.inline-actions input,
.inline-actions select { width: auto; min-width: 7rem; margin: 0; }
.inline-actions label { margin: 0; }
.overdue { color: var(--warn); font-weight: 700; }
td.overdue { background: var(--peach-soft); color: var(--warn); font-weight: 700; }
.muted { color: var(--muted); }
.panel > p,
.card > p { max-width: 52em; }
.task-sheet { max-width: none; min-width: 0; }
form.card { max-width: 880px; }
main.page-form form.card,
main.page-form .panel form { max-width: none; }
.panel form { max-width: 880px; }
.page-head {
  width: 100%;
  min-width: 0;
  margin: 0 0 20px;
}
.page-head h1 { margin: 0; }
.page-head .row-actions { width: 100%; margin: 0; }
.page-head .page-intro { margin: 6px 0 0; }
h1 + .page-intro,
main > .page-intro {
  margin-top: 0;
  margin-bottom: 20px;
}
main.page-person {
  max-width: none;
  min-width: 0;
}
.person-sheet { min-width: 0; max-width: 1080px; }
.person-head {
  background: linear-gradient(165deg, var(--card), var(--peach-soft) 140%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px 18px;
  margin-bottom: 16px;
  min-width: 0;
}
.person-head h1 { margin: 0 0 6px; overflow-wrap: anywhere; }
.person-place {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
  min-width: 0;
  font-size: 17px;
  line-height: 1.5;
}
.person-place a,
.person-place .person-co {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.person-place a { font-weight: 650; }
.person-now {
  margin: 6px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.person-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 10px 0 0;
  color: var(--muted);
}
.person-facts > span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.person-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
}
.person-trio > .panel { margin-bottom: 0; min-width: 0; }
.person-card > p {
  margin: 0 0 8px;
  max-width: none;
  overflow-wrap: anywhere;
}
.person-card > p:last-child { margin-bottom: 0; }
.person-card form { margin: 4px 0 0; }
.person-follow { max-width: 760px; min-width: 0; }
.person-follow .panel p,
.person-follow .plain li { overflow-wrap: anywhere; }
.panel.reading p { line-height: 1.75; margin: 0; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { margin: 0 0 10px; line-height: 1.6; }
.one-line { max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.req-summary {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 650;
  background: var(--cream);
  color: #8a5a38;
  white-space: normal;
}
.req-summary.ok { background: var(--lemon-soft); color: var(--ok); }
.req-summary.bad { background: var(--peach-soft); color: var(--warn); }
.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.tick {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.tick.ok { background: var(--lemon-soft); color: var(--ok); }
.tick.ok::before { content: "✓"; }
.tick.bad { background: var(--peach-soft); color: var(--warn); }
.tick.bad::before { content: "×"; }
.tick.look {
  flex-basis: auto;
  width: auto;
  height: auto;
  padding: 2px 8px;
  background: var(--cream);
  color: #8a5a38;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.req-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
  line-height: 1.45;
  padding-top: 1px;
}
.req-copy strong { font-weight: 650; overflow-wrap: anywhere; }
.req-got { color: var(--muted); overflow-wrap: anywhere; }
.req-fold { margin-top: 2px; }
.req-fold summary { font-size: 14px; font-weight: 650; color: var(--accent); }
.req-fold .req-list { margin-top: 10px; }
.req-rest { margin: 10px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.mark {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  background: var(--cream);
  color: #8a5a38;
  white-space: normal;
}
.stage-path {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.stage-path li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  position: relative;
  padding: 5px 0;
  color: var(--muted);
  line-height: 1.4;
}
.stage-path li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-1px);
}
.stage-path li:first-child::before { top: 50%; }
.stage-path li:last-child::before { bottom: 50%; }
.stage-dot {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  justify-self: center;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--muted) 42%, var(--line));
  background: var(--card);
}
.stage-path li.is-done { color: var(--ink); }
.stage-path li.is-done .stage-dot {
  border-color: var(--lemon);
  background: var(--lemon-soft);
}
.stage-path li.is-now { color: var(--ink); font-weight: 700; }
.stage-path li.is-now .stage-dot {
  border-color: var(--lemon-deep);
  background: var(--lemon);
  box-shadow: 0 0 0 3px var(--lemon-soft);
}
.stage-name { min-width: 0; overflow-wrap: anywhere; }
.stage-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.stage-side .badge {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 500;
}
.stage-side .badge.is-now.rejected {
  background: var(--peach-soft);
  color: var(--warn);
  border-color: transparent;
  font-weight: 650;
}
.stage-side .badge.is-now.declined_by_candidate,
.stage-side .badge.is-now.unreachable,
.stage-side .badge.is-now.waitlist {
  background: var(--cream);
  color: #8a5a38;
  border-color: transparent;
  font-weight: 650;
}
.stage-form > label { margin-top: 0; }
.stage-form .muted { margin: 6px 0 0; }
.stage-screen { margin: 10px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.people-screen {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.screen-reasons { margin-top: 14px; }
.screen-reasons h3 { margin: 0 0 8px; font-size: 15px; }
.screen-reasons .plain { margin: 0; }
.stage-save {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.stage-save select {
  width: auto;
  flex: 1 1 9rem;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.stage-save button { flex: 0 0 auto; }
.rec-reason { line-height: 1.65; }
@media (max-width: 720px) {
  .person-trio { grid-template-columns: minmax(0, 1fr); }
  .person-follow { max-width: none; }
}
.rec-line { display: flex; gap: 10px; align-items: baseline; margin: 0 0 8px; }
.rec-score { font-size: 22px; font-weight: 700; }
.mark.rec.A { background: var(--lemon-soft); color: var(--ok); }
.mark.rec.B { background: var(--cream); color: #8a5a38; }
.mark.rec.C { background: #f4ebe3; color: var(--muted); }
.level-dot {
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}
.level-dot.A { color: var(--ok); border-color: color-mix(in srgb, var(--lemon) 45%, var(--line)); background: var(--lemon-soft); }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions h1, .row-actions h2 { flex: 1; margin: 0; }
a { color: var(--accent); }
pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--cream);
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
}
.resume-preview {
  max-height: 320px;
  overflow: auto;
}
.suggest-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.suggest-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 82%, var(--cream));
  cursor: pointer;
}
.suggest-list label span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.suggest-list input { margin-top: 4px; }
details summary { cursor: pointer; font-weight: 700; font-size: 18px; }
details pre { margin-top: 12px; }
details.settings-fold {
  min-width: 0;
  max-width: 100%;
}
details.settings-fold > summary {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
  text-align: left;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: normal;
  cursor: pointer;
}
details.settings-fold[open] > summary { margin-bottom: 10px; }
.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0;
  margin: 4px 0 0;
}
.notice-list li.notice-item { padding: 0; margin: 0; }
.notice-list .notice-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--cream) 46%, var(--card));
  color: inherit;
}
.notice-list a.notice-card {
  text-decoration: none;
  cursor: pointer;
}
.notice-list a.notice-card:hover {
  background: var(--cream);
}
.notice-list a.notice-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lemon) 55%, white);
  outline-offset: 2px;
}
.notice-list .notice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}
.notice-list .notice-seq {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.notice-list .notice-title {
  display: inline;
  flex: 1 1 12rem;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
.notice-list .notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.notice-list .notice-meta .muted { line-height: 1.45; }
.notice-list .notice-to {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.notice-list .notice-body {
  margin: 0;
  max-width: none;
  line-height: 1.65;
}
.notice-list li.notice-system .notice-card {
  background: var(--lemon-soft);
  box-shadow: inset 3px 0 0 var(--lemon);
}
.notice-list li.notice-other .notice-card {
  background: var(--peach-soft);
  box-shadow: inset 3px 0 0 var(--peach);
}
.notice-list li.notice-system a.notice-card:hover {
  background: color-mix(in srgb, var(--lemon-soft) 70%, var(--cream));
}
.notice-list li.notice-other a.notice-card:hover {
  background: color-mix(in srgb, var(--peach-soft) 72%, var(--cream));
}
.notice-list li.is-unread.notice-system .notice-card {
  background: color-mix(in srgb, var(--lemon-soft) 82%, var(--card));
  box-shadow: inset 3px 0 0 var(--lemon-deep);
}
.notice-list li.is-unread.notice-other .notice-card {
  background: color-mix(in srgb, var(--peach-soft) 78%, var(--card));
  box-shadow: inset 3px 0 0 var(--peach);
}
.notice-list li.is-unread.notice-system a.notice-card:hover {
  background: color-mix(in srgb, var(--lemon-soft) 64%, var(--cream));
}
.notice-list li.is-unread.notice-other a.notice-card:hover {
  background: color-mix(in srgb, var(--peach-soft) 62%, var(--cream));
}
.notice-list li.notice-system.notice-info .notice-card {
  background: color-mix(in srgb, var(--cream) 70%, var(--card));
  box-shadow: none;
}
.notice-list li.notice-system.notice-info a.notice-card:hover {
  background: var(--cream);
}
.notice-list .notice-flag {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
}
.notice-list .notice-flag-action {
  background: var(--peach-soft);
  color: var(--warn);
  font-weight: 650;
}
.notice-list .notice-flag-info {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  padding-left: 0;
  padding-right: 0;
}
.notice-list .unread-mark {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--peach-soft);
  color: var(--warn);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.today-generate-stats { margin-top: 10px; padding-top: 12px; padding-bottom: 12px; }
.today-stats-heading {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}
.today-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.today-stats-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}
.today-stats-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.today-stats-name { color: var(--ink); font-weight: 650; }
.today-stats-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.today-status { margin-top: 8px; }
.today-status-line { margin: 0 0 8px; line-height: 1.55; }
.today-meta { margin-top: 4px; padding-top: 14px; padding-bottom: 14px; }
.today-meta-line { margin: 0 0 4px; color: var(--muted); line-height: 1.5; }
.today-meta-avail { margin: 8px 0 0; line-height: 1.55; color: var(--ink); }
.today-meta .muted { margin: 0; }
.today-block { margin-top: 12px; }
.today-block h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
}
.today-list {
  margin: 0;
  padding-left: 1.25em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.today-list.plain { list-style: none; padding-left: 0; }
.today-list li { line-height: 1.55; }
.today-list a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.today-sublist {
  margin: 8px 0 0;
  padding-left: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
}
.today-sublist li { line-height: 1.5; }
.today-prose { margin: 0 0 8px; line-height: 1.65; white-space: pre-wrap; }
.today-prose:last-child { margin-bottom: 0; }
.today-notes {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.today-advice {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.today-advice-item {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--cream) 40%, var(--card));
}
.today-advice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.today-advice-body {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.55;
  color: var(--ink);
}
.today-advice-forward { display: none; }
.today-foot { margin: 16px 0 0; font-size: 13px; }
button.text-btn {
  margin: 0;
  padding: 2px 8px;
  border: 0;
  background: transparent;
  color: var(--lemon-deep);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
button.text-btn:hover { text-decoration: underline; }
.page-intro { margin: 0 0 20px; max-width: 48em; }
.job-next {
  position: sticky;
  top: var(--phone-chrome-h);
  z-index: 3;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: var(--job-next-h);
  margin: 0;
  padding: 8px 0 12px;
  background: var(--bg);
  line-height: 1.5;
}
.job-next a {
  min-width: 0;
  max-width: 100%;
  color: var(--lemon-deep);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.job-next a:hover { text-decoration: underline; }
.page-jumps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
  margin: 0 0 22px;
  max-width: 100%;
  min-width: 0;
  line-height: 1.7;
}
.page-jumps a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.page-jumps a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.page-band {
  display: flow-root;
  margin: 0 0 36px;
  min-width: 0;
  max-width: 100%;
}
.page-band > h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.page-band .panel,
.page-band details.panel { margin-bottom: 12px; }
.page-band .panel:last-child,
.page-band details.panel:last-child { margin-bottom: 0; }
.jd-files { margin-top: 14px; }
.jd-files h2 { margin-bottom: 8px; }
.jd-files ul,
.jd-files p { margin: 0; }
.structure-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
}
.structure-line p {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.structure-line form {
  width: auto;
  max-width: 100%;
  margin: 0;
  flex: 0 1 auto;
}
.structure-line .error { flex: 1 0 100%; }
.page-band,
.panel,
details.panel { scroll-margin-top: calc(var(--phone-chrome-h) + var(--job-next-h) + var(--job-stick-gap)); }
.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lemon-deep);
}
.section-title { margin: 22px 0 12px; }
.home-next {
  border-color: color-mix(in srgb, var(--lemon) 42%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lemon-soft) 78%, var(--card)), var(--card) 92px);
}
.home-next h2 { margin-bottom: 14px; }
.home-next > .muted { margin: 0 0 14px; }
.steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 82%, var(--cream));
  border: 1px solid var(--line);
}
.steps li:last-child { margin-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.steps strong { display: block; font-weight: 650; }
.steps .muted { display: block; margin-top: 2px; }
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.home-next .home-actions { margin-top: 4px; }
.stuck-jobs { margin-bottom: 20px; }
.stuck-jobs h2 { margin-bottom: 14px; }
.stuck-jobs .stuck-reason { font-weight: 650; }
.stuck-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stuck-list li {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 82%, var(--cream));
  border: 1px solid var(--line);
}
.stuck-list li:last-child { margin-bottom: 0; }
.stuck-list .stuck-title,
.stuck-list .stuck-reason,
.stuck-list .muted {
  margin: 0;
}
.stuck-list .stuck-title {
  font-weight: 650;
  line-height: 1.45;
}
.stuck-list .muted { margin-top: 2px; }
.stuck-list .stuck-reason {
  margin-top: 4px;
  font-weight: 650;
}
.stuck-more { margin: 12px 0 0; }
.panel-next {
  border-color: color-mix(in srgb, var(--lemon) 45%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lemon-soft) 80%, var(--card)), var(--card) 78px);
}
.panel-next .kicker { margin-bottom: 4px; }
.assign-form input,
.assign-form textarea { max-width: 420px; }
.assign-form select { max-width: 560px; }
.contact-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.table-card,
.table-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  margin: 0 0 8px;
}
.table-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.table-scroll { margin: 0; }
.table-card table,
.table-scroll table {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  table-layout: auto;
  overflow: visible;
}
.table-card table {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
}
.table-card th,
.table-card td,
.table-scroll th,
.table-scroll td {
  width: auto;
  min-width: 0;
  max-width: none;
  padding: 7px 6px;
  text-align: left;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  white-space: nowrap;
}
.table-card th,
.table-scroll th {
  position: relative;
  font-weight: 650;
  text-align: left;
}
.table-card td,
.table-scroll td {
  white-space: normal;
}
.table-card th,
.table-card td,
.table-scroll th,
.table-scroll td,
table th,
table td,
a.th-sort {
  font-size: 13px;
}
.table-card th,
.table-scroll th,
table th,
a.th-sort {
  font-weight: 650;
}
.table-card td,
.table-scroll td,
table td {
  font-weight: normal;
}
.table-card .badge,
.table-scroll .badge,
td .badge,
th .badge {
  font-size: 12px;
}
.table-card th.col-text,
.table-scroll th.col-text {
  white-space: normal;
  word-break: keep-all;
}
.table-card td.col-text,
.table-scroll td.col-text {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}
.when-cell .muted {
  display: inline-block;
  margin: 0 8px 0 0;
  font-size: 13px;
}
.when-cell .round-lines,
.when-cell .round-line {
  display: block;
  margin: 0;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.when-cell .round-lines { margin: 0 0 6px; }
.when-cell .round-line { line-height: 1.45; }
.when-form {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  white-space: nowrap;
}
.when-form input[type="datetime-local"],
.when-form select {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 10px;
  flex: 0 0 auto;
}
.when-form input[type="datetime-local"] {
  min-width: 0;
  max-width: 11rem;
}
.when-form select { min-width: 0; max-width: 6.5rem; }
.when-form button {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 12px;
  font-size: 13px;
}
.interview-board {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.interview-person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
  padding: 8px 10px 6px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.interview-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 6px;
  min-width: 0;
  max-width: 100%;
}
.interview-who .who-seq {
  flex: 0 0 auto;
  min-width: 1.4rem;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.interview-who .who-item {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
}
.interview-who .who-job {
  flex: 1 1 14rem;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 4px 6px;
  overflow: hidden;
}
.interview-who .who-k {
  display: inline;
  flex: 0 0 auto;
  margin: 0;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  color: var(--muted);
}
.interview-who .who-v {
  display: inline;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  word-break: keep-all;
  writing-mode: horizontal-tb;
}
.interview-who .who-job .who-v {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.interview-rounds.table-card {
  margin: 0;
  overflow-x: visible;
  background: color-mix(in srgb, var(--cream) 55%, var(--card));
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}
.interview-rounds .when-form { display: none; }
.interview-rounds table {
  table-layout: fixed;
  width: 100%;
}
.interview-rounds th:nth-child(1),
.interview-rounds td:nth-child(1) { width: 4.2rem; }
.interview-rounds th:nth-child(2),
.interview-rounds td:nth-child(2) { width: 11.5rem; }
.interview-rounds th:nth-child(3),
.interview-rounds td:nth-child(3) { width: 5.2rem; }
.interview-rounds th:nth-child(4),
.interview-rounds td:nth-child(4) { width: 5.2rem; }
.interview-rounds th:nth-child(5),
.interview-rounds td:nth-child(5) { width: auto; }
.interview-rounds th,
.interview-rounds td {
  padding: 4px 4px;
  font-size: 12px;
}
.interview-rounds input[type="datetime-local"] {
  width: 100%;
  min-width: 0;
  max-width: 11rem;
  padding: 3px 4px;
  font-size: 12px;
  border-radius: 8px;
}
.interview-rounds select.round-pick {
  width: 100%;
  min-width: 0;
  max-width: 6.5rem;
  padding: 3px 6px;
  font-size: 12px;
  font-weight: 650;
  border-radius: 999px;
}
.interview-rounds select.round-pick.round-wait { background: #f3e0c8; color: var(--ink); }
.interview-rounds select.round-pick.round-done { background: var(--lemon-soft); color: var(--ok); }
.interview-rounds select.round-pick.round-bad { background: var(--peach-soft); color: var(--warn); }
.interview-rounds select.round-pick.round-next { background: color-mix(in srgb, var(--lemon-soft) 42%, var(--peach-soft)); color: var(--lemon-deep); }
.interview-rounds select.round-pick.round-hold { background: var(--cream); color: var(--ink); }
.interview-rounds td.round-result {
  white-space: nowrap;
}
.interview-rounds td.round-result .round-pick {
  display: inline-block;
  vertical-align: middle;
  max-width: 6.2rem;
}
.interview-rounds td.round-result .badge {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}
.interview-rounds td.round-result button {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 4px;
  padding: 3px 8px;
  font-size: 12px;
}
@media (min-width: 960px) {
  .interview-rounds.table-card {
    overflow-x: visible;
  }
}
@media (max-width: 959px) {
  .interview-board { gap: 6px; }
  .interview-person { padding: 6px 8px 5px; }
  .interview-who {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 8px;
  }
  .interview-who .who-item:not(.who-job) {
    flex: 0 1 auto;
    min-width: 0;
  }
  .interview-who .who-job {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  .interview-who .who-k,
  .interview-who .who-v {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
  .interview-who .who-item:not(.who-job) .who-v {
    word-break: keep-all;
    white-space: normal;
  }
  .interview-rounds.table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .interview-rounds table {
    table-layout: fixed;
    width: max(100%, 28rem);
    min-width: 100%;
  }
  .interview-rounds th:nth-child(1),
  .interview-rounds td:nth-child(1) { width: 3.6rem; }
  .interview-rounds th:nth-child(2),
  .interview-rounds td:nth-child(2) { width: 9.5rem; }
  .interview-rounds th:nth-child(3),
  .interview-rounds td:nth-child(3) { width: 4.6rem; }
  .interview-rounds th:nth-child(4),
  .interview-rounds td:nth-child(4) { width: 4.6rem; }
  .interview-rounds th:nth-child(5),
  .interview-rounds td:nth-child(5) { width: auto; min-width: 7.5rem; }
  .interview-rounds input[type="datetime-local"],
  .interview-rounds select.round-pick {
    max-width: 100%;
  }
  .interview-rounds th,
  .interview-rounds td,
  .interview-rounds button,
  .interview-rounds select,
  .interview-rounds input,
  .interview-rounds .badge {
    font-size: 12px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    word-break: keep-all;
  }
}
.table-card .col-text,
.table-scroll .col-text {
  width: auto;
  max-width: none;
  min-width: 0;
}
.keep-line {
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.work-sheet table {
  width: max-content;
  min-width: 100%;
}
.work-sheet th,
.work-sheet td,
.work-sheet a.th-sort,
.work-sheet .th-head {
  font-size: 14px;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  overflow: visible;
}
.work-sheet a.th-sort,
.work-sheet .th-head {
  flex-wrap: nowrap;
}
.table-card td.col-text > .keep-line {
  display: inline-block;
  margin-top: 2px;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.when-cell .muted.keep-line {
  display: block;
  margin: 2px 0 0;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.audit-more { margin: 12px 0 0; }
.table-scroll .audit-what {
  white-space: pre-line;
  vertical-align: top;
  line-height: 1.5;
  min-width: 16rem;
  width: auto;
  max-width: none;
  font-size: 14px;
  font-weight: normal;
}
.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}
.table-card td.empty,
.table-card td[colspan],
.table-scroll td.empty,
.table-scroll td[colspan] {
  width: auto;
  max-width: none;
  white-space: normal;
}
.people-sheet.table-scroll table {
  width: max-content;
  min-width: 100%;
  max-width: none;
}
.people-sheet.table-scroll th,
.people-sheet.table-scroll td {
  width: auto;
  max-width: none;
  white-space: nowrap;
  vertical-align: middle;
  word-break: keep-all;
}
.people-sheet.table-scroll td.empty,
.people-sheet.table-scroll td[colspan] {
  white-space: normal;
  word-break: normal;
}
.people-sheet .level-dot { margin-left: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.table-card tbody tr:hover td {
  background: var(--cream);
}
.table-card tbody tr.click:hover td {
  background: var(--lemon-soft);
}
th.sortable { padding: 0; }
th.sortable:hover { background: color-mix(in srgb, var(--lemon-soft) 72%, var(--cream)); }
th[aria-sort] {
  box-shadow: inset 0 -2px 0 var(--lemon-deep);
}
a.th-sort {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  width: auto;
  gap: 6px;
  flex-wrap: nowrap;
  padding: 7px 6px;
  color: inherit;
  text-decoration: none;
  text-align: left;
  font-size: 14px;
  font-weight: 650;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  white-space: nowrap;
}
a.th-sort:hover,
a.th-sort.is-asc,
a.th-sort.is-desc { color: var(--lemon-deep); }
.th-head {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  max-width: none;
  padding: 12px 10px 12px 6px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
  word-break: keep-all;
  overflow: visible;
}
.th-head .th-sort { padding: 0; }
.th-help,
button.th-help {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  overflow: visible;
  vertical-align: middle;
  cursor: pointer;
}
.th-help::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.th-help:hover,
button.th-help:hover,
.th-help:focus-visible,
button.th-help:focus-visible {
  color: var(--lemon-deep);
  background: var(--lemon-soft);
  border-color: color-mix(in srgb, var(--lemon) 40%, var(--line));
  outline: none;
}
.th-help:focus-visible,
button.th-help:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lemon) 55%, white);
  outline-offset: 1px;
}
.th-help.is-open,
button.th-help.is-open {
  color: var(--lemon-deep);
  background: var(--lemon-soft);
  border-color: color-mix(in srgb, var(--lemon) 50%, var(--line));
  box-shadow: inset 0 1px 2px rgba(90, 62, 40, 0.16);
}
.work-help-pop {
  position: fixed;
  z-index: 24;
  box-sizing: border-box;
  width: max-content;
  max-width: min(320px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-break: break-word;
}
.work-help-pop[hidden] { display: none; }
.work-help-pop-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
.work-help-pop-body {
  margin: 0;
  color: var(--ink);
}
.col-resizer {
  display: none;
}
@media (min-width: 960px) {
  .col-resizer {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    z-index: 2;
  }
  .col-resizer:hover,
  body.is-col-resizing .col-resizer:hover {
    background: color-mix(in srgb, var(--lemon) 28%, transparent);
  }
  body.is-col-resizing,
  body.is-col-resizing * {
    cursor: col-resize !important;
    user-select: none !important;
  }
}
th.sortable.col-text .th-sort {
  white-space: normal;
  flex-wrap: wrap;
  word-break: keep-all;
  max-width: 100%;
}
.people-sheet .th-sort {
  flex-wrap: nowrap;
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.people-sheet th {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;
}
@media (max-width: 959px) {
  .people-sheet.table-scroll th.col-entered,
  .people-sheet.table-scroll td.col-entered {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 14px;
  }
  .people-sheet.table-scroll th.col-entered .th-sort {
    white-space: normal;
    flex-wrap: wrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 14px;
  }
}
.guidance-card {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--cream) 70%, var(--card));
  border: 1px solid var(--line);
}
.guidance-card h3 { margin: 0 0 8px; font-size: 15px; }
.guidance-bits { margin: 8px 0 0; }
.guidance-bits li { margin: 0 0 4px; }
.round-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 14px 0;
}
.round-compare h3 { margin: 0 0 6px; font-size: 14px; }
.jd-suggest {
  margin: 12px 0 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--lemon-soft) 55%, var(--card));
}
.jd-suggest h3 { margin: 0 0 6px; font-size: 14px; }
.badge.vendor-grade,
.badge.priority {
  white-space: nowrap;
  font-weight: 650;
}
.badge.vendor-grade {
  background: color-mix(in srgb, var(--peach-soft) 80%, var(--card));
  color: var(--ink);
}
.badge.priority {
  background: var(--lemon-soft);
  color: var(--ok);
}
@media (max-width: 720px) {
  .round-compare { grid-template-columns: 1fr; }
}
.duplicate-review,
.duplicate-review th,
.duplicate-review td,
.duplicate-review .keep-line {
  font-size: 14px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
}
.duplicate-review .review-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}
.duplicate-review .review-actions form {
  margin: 0;
}
.people-sheet a.badge {
  text-decoration: none;
}
.people-sheet a.badge:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 40%, transparent);
}
td.empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--muted);
  background: color-mix(in srgb, var(--cream) 70%, var(--card));
}
.form-actions {
  display: flex;
  gap: 12px 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}
.voice-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 8px 0 0;
}
.voice-row button[aria-pressed="true"] {
  border-color: var(--peach);
  color: var(--warn);
}
.voice-msg {
  margin: 0;
  font-size: 13px;
}
.phone-chrome,
.phone-tabbar {
  display: none;
}
@media (max-width: 959px) {
  body.app {
    --phone-chrome-h: 52px;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    --phone-tab-h: 56px;
  }
  body.app:has(.phone-sub) {
    --phone-chrome-h: 104px;
  }
  .sidebar { display: none; }
  .phone-chrome {
    display: block;
    position: sticky;
    top: 0;
    z-index: 4;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--peach) 35%, var(--line));
  }
  .phone-top {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 6px 12px 2px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .phone-top .brand { padding: 4px 4px 6px; }
  .phone-sub {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0 12px 10px;
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    writing-mode: horizontal-tb;
  }
  .phone-sub::-webkit-scrollbar { height: 0; display: none; }
  .phone-sub form { flex: 0 0 auto; margin: 0; }
  .phone-sub a,
  .phone-sub button.text-logout {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    min-height: 32px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
  }
  .phone-sub button.text-logout { color: var(--muted); font-weight: 500; cursor: pointer; }
  .phone-sub a:hover,
  .phone-sub button.text-logout:hover { background: var(--peach-soft); color: var(--ink); }
  .phone-sub a.is-current {
    background: var(--lemon-soft);
    color: var(--lemon-deep);
    font-weight: 700;
    border-color: color-mix(in srgb, var(--lemon) 45%, var(--line));
  }
  .phone-tabbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    box-sizing: border-box;
    height: var(--phone-tab-h);
    height: calc(var(--phone-tab-h) + constant(safe-area-inset-bottom));
    height: calc(var(--phone-tab-h) + env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 4px 2px 0;
    padding-left: max(2px, env(safe-area-inset-left, 0px));
    padding-right: max(2px, env(safe-area-inset-right, 0px));
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
    writing-mode: horizontal-tb;
    background: color-mix(in srgb, var(--paper) 96%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid color-mix(in srgb, var(--peach) 35%, var(--line));
  }
  .phone-tabbar a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 6px 0;
    border-radius: 14px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 550;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    overflow: hidden;
  }
  .phone-tabbar .nav-link-text,
  .phone-tabbar .nav-count {
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
  }
  .phone-tabbar a:hover { background: var(--peach-soft); }
  .phone-tabbar a.is-current {
    background: var(--lemon-soft);
    color: var(--lemon-deep);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--lemon-deep);
  }
  .phone-tabbar a.is-current:hover {
    background: color-mix(in srgb, var(--lemon-soft) 72%, var(--peach-soft));
  }
  @media (max-width: 360px) {
    .phone-tabbar a { padding: 6px 1px; font-size: 12px; gap: 2px; }
  }
  header.guest { padding: 12px 16px 8px; }
  body.app .update-bar { left: 12px; width: min(36rem, calc(100vw - 24px)); }
  body.app main > .update-bar { max-width: min(36rem, calc(100vw - 24px)); }
  main { padding: 24px 16px 48px; overflow-x: clip; }
  .table-card,
  .table-scroll {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
    direction: ltr;
    text-align: left;
    -webkit-overflow-scrolling: touch;
  }
  .table-card table,
  .table-scroll table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: auto;
  }
  .library-sheet.table-card table {
    width: 100%;
    min-width: min-content;
    max-width: none;
  }
  .table-card th,
  .table-card td,
  .table-scroll th,
  .table-scroll td,
  .table-card a.th-sort,
  .table-scroll a.th-sort,
  table th,
  table td,
  a.th-sort {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 5px 5px;
    font-size: 13px;
    line-height: 1.35;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: left;
    overflow: visible;
  }
  .list-stats {
    line-height: 1.45;
    white-space: normal;
  }
  .table-card th,
  .table-scroll th,
  table th,
  .table-card a.th-sort,
  .table-scroll a.th-sort,
  a.th-sort {
    font-weight: 650;
  }
  .table-card td,
  .table-scroll td,
  table td {
    font-weight: normal;
  }
  .table-card .badge,
  .table-scroll .badge,
  td .badge,
  th .badge {
    font-size: 12px;
  }
  .table-card td.col-text,
  .table-scroll td.col-text,
  .table-card .col-text,
  .table-scroll .col-text {
    width: auto;
    max-width: none;
    min-width: 0;
    font-size: 14px;
    white-space: normal;
    word-break: normal;
  }
  .table-scroll:has(.audit-what) {
    overflow-x: auto;
    max-width: 100%;
    min-width: 0;
  }
  .table-scroll:has(.audit-what) table {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    table-layout: fixed;
  }
  .table-scroll:has(.audit-what) th:first-child,
  .table-scroll:has(.audit-what) td:first-child {
    width: calc(13ch + 12px);
    min-width: calc(13ch + 12px);
    max-width: calc(13ch + 12px);
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: left;
    font-size: 14px;
  }
  .table-scroll:has(.audit-what) th:first-child {
    font-weight: 650;
  }
  .table-scroll:has(.audit-what) td:first-child {
    font-weight: normal;
  }
  .table-scroll:has(.audit-what) th:first-child a.th-sort {
    width: auto;
    max-width: 100%;
    white-space: normal;
    flex-wrap: wrap;
    word-break: keep-all;
    font-size: 14px;
    font-weight: 650;
    writing-mode: horizontal-tb;
  }
  .table-scroll:has(.audit-what) .audit-what {
    min-width: 0;
    width: auto;
    max-width: none;
    font-size: 14px;
    font-weight: normal;
    white-space: pre-line;
  }
  .site-foot { margin-bottom: -28px; }
  body.app main {
    display: block;
    min-height: 0;
    padding-bottom: var(--phone-tab-h);
    padding-bottom: calc(var(--phone-tab-h) + constant(safe-area-inset-bottom));
    padding-bottom: calc(var(--phone-tab-h) + env(safe-area-inset-bottom, 0px));
  }
  body.app .site-foot {
    margin: 16px 0 0;
    padding-top: 0;
  }
  main.page-form { max-width: none; }
}
@media (max-width: 720px) {
  .grid, .stat-row { grid-template-columns: 1fr; }
  h1 { font-size: 24px; }
  .me-name { font-size: 24px; }
  .assign-form select,
  .assign-form input,
  .assign-form textarea { max-width: none; }
}
body.is-login { overflow-x: clip; }
body.is-login header.guest { display: none; }
main.page-login {
  position: relative;
  max-width: none;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}
main.page-login .site-foot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42.5%;
  min-width: 280px;
  margin: 0;
  padding: 0 24px 14px;
  text-align: center;
  z-index: 2;
}
main.page-login > .flash { margin: 16px 16px 0; }
main.page-login > .update-bar { left: 16px; width: min(36rem, calc(100vw - 32px)); }
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
}
.login-intro {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 64px 72px 72px;
  background:
    radial-gradient(ellipse at 16% 10%, rgba(231, 160, 142, 0.42), transparent 44%),
    radial-gradient(ellipse at 82% 24%, rgba(125, 154, 74, 0.2), transparent 46%),
    linear-gradient(165deg, #f7efe4 0%, #f3e6d4 56%, #e9f0d4 100%);
}
.login-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.login-intro-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 520px;
}
.login-intro .login-mark {
  width: 72px;
  height: 72px;
  margin: 0 0 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.login-intro h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.login-ver {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.login-lead {
  margin: 12px 0 0;
  max-width: 22em;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 48px 40px;
  background:
    radial-gradient(ellipse at 80% 100%, rgba(231, 160, 142, 0.16), transparent 52%),
    var(--paper);
}
.login-panel .login-card {
  width: min(400px, 100%);
  max-width: 400px;
  margin: 0;
}
.login-panel .login-card h2 { margin-bottom: 4px; font-size: 22px; }
.password-field { position: relative; }
.password-field input {
  min-height: 46px;
  padding-right: 50px;
}
.password-field input::-ms-reveal,
.password-field input::-ms-clear { display: none; }
.password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 13px 13px 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  line-height: 0;
  cursor: pointer;
}
.password-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.password-toggle .icon-hide { display: none; }
.password-toggle[aria-pressed="true"] .icon-show { display: none; }
.password-toggle[aria-pressed="true"] .icon-hide { display: block; }
.password-toggle[aria-pressed="true"] { color: var(--lemon-deep); }
.password-toggle:hover {
  background: color-mix(in srgb, var(--lemon-soft) 72%, white);
  color: var(--lemon-deep);
}
.password-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--lemon) 55%, white);
  outline-offset: 1px;
}
.login-panel .form-actions { margin-top: 18px; }
.login-panel .form-actions button { width: 100%; }
@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  main.page-login .site-foot {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 4px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
  }
  .login-intro {
    align-items: flex-start;
    padding: 28px 20px 12px;
  }
  .login-intro h1 { font-size: 34px; }
  .login-lead { font-size: 15px; }
  .login-intro .login-mark { width: 56px; height: 56px; margin-bottom: 12px; }
  .login-panel {
    align-items: stretch;
    padding: 8px 16px 12px;
  }
  .login-panel .login-card { width: 100%; max-width: none; }
}
form.list-find {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  position: static;
  z-index: auto;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
form.list-find input[type="hidden"] { display: none; }
form.list-find input[name="q"] {
  width: 12rem;
  max-width: 100%;
  flex: 0 1 12rem;
  margin: 0;
  padding: 8px 12px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
form.list-find .list-find-picks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  writing-mode: horizontal-tb;
}
form.list-find select {
  width: auto;
  min-width: 7.5rem;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px;
  line-height: 1.4;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.view-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.view-switch-scope { margin-bottom: 8px; }
.self-follow { margin: 0 0 16px; }
.self-follow .form-actions { margin-top: 8px; }
.mine-queue { padding: 16px 20px; }
.mine-line { margin: 0; font-weight: 650; }
.view-switch a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.view-switch a:hover { background: var(--peach-soft); }
.view-switch a.is-current {
  background: var(--lemon-soft);
  color: var(--lemon-deep);
  border-color: color-mix(in srgb, var(--lemon) 45%, var(--line));
}
.work-page > h1 {
  margin: 0 0 14px;
  font-weight: 700;
}
.work-page > h1 .th-head { padding: 0; }
.work-page > .page-intro { margin: 0 0 16px; }
.work-block > h2 {
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 650;
}
.work-block:first-of-type > h2 { margin-top: 6px; }
.work-block { min-width: 0; }
.work-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 12px;
}
.work-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0;
  min-width: 0;
}
.work-chart-options {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.work-filters > button.primary {
  margin: 10px 0 0;
}
.work-toolbar .work-span,
.work-toolbar form.list-find { margin: 0; }
.work-toolbar .work-span select,
.work-toolbar input[name="q"] {
  box-sizing: border-box;
  height: 38px;
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.2;
}
.work-toolbar .view-switch a {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
}
.work-filters {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.work-filters input[type="hidden"] { display: none; }
.work-pick-set {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 12px;
  margin: 0;
  padding: 8px 0;
  min-width: 0;
}
.work-pick-set + .work-pick-set {
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, white);
}
.work-pick-label,
.work-pick-group,
.work-pick-boxes label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.work-pick-label {
  flex: 0 0 6.6em;
  margin: 1px 0 0;
  padding: 0;
}
.work-pick-boxes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  flex: 1 1 16rem;
  min-width: 0;
}
.work-pick-boxes label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  writing-mode: horizontal-tb;
}
.work-pick-boxes label:focus-within {
  outline: 2px solid color-mix(in srgb, var(--lemon) 55%, white);
  outline-offset: 2px;
  border-radius: 8px;
}
.work-pick-boxes input[type="checkbox"],
.work-pick-boxes input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--lemon-deep);
  flex: 0 0 auto;
}
.work-pick-group {
  flex: 1 0 100%;
  margin: 6px 0 0;
  padding: 0;
}
.work-chart-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  writing-mode: horizontal-tb;
}
.work-span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.work-span .view-switch { margin: 0; }
.work-span form {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.work-span select {
  width: auto;
  min-width: 9rem;
  max-width: 100%;
  margin: 0;
  padding: 6px 12px;
  line-height: 1.4;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.work-chart h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 650;
}
.work-chart { min-width: 0; }
.work-chart > .muted { margin: 0 0 14px; max-width: 40em; }
.work-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.work-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.work-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(74, 59, 50, 0.15);
}
.work-swatch.is-level {
  width: 18px;
  height: 0;
  border-radius: 0;
  background: none;
  border-top: 2px dashed;
  box-shadow: none;
}
.work-chart-scroll {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}
.work-chart-scroll svg {
  display: block;
  width: 100%;
  height: 376px;
  max-width: none;
  overflow: visible;
}
.work-chart svg text {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 12px;
}
.work-chart .work-tip { opacity: 0; pointer-events: none; }
.work-chart .work-pt:hover .work-tip,
.work-chart .work-pt:focus .work-tip,
.work-chart .work-pt:focus-visible .work-tip { opacity: 1; }
.work-chart .work-pt:focus { outline: none; }
.work-chart .work-pt:focus-visible .work-dot { stroke: #4a3b32; stroke-width: 2.5px; }
.work-chart .work-level {
  stroke-dasharray: 6 4;
  stroke-width: 2px;
}
.work-chart .work-pt:focus-visible .work-level { stroke-width: 3px; }
.work-chart-empty {
  margin: 4px 0 2px;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
}
@media (max-width: 959px) {
  .work-toolbar { flex-direction: column; align-items: stretch; }
  .work-toolbar .work-period,
  .work-toolbar .work-span,
  .work-toolbar form.list-find {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }
  .work-page,
  .work-block {
    display: block;
    height: auto;
    min-height: 0;
  }
  .work-toolbar .work-span { align-items: stretch; }
  .work-toolbar .work-span form,
  .work-toolbar .work-span select,
  .work-toolbar input[name="q"],
  .work-toolbar .view-switch { width: 100%; max-width: 100%; }
  .work-toolbar .view-switch a { flex: 1 1 0; justify-content: center; }
  .work-period { align-items: stretch; }
  .work-chart-options,
  .work-filters {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    align-self: auto;
    height: auto;
    min-height: 0;
    writing-mode: horizontal-tb;
  }
  .work-filters > button.primary {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 8px 0 0;
    position: static;
    flex: 0 0 auto;
    font-size: 15px;
    writing-mode: horizontal-tb;
  }
  .work-pick-set {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    height: auto;
    min-height: 0;
    padding: 6px 0;
  }
  .work-pick-label {
    flex: 0 0 auto;
    flex-basis: auto;
    font-size: 13px;
  }
  .work-pick-boxes {
    display: flex;
    flex: 0 0 auto;
    flex-grow: 0;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
    gap: 6px 10px;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }
  .work-pick-boxes label {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 4px 2px;
    font-size: 13px;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
  }
  .work-pick-boxes input[type="checkbox"],
  .work-pick-boxes input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 16px;
    min-height: 16px;
    flex: 0 0 auto;
  }
  .work-chart-scroll svg {
    width: max(100%, var(--plot-min, 0px));
    min-width: var(--plot-min, 0px);
    height: 376px;
  }
}
@media (max-width: 720px) {
  .work-chart,
  .work-chart .muted,
  .work-legend li,
  .work-chart-empty {
    font-size: 15px;
  }
  .work-pick-label,
  .work-pick-group,
  .work-pick-boxes label,
  .work-chart-note {
    font-size: 13px;
  }
  .work-chart svg text {
    font-size: 12px;
  }
  .work-chart .work-level { stroke-width: 2.5px; }
}
.place-list { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.place-list span { white-space: normal; }
.library-sheet.table-card table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 959px) {
  .library-sheet.table-card table {
    width: 100%;
    min-width: min-content;
    max-width: none;
  }
}
.library-sheet.table-card th.place-meta,
.library-sheet.table-card td.place-meta {
  width: auto;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  text-align: left;
  overflow: visible;
}
.library-sheet.table-card th.place-meta { font-weight: 650; }
.library-sheet.table-card th.col-entered,
.library-sheet.table-card td.col-entered {
  width: auto;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  text-align: left;
  overflow: visible;
}
.library-sheet.table-card th.col-entered .th-sort,
.library-sheet.table-card th.place-meta .th-sort {
  white-space: nowrap;
  flex-wrap: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  word-break: keep-all;
  text-align: left;
  font-weight: 650;
}
.library-sheet .place-meta .place-list,
.library-sheet .place-meta .place-list span {
  white-space: nowrap;
  word-break: keep-all;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}
.library-sheet td.col-text .place-list span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
}
