/* ==========================================================================
   远川科技 · 招聘系统交互原型
   Design tokens / shared UI / public website / admin workspace
   ========================================================================== */

:root {
  --ink: #14251f;
  --ink-soft: #2c3f37;
  --muted: #6d7872;
  --muted-light: #9aa39d;
  --paper: #f5f1e7;
  --paper-2: #faf7f0;
  --paper-3: #efeadd;
  --white: #fffdf8;
  --green: #123b31;
  --green-deep: #0e2d25;
  --green-mid: #1c4f40;
  --green-soft: #2e6a58;
  --green-wash: #e7eee7;
  --lime: #d9ee9b;
  --lime-soft: #eff7d3;
  --accent: #e87543;
  --accent-deep: #cc5c2d;
  --accent-soft: #fae3d7;
  --blue: #536f8b;
  --blue-soft: #e8edf3;
  --line: #e2dccf;
  --line-strong: #cfc6b5;
  --line-dark: rgba(245, 241, 231, 0.15);
  --red: #b54b3b;
  --red-soft: #f8e5e1;
  --shadow-sm: 0 2px 8px rgba(24, 41, 33, 0.04);
  --shadow-md: 0 18px 50px rgba(24, 41, 33, 0.1);
  --shadow-lg: 0 32px 90px rgba(24, 41, 33, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --font-sans: "MiSans", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.layer-open,
body.menu-open,
body.demo-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

button:disabled,
input:disabled,
select:disabled {
  cursor: not-allowed;
}

svg {
  display: block;
}

::selection {
  color: var(--green-deep);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid rgba(232, 117, 67, 0.45);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #c9c3b7;
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: #a9a397;
  border: 3px solid transparent;
  background-clip: content-box;
}

.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-xs {
  width: 14px;
  height: 14px;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.align-right {
  text-align: right !important;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Typography & primitives
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--green-soft);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: rgba(247, 243, 233, 0.58);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.mini-label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #75ad76;
  box-shadow: 0 0 0 3px rgba(117, 173, 118, 0.14);
}

.phase-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(232, 117, 67, 0.3);
  border-radius: 5px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.phase-tag--green {
  color: var(--green-soft);
  border-color: rgba(46, 106, 88, 0.25);
  background: var(--green-wash);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: currentColor;
}

.text-link--light {
  color: var(--paper);
}

.text-link--light:hover {
  color: var(--lime);
}

.link-button {
  padding: 0;
  color: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(20, 37, 31, 0.22);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.link-button:hover {
  color: var(--accent-deep);
  text-decoration-color: currentColor;
}

.text-inline {
  display: inline;
  padding: 0;
  color: var(--green-soft);
  font-size: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: #fff;
}

.icon-btn:active {
  transform: scale(0.96);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  color: var(--paper-2);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 6px 18px rgba(18, 59, 49, 0.14);
}

.btn--primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  box-shadow: 0 9px 24px rgba(18, 59, 49, 0.2);
}

.btn--accent {
  color: #fff9f0;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(232, 117, 67, 0.22);
}

.btn--accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink-soft);
}

.btn--subtle {
  color: var(--green);
  background: var(--green-wash);
  border-color: transparent;
}

.btn--subtle:hover {
  background: #dce8df;
}

.btn--outline-light {
  color: var(--paper);
  border-color: rgba(255, 253, 248, 0.34);
  background: transparent;
}

.btn--outline-light:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.btn--danger {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.btn--danger:hover {
  background: #9e3e30;
  border-color: #9e3e30;
}

.btn--danger-ghost {
  color: var(--red);
  border-color: rgba(181, 75, 59, 0.28);
  background: transparent;
}

.btn--danger-ghost:hover {
  background: var(--red-soft);
  border-color: rgba(181, 75, 59, 0.55);
}

.btn--sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12.5px;
  gap: 7px;
}

.btn--lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 14.5px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn:disabled {
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: var(--paper-2);
  background: var(--green);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.brand-sub {
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0.29em;
}

.brand--light .brand-mark {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand--light .brand-name {
  color: var(--paper);
}

.brand--light .brand-sub {
  color: rgba(245, 241, 231, 0.46);
}

/* Status & tags */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.status--pending {
  color: #b76a1f;
  background: #fbefd9;
}

.status--approved {
  color: #2c6a50;
  background: #e6f1e8;
}

.status--rejected {
  color: #a64c3c;
  background: #f8e8e3;
}

.status--neutral {
  color: #69746e;
  background: #edeee9;
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 550;
}

/* ==========================================================================
   Form primitives
   ========================================================================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field--half {
  grid-column: span 6;
}

.field--full {
  grid-column: 1 / -1;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.35;
}

.field-label em {
  color: var(--accent);
  font-style: normal;
}

.field-optional {
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="month"],
.field input[type="date"],
.field input[type="number"],
.field input[type="password"],
.field input[type="search"],
.field textarea,
.field select,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--paper-2);
  font-size: 13.5px;
  line-height: 1.45;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field textarea,
.admin-form textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder {
  color: #a6ada7;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fffdf9;
  border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(46, 106, 88, 0.09);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.has-error input,
.has-error select,
.has-error textarea {
  border-color: rgba(181, 75, 59, 0.6);
  background: #fffafa;
}

.field select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.field-hint {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.field-hint strong {
  color: var(--green-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.char-count {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}

.field-error {
  min-height: 0;
  margin: 0;
  color: var(--red);
  font-size: 10.5px;
  line-height: 1.45;
  display: none;
}

.field-error.is-visible {
  display: block;
}

.has-error .field-label {
  color: var(--red);
}

.select-wrap {
  position: relative;
  display: block;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 20px;
}

.segmented {
  display: flex;
  min-height: 46px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-2);
}

.segmented label {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12.5px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.segmented input:checked + span {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 4px rgba(24, 41, 33, 0.14);
  font-weight: 650;
}

.segmented input:focus-visible + span {
  outline: 3px solid rgba(232, 117, 67, 0.35);
  outline-offset: 1px;
}

.phone-input,
.code-input {
  display: flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper-2);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.phone-input:focus-within,
.code-input:focus-within {
  background: #fffdf9;
  border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(46, 106, 88, 0.09);
}

.phone-prefix {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.phone-input input,
.code-input input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 0 !important;
  border-radius: 9px;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}

.code-send-btn {
  align-self: stretch;
  padding: 0 13px;
  margin: 4px;
  border-left: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-soft);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.code-send-btn:hover:not(:disabled) {
  background: var(--green-wash);
}

.code-send-btn:disabled {
  color: var(--muted-light);
}

.check-visual {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: transparent;
  background: #fffdf8;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.check-visual .icon {
  width: 11px;
  height: 11px;
}

input[type="checkbox"]:checked + .check-visual,
.remember-check input:checked + .check-visual,
.consent-check input:checked + .check-visual {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon > .icon {
  position: absolute;
  left: 13px;
  z-index: 1;
  color: var(--muted);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 39px !important;
}

.input-with-action input {
  padding-right: 44px !important;
}

.input-action {
  position: absolute;
  right: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
}

.input-action:hover {
  color: var(--ink);
  background: var(--paper-3);
}

/* ==========================================================================
   Site chrome: topbar / header / footer
   ========================================================================== */
.site-body {
  min-height: 100vh;
  background: var(--paper);
}

.topbar {
  color: rgba(245, 241, 231, 0.76);
  background: var(--green-deep);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar-note .live-dot {
  background: #a7d48e;
  box-shadow: 0 0 0 3px rgba(167, 212, 142, 0.12);
}

.topbar-separator {
  width: 1px;
  height: 10px;
  background: rgba(245, 241, 231, 0.2);
}

.topbar-soft {
  color: rgba(245, 241, 231, 0.42);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 21px;
  flex: 0 0 auto;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.topbar-links a:hover {
  color: var(--paper);
}

.topbar-admin {
  color: var(--lime) !important;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 231, 0.88);
  border-bottom: 1px solid rgba(207, 198, 181, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  background: rgba(249, 246, 238, 0.95);
  box-shadow: 0 10px 30px rgba(24, 41, 33, 0.06);
}

.header-inner {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 10px;
}

.site-nav-link {
  position: relative;
  padding: 27px 0 24px;
  color: #58645e;
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}

.site-nav-link:hover {
  color: var(--ink);
}

.site-nav-link.is-active {
  color: var(--ink);
  font-weight: 650;
}

.site-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}

.header-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
  transition: color 0.2s;
}

.header-login:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 41px;
  padding: 9px 17px;
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.6);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 10px;
  padding-bottom: 22px;
}

.mobile-nav .site-nav-link {
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 220, 207, 0.7);
}

.mobile-nav .site-nav-link::after {
  display: none;
}

.mobile-nav .btn {
  margin-top: 18px;
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 86px;
  color: rgba(245, 241, 231, 0.72);
  background: var(--green-deep);
}

.site-footer::before {
  position: absolute;
  top: -260px;
  right: -160px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(245, 241, 231, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.site-footer::after {
  position: absolute;
  top: -170px;
  right: -70px;
  width: 430px;
  height: 430px;
  border: 1px dashed rgba(245, 241, 231, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.footer-invite {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-invite h2 {
  max-width: 760px;
  color: var(--paper-2);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 680;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.footer-invite h2 em {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.footer-invite .btn {
  margin-bottom: 7px;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 1fr 0.85fr;
  gap: 60px;
  padding: 56px 0 62px;
}

.footer-brand .brand {
  margin-bottom: 22px;
}

.footer-brand > p {
  color: rgba(245, 241, 231, 0.46);
  font-size: 12px;
  line-height: 1.9;
}

.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.footer-socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 241, 231, 0.16);
  border-radius: 50%;
  color: rgba(245, 241, 231, 0.6);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-socials a:hover {
  color: var(--lime);
  border-color: rgba(217, 238, 155, 0.4);
  background: rgba(217, 238, 155, 0.05);
}

.footer-socials .icon {
  width: 15px;
  height: 15px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h3 {
  margin-bottom: 7px;
  color: rgba(245, 241, 231, 0.34);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: rgba(245, 241, 231, 0.6);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line-dark);
  color: rgba(245, 241, 231, 0.3);
  font-size: 9.5px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal .link-button {
  color: rgba(245, 241, 231, 0.42);
  font-size: 9.5px;
  font-weight: 500;
  text-decoration-color: rgba(245, 241, 231, 0.22);
}

.footer-legal .link-button:hover {
  color: var(--paper);
}

/* ==========================================================================
   Persistent prototype navigation
   ========================================================================== */
.demo-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px 8px 12px;
  border: 1px solid rgba(18, 59, 49, 0.2);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(18, 59, 49, 0.9);
  box-shadow: 0 12px 30px rgba(18, 59, 49, 0.22);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.demo-fab .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.demo-fab:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(18, 59, 49, 0.28);
}

.demo-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(7, 23, 18, 0.44);
  backdrop-filter: blur(3px);
}

.demo-panel {
  position: fixed;
  right: 24px;
  bottom: 76px;
  z-index: 90;
  width: min(410px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(245, 241, 231, 0.72);
  background: var(--green-deep);
  box-shadow: 0 30px 80px rgba(7, 23, 18, 0.4);
  animation: panelIn 0.25s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.demo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.demo-head .layer-kicker {
  color: rgba(217, 238, 155, 0.6);
}

.demo-head h2 {
  color: var(--paper);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.demo-head .icon-btn {
  color: rgba(245, 241, 231, 0.7);
  border-color: rgba(245, 241, 231, 0.15);
  background: transparent;
}

.demo-head .icon-btn:hover {
  color: var(--paper);
  background: rgba(245, 241, 231, 0.08);
}

.demo-intro {
  padding: 14px 0 18px;
  color: rgba(245, 241, 231, 0.5);
  font-size: 11.5px;
  line-height: 1.75;
}

.demo-group {
  padding: 16px 0;
  border-top: 1px solid rgba(245, 241, 231, 0.1);
}

.demo-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: rgba(245, 241, 231, 0.32);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-account {
  color: rgba(245, 241, 231, 0.4);
  letter-spacing: 0;
  text-transform: none;
  font-size: 9.5px;
  font-weight: 500;
}

.demo-links {
  display: grid;
  gap: 3px;
}

.demo-links--admin {
  grid-template-columns: 1fr 1fr;
}

.demo-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 35px;
  padding: 7px 9px;
  border-radius: 7px;
  color: rgba(245, 241, 231, 0.72);
  font-size: 11.5px;
  transition: color 0.2s, background 0.2s;
}

.demo-link .icon {
  width: 14px;
  height: 14px;
  color: rgba(245, 241, 231, 0.32);
}

.demo-link > span {
  flex: 1;
}

.demo-link:hover {
  color: var(--paper);
  background: rgba(245, 241, 231, 0.06);
}

.demo-link.is-current {
  color: var(--lime);
  background: rgba(217, 238, 155, 0.08);
}

.demo-link.is-current .icon {
  color: var(--lime);
}

.demo-hint {
  padding: 13px 14px;
  border: 1px solid rgba(217, 238, 155, 0.12);
  border-radius: 9px;
  background: rgba(217, 238, 155, 0.045);
}

.demo-hint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: rgba(245, 241, 231, 0.52);
  font-size: 10.5px;
}

.demo-hint code {
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.demo-hint p {
  padding-top: 8px;
  color: rgba(245, 241, 231, 0.3);
  font-size: 9.5px;
  line-height: 1.6;
}

.demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.demo-actions .btn--ghost {
  color: rgba(245, 241, 231, 0.7);
  border-color: rgba(245, 241, 231, 0.16);
}

.demo-actions .btn--ghost:hover {
  color: var(--paper);
  border-color: rgba(245, 241, 231, 0.36);
  background: transparent;
}

.demo-actions .text-link {
  color: var(--lime);
  font-size: 11px;
}

/* ==========================================================================
   Toasts and layers
   ========================================================================== */
.toast-root {
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(370px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(20, 37, 31, 0.08);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(23, 39, 31, 0.16);
  pointer-events: auto;
  animation: toastIn 0.3s var(--ease);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.toast-icon {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.toast-icon .icon {
  width: 15px;
  height: 15px;
}

.toast--success .toast-icon {
  color: #2c6a50;
  background: #e7f1e7;
}

.toast--error .toast-icon {
  color: var(--red);
  background: var(--red-soft);
}

.toast--warning .toast-icon {
  color: #b76a1f;
  background: #fbefd9;
}

.toast--info .toast-icon {
  color: var(--blue);
  background: var(--blue-soft);
}

.toast-copy {
  flex: 1;
  min-width: 0;
}

.toast-copy strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.toast-copy p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.toast-close {
  margin: 1px -3px 0 0;
  padding: 3px;
  color: var(--muted-light);
  border-radius: 4px;
}

.toast-close:hover {
  color: var(--ink);
  background: var(--paper);
}

.ui-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 19, 0.48);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s;
}

.ui-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  outline: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}

.ui-panel--modal {
  width: min(600px, calc(100vw - 40px));
  max-height: calc(100vh - 48px);
  border-radius: 20px;
  transform: translateY(14px) scale(0.985);
}

.ui-panel--drawer {
  align-self: stretch;
  width: min(710px, 94vw);
  height: 100%;
  margin-left: auto;
  border-radius: 0;
  background: var(--paper-2);
  transform: translateX(38px);
}

.ui-overlay.is-open .ui-scrim {
  opacity: 1;
}

.ui-overlay.is-open .ui-panel {
  opacity: 1;
  transform: none;
}

.layer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.96);
}

.layer-kicker {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.layer-head h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 680;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.layer-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.layer-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 28px;
}

.layer-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  padding: 17px 28px;
  border-top: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.96);
}

.modal--confirm {
  width: min(440px, calc(100vw - 40px));
}

.modal--narrow {
  width: min(560px, calc(100vw - 40px));
}

.confirm-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* Privacy modal */
.privacy-body h3 {
  margin: 24px 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.privacy-body .subtle {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(46, 106, 88, 0.14);
  border-radius: 11px;
  background: var(--green-wash);
}

.privacy-notice-icon {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--green-soft);
  background: rgba(255, 255, 255, 0.6);
}

.privacy-notice p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.check-list li {
  position: relative;
  padding-left: 17px;
}

.check-list li::before {
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.check-list strong {
  color: var(--ink-soft);
  font-weight: 650;
}

/* Reveal motion */
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ==========================================================================
   Home: hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(217, 238, 155, 0.2), transparent 28%),
    radial-gradient(circle at 15% 8%, rgba(232, 117, 67, 0.05), transparent 30%),
    var(--paper);
}

.hero-texture {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 690px;
  opacity: 0.34;
  background-image: radial-gradient(rgba(18, 59, 49, 0.22) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse at 68% 32%, #000 0%, transparent 64%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 64px;
  min-height: 585px;
}

.hero-copy {
  padding: 22px 0 46px;
}

.hero-title {
  max-width: 690px;
  color: var(--ink);
  font-size: clamp(47px, 5.1vw, 73px);
  font-weight: 730;
  line-height: 1.14;
  letter-spacing: -0.065em;
}

.title-accent {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.title-accent::before {
  position: absolute;
  right: -0.04em;
  bottom: 0.03em;
  left: -0.02em;
  height: 0.25em;
  z-index: -1;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, #e9f5c4 92%);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lede {
  margin-top: 25px;
  color: #64716a;
  font-size: 15.5px;
  line-height: 1.86;
  letter-spacing: -0.005em;
}

.hero-search {
  display: flex;
  align-items: center;
  width: min(600px, 100%);
  min-height: 62px;
  margin-top: 34px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(207, 198, 181, 0.72);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 26px rgba(24, 41, 33, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus-within {
  border-color: rgba(46, 106, 88, 0.62);
  box-shadow: 0 12px 32px rgba(24, 41, 33, 0.09);
}

.hero-search-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.hero-search-field > .icon {
  color: var(--muted);
}

.hero-search-field--keyword {
  flex: 1;
}

.hero-search-field--city {
  flex: 0 0 118px;
}

.hero-search-field input,
.hero-search-field select {
  min-width: 0;
  height: 42px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12.5px;
  outline: none;
}

.hero-search-field input {
  width: 100%;
}

.hero-search-field select {
  width: 100%;
  appearance: none;
  cursor: pointer;
  color: var(--muted);
}

.hero-search-field input::placeholder {
  color: #9ba39b;
}

.hero-search-divider {
  width: 1px;
  height: 24px;
  margin: 0 14px;
  background: var(--line);
}

.hero-search-btn {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 12.5px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 35px;
}

.avatar-stack {
  display: flex;
  padding-left: 6px;
}

.avatar-stack-item {
  display: grid;
  width: 33px;
  height: 33px;
  margin-left: -6px;
  place-items: center;
  overflow: hidden;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #e8e1d2;
}

.avatar-stack-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-stack-item--count {
  color: var(--paper);
  background: var(--green);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-proof-copy p {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.hero-proof-copy p strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.hero-proof-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.stars {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.08em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: 14px 10px 54px 8px;
}

.hero-figure {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  height: 555px;
  overflow: hidden;
  border-radius: 250px 250px 24px 24px;
  background: #c9c4b8;
  box-shadow: 0 26px 70px rgba(23, 39, 31, 0.16);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.75) contrast(1.02);
  transform: scale(1.015);
  transition: transform 1.2s var(--ease-out);
}

.hero-image-wrap:hover .hero-image {
  transform: scale(1.045);
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 35, 27, 0.1) 0%, transparent 26%),
    linear-gradient(0deg, rgba(11, 35, 27, 0.6) 0%, transparent 48%);
}

.hero-location-pill {
  position: absolute;
  top: 23px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.86);
  background: rgba(17, 44, 35, 0.34);
  backdrop-filter: blur(9px);
  font-size: 9.5px;
  letter-spacing: 0.01em;
  transform: translateX(-50%);
}

.hero-location-pill .live-dot {
  background: #cbe79a;
  box-shadow: 0 0 0 3px rgba(203, 231, 154, 0.16);
}

.hero-image-caption {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(255, 253, 248, 0.82);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.15em;
}

.hero-image-caption-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: 50%;
  color: var(--paper);
  backdrop-filter: blur(8px);
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--one {
  top: 34px;
  right: -58px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(46, 106, 88, 0.14);
}

.hero-orbit--two {
  right: 18px;
  bottom: 70px;
  width: 120px;
  height: 120px;
  border: 1px dashed rgba(232, 117, 67, 0.28);
}

.floating-role-card {
  position: absolute;
  z-index: 3;
  right: -32px;
  bottom: 30px;
  left: -42px;
  width: 330px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 20px 50px rgba(23, 39, 31, 0.16);
  backdrop-filter: blur(16px);
}

.floating-role-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 1px 3px 13px;
  border-bottom: 1px solid var(--line);
}

.floating-role-head .mini-label {
  margin-top: 3px;
}

.floating-role-count {
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.floating-role-count small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0;
}

.floating-role-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 3px;
  border-bottom: 1px solid rgba(226, 220, 207, 0.72);
}

.floating-role-index {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
}

.floating-role-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.floating-role-main strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.floating-role-main small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.floating-role-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-wash);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.floating-role-arrow .icon {
  width: 12px;
  height: 12px;
}

.floating-role-row:hover .floating-role-arrow {
  color: var(--paper);
  background: var(--green);
  transform: rotate(8deg);
}

.floating-role-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 3px 1px;
  color: var(--green-soft);
  font-size: 10px;
  font-weight: 650;
}

.floating-role-all:hover {
  color: var(--accent-deep);
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -17px;
  right: -25px;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  color: var(--green);
  background: var(--lime);
  box-shadow: 0 8px 24px rgba(36, 50, 28, 0.15);
}

.hero-stamp svg {
  width: 100%;
  height: 100%;
}

.hero-stamp text {
  fill: currentColor;
  font-family: var(--font-sans);
  font-size: 6.4px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.hero-footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0 21px;
  border-top: 1px solid rgba(207, 198, 181, 0.6);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-light);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.scroll-cue-line {
  position: relative;
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.scroll-cue-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  content: "";
  transform: rotate(45deg);
}

.hero-numbers {
  display: flex;
  gap: 46px;
}

.hero-numbers div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hero-numbers strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-numbers span {
  color: var(--muted);
  font-size: 9.5px;
}

/* ==========================================================================
   Home: sections
   ========================================================================== */
.ethos-strip {
  color: rgba(245, 241, 231, 0.66);
  background: var(--green-deep);
}

.ethos-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.ethos-mark {
  color: rgba(217, 238, 155, 0.52);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.ethos-inner i {
  color: rgba(245, 241, 231, 0.18);
  font-style: normal;
  font-size: 9px;
}

.ethos-en {
  margin-left: auto;
  color: rgba(245, 241, 231, 0.24);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.section {
  padding: 118px 0;
}

.jobs-home {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.section-title {
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 57px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.062em;
}

.section-title--light {
  color: var(--paper);
}

.section-head-aside {
  width: min(310px, 100%);
  padding-bottom: 6px;
}

.section-head-aside p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.home-jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.filter-tab {
  min-height: 32px;
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.filter-tab:hover {
  color: var(--ink);
  background: var(--paper);
}

.filter-tab.is-active {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.jobs-count-label {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 10px;
}

.home-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}

.job-card {
  display: flex;
  flex-direction: column;
  min-height: 246px;
  padding: 21px 21px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.job-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 15px 38px rgba(24, 41, 33, 0.08);
  transform: translateY(-3px);
}

.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}

.job-card-category {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.job-card-no {
  color: var(--line-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.job-card-priority {
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--lime);
  background: rgba(217, 238, 155, 0.1);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.job-card-body {
  flex: 1;
}

.job-card h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.job-card-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
}

.job-card-meta span {
  margin: 0 3px;
  color: var(--line-strong);
}

.job-card-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 19px 0 18px;
}

.job-card-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.job-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.job-card-salary {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.job-card-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-3);
  transition: color 0.2s, background 0.2s;
}

.job-card-arrow .icon {
  width: 13px;
  height: 13px;
}

.job-card:hover .job-card-arrow {
  color: var(--paper);
  background: var(--accent);
}

.job-card--featured {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.job-card--featured .job-card-category,
.job-card--featured .job-card-no,
.job-card--featured .job-card-meta,
.job-card--featured .job-card-summary {
  color: rgba(245, 241, 231, 0.54);
}

.job-card--featured h3,
.job-card--featured .job-card-salary {
  color: var(--paper);
}

.job-card--featured .job-card-tags span {
  color: rgba(245, 241, 231, 0.58);
  border-color: rgba(245, 241, 231, 0.16);
}

.job-card--featured .job-card-foot {
  border-color: rgba(245, 241, 231, 0.14);
}

.job-card--featured .job-card-arrow {
  color: var(--green);
  background: var(--lime);
}

.job-card--featured:hover .job-card-arrow {
  color: var(--ink);
  background: #e7f9a9;
}

.job-join-card {
  display: flex;
  grid-column: span 2;
  min-height: 156px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  overflow: hidden;
  padding: 25px 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 30%, rgba(217, 238, 155, 0.36), transparent 21%),
    var(--lime-soft);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.job-join-card:hover {
  border-color: #cbd993;
  transform: translateY(-2px);
}

.job-join-card .mini-label {
  color: var(--green-soft);
}

.job-join-card h3 {
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: -0.03em;
}

.job-join-arrow {
  display: grid;
  width: 49px;
  height: 49px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  transition: transform 0.3s var(--ease);
}

.job-join-card:hover .job-join-arrow {
  transform: rotate(8deg) scale(1.04);
}

.jobs-empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  text-align: center;
}

.jobs-empty-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.jobs-empty h3 {
  font-size: 17px;
  font-weight: 650;
}

.jobs-empty p {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

/* Culture */
.culture-section {
  position: relative;
  overflow: hidden;
  padding: 122px 0 128px;
  color: var(--paper);
  background: var(--green);
}

.culture-section::before {
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(245, 241, 231, 0.06);
  border-radius: 50%;
  content: "";
}

.culture-section::after {
  position: absolute;
  bottom: -390px;
  left: -300px;
  width: 740px;
  height: 740px;
  border: 1px dashed rgba(245, 241, 231, 0.06);
  border-radius: 50%;
  content: "";
}

.culture-section .container {
  position: relative;
  z-index: 1;
}

.culture-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.72fr);
  gap: 80px;
  align-items: end;
}

.culture-intro-copy {
  padding-bottom: 9px;
  color: rgba(245, 241, 231, 0.52);
  font-size: 12px;
  line-height: 1.95;
}

.culture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 68px;
  margin-top: 64px;
}

.culture-figure {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.culture-image-wrap {
  position: relative;
  height: 468px;
  overflow: hidden;
  border-radius: 16px;
  background: #1e3e33;
}

.culture-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 29, 22, 0.55), transparent 45%);
  content: "";
}

.culture-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) sepia(0.12) brightness(0.78);
  transition: transform 1s var(--ease-out);
}

.culture-image-wrap:hover img {
  transform: scale(1.035);
}

.culture-image-tag {
  position: absolute;
  bottom: 19px;
  left: 21px;
  z-index: 1;
  color: rgba(255, 253, 248, 0.7);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.culture-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: rgba(245, 241, 231, 0.36);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.principles {
  display: flex;
  flex-direction: column;
}

.principle {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 17px;
  padding: 23px 0 24px;
  border-top: 1px solid rgba(245, 241, 231, 0.13);
}

.principle:first-child {
  padding-top: 4px;
  border-top: 0;
}

.principle-index {
  padding-top: 3px;
  color: rgba(217, 238, 155, 0.48);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
}

.principle h3 {
  color: var(--paper-2);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.principle p {
  margin-top: 7px;
  color: rgba(245, 241, 231, 0.45);
  font-size: 11px;
  line-height: 1.8;
}

.culture-note {
  position: relative;
  margin-top: 18px;
  padding: 23px 25px 22px;
  border: 1px solid rgba(217, 238, 155, 0.13);
  border-radius: 12px;
  background: rgba(217, 238, 155, 0.045);
}

.culture-note-mark {
  position: absolute;
  top: 8px;
  left: 17px;
  color: rgba(217, 238, 155, 0.2);
  font-family: var(--font-serif);
  font-size: 55px;
  line-height: 1;
}

.culture-note p {
  position: relative;
  z-index: 1;
  padding-left: 20px;
  color: rgba(245, 241, 231, 0.7);
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.8;
}

.culture-note-sign {
  display: block;
  margin-top: 11px;
  padding-left: 20px;
  color: rgba(245, 241, 231, 0.31);
  font-size: 9px;
}

/* Process */
.process-section {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 23px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.process-step:hover {
  border-color: var(--line-strong);
  background: var(--white);
  transform: translateY(-3px);
}

.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.process-num {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
}

.process-time {
  color: var(--muted-light);
  font-size: 8.5px;
}

.process-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin: 38px 0 17px;
  place-items: center;
  border-radius: 11px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.process-icon .icon {
  width: 18px;
  height: 18px;
}

.process-step h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.78;
}

.process-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 7px;
  border-radius: 4px;
  color: var(--muted);
  background: var(--paper-3);
  font-size: 8.5px;
}

.process-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 18px 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 253, 248, 0.58);
}

.process-foot-icon {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.process-foot-icon .icon {
  width: 15px;
  height: 15px;
}

.process-foot p {
  flex: 1;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.process-foot p strong {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}

.process-foot .text-link {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 10.5px;
}

/* Voice */
.voice-section {
  padding: 100px 0;
  background: var(--white);
}

.voice-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 82px;
  align-items: center;
}

.voice-portrait {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.voice-portrait-frame {
  position: relative;
  height: 348px;
  overflow: hidden;
  border-radius: 160px 160px 17px 17px;
  background: #e6e2d5;
}

.voice-portrait-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(18, 59, 49, 0.06);
  border-radius: inherit;
  content: "";
}

.voice-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.voice-portrait-frame:hover img {
  transform: scale(1.035);
}

.voice-portrait-label {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.voice-copy blockquote {
  max-width: 760px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.8vw, 36px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.035em;
}

.voice-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 30px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.voice-quote-mark {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 0.9;
}

.voice-meta p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.voice-meta p strong {
  color: var(--ink);
  font-weight: 650;
}

.voice-copy > .text-link {
  margin-top: 26px;
  color: var(--green-soft);
}

/* Home CTA */
.home-cta {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--accent);
}

.home-cta::before {
  position: absolute;
  top: -240px;
  right: 12%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 249, 240, 0.15);
  border-radius: 50%;
  content: "";
}

.home-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 60px;
  min-height: 410px;
  align-items: center;
  padding: 66px 0;
}

.home-cta-copy {
  position: relative;
  z-index: 1;
}

.home-cta-copy .eyebrow {
  color: rgba(255, 249, 240, 0.56);
}

.home-cta-copy h2 {
  color: #fff7ec;
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 720;
  line-height: 1.14;
  letter-spacing: -0.062em;
}

.home-cta-copy h2 span {
  color: var(--green-deep);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.home-cta-copy > p {
  max-width: 430px;
  margin-top: 20px;
  color: rgba(255, 249, 240, 0.72);
  font-size: 12.5px;
  line-height: 1.8;
}

.home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.home-cta .btn--accent {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: none;
}

.home-cta .btn--accent:hover {
  background: #e8f8b5;
  border-color: #e8f8b5;
}

.home-cta .btn--outline-light {
  color: var(--paper);
  border-color: rgba(255, 249, 240, 0.3);
}

.home-cta .btn--outline-light:hover {
  color: var(--ink);
  background: var(--paper);
}

.home-cta-art {
  align-self: stretch;
  position: relative;
  margin: -66px -40px -66px 0;
}

.home-cta-art svg {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.empty-note {
  padding: 36px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   Jobs listing
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb .icon {
  color: var(--line-strong);
}

.jobs-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 74px;
  background:
    radial-gradient(circle at 86% 26%, rgba(217, 238, 155, 0.32), transparent 22%),
    var(--paper);
}

.jobs-hero::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  opacity: 0.22;
  background-image: radial-gradient(rgba(18, 59, 49, 0.3) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  mask-image: linear-gradient(90deg, #000, transparent);
  content: "";
}

.jobs-hero .container {
  position: relative;
  z-index: 1;
}

.jobs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 60px;
  align-items: end;
  margin-top: 55px;
}

.jobs-hero h1 {
  color: var(--ink);
  font-size: clamp(48px, 5.7vw, 75px);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.jobs-hero h1 span {
  color: var(--accent);
}

.jobs-hero-lede {
  max-width: 590px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.jobs-hero-stat {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 7px 12px;
  padding: 25px 0 8px 24px;
  border-left: 1px solid var(--line-strong);
}

.jobs-hero-stat-number {
  color: var(--green);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.jobs-hero-stat-label {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: 0.1em;
}

.jobs-hero-stat-sub {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9px;
}

.jobs-hero-watermark {
  position: absolute;
  right: -40px;
  bottom: -37px;
  color: rgba(18, 59, 49, 0.035);
  font-size: 150px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.jobs-search {
  display: flex;
  align-items: center;
  width: min(720px, 100%);
  min-height: 61px;
  margin-top: 44px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 30px rgba(24, 41, 33, 0.055);
}

.jobs-search:focus-within {
  border-color: rgba(46, 106, 88, 0.55);
}

.jobs-search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.jobs-search-field > .icon {
  color: var(--muted);
}

.jobs-search-field input,
.jobs-search-field select {
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 12px;
  outline: none;
}

.jobs-search-field:first-child {
  flex: 1;
}

.jobs-search-field input {
  width: 100%;
}

.jobs-search-field input::placeholder {
  color: #9ba39b;
}

.jobs-search-field--city {
  flex: 0 0 130px;
}

.jobs-search-field select {
  width: 100%;
  appearance: none;
  color: var(--muted);
  cursor: pointer;
}

.jobs-search .btn {
  flex: 0 0 auto;
  min-height: 49px;
  padding: 12px 19px;
  border-radius: 9px;
  font-size: 12px;
}

.jobs-main {
  padding: 60px 0 100px;
  background: var(--white);
}

.jobs-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 102px;
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.filter-panel-head h2 {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.filter-panel-head .link-button {
  color: var(--muted);
  font-size: 10px;
}

.filter-group {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}

.filter-group h3 {
  margin-bottom: 12px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.filter-radio-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.filter-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 31px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}

.filter-radio em {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
}

.filter-radio:hover {
  color: var(--ink);
  background: var(--paper);
}

.filter-radio.is-active {
  color: var(--ink);
  background: var(--paper);
  font-weight: 650;
}

.filter-radio.is-active em {
  color: var(--accent);
}

.filter-check-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-check {
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-check:hover {
  background: var(--paper);
}

.filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-check .check-visual {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.filter-check-label {
  flex: 1;
  color: var(--muted);
  font-size: 11px;
}

.filter-check em {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
}

.filter-check input:checked ~ .filter-check-label {
  color: var(--ink);
}

.filter-check input:focus-visible + .check-visual {
  outline: 3px solid rgba(232, 117, 67, 0.35);
}

.filter-aside-card {
  margin-top: 23px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

.filter-aside-icon {
  display: grid;
  width: 29px;
  height: 29px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 8px;
  color: var(--green-soft);
  background: var(--white);
}

.filter-aside-icon .icon {
  width: 14px;
  height: 14px;
}

.filter-aside-card h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.filter-aside-card p {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.filter-aside-card .text-link {
  color: var(--green-soft);
  font-size: 10px;
}

.jobs-results {
  min-width: 0;
}

.jobs-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.jobs-results-kicker {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.jobs-results-head h2 {
  margin-top: 5px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.jobs-results-head h2 span {
  margin-left: 3px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9px;
}

.sort-control select {
  height: 32px;
  padding: 0 25px 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  background-color: var(--paper-2);
  font-size: 10px;
  outline: none;
  cursor: pointer;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 13px 0 1px;
}

.active-filters-label {
  color: var(--muted-light);
  font-size: 9.5px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 9.5px;
}

.filter-chip:hover {
  border-color: var(--green-soft);
}

.active-filters-clear {
  color: var(--muted);
  font-size: 9.5px;
}

.job-list {
  display: flex;
  flex-direction: column;
}

.job-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 28px;
  width: 100%;
  padding: 25px 4px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: padding 0.25s var(--ease), background 0.25s;
}

.job-row:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: var(--paper-2);
}

.job-row-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.job-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.job-row-dept {
  color: var(--muted);
  font-size: 9.5px;
}

.job-row-date {
  color: var(--muted-light);
  font-size: 8.5px;
}

.job-row-badge {
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 8px;
}

.job-row-title {
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.035em;
  transition: color 0.2s;
}

.job-row:hover .job-row-title {
  color: var(--green-soft);
}

.job-row-summary {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.job-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.job-row-tags span {
  padding: 3px 7px;
  border-radius: 3px;
  color: var(--muted);
  background: var(--paper);
  font-size: 8.5px;
}

.job-row:hover .job-row-tags span {
  background: var(--paper-3);
}

.job-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
  padding-top: 1px;
}

.job-row-salary {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.job-row-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.job-row-meta .icon {
  color: var(--muted-light);
}

.job-row-open {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  color: var(--accent-deep);
  font-size: 9.5px;
  font-weight: 600;
}

.job-list-empty {
  padding: 74px 20px;
  text-align: center;
}

.job-list-empty-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.job-list-empty h3 {
  font-size: 17px;
  font-weight: 650;
}

.job-list-empty p {
  max-width: 380px;
  margin: 6px auto 20px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.job-list-empty-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.jobs-results-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}

.jobs-results-foot p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9px;
}

.jobs-results-foot .text-link {
  color: var(--muted);
  font-size: 9.5px;
}

.jobs-talent-banner {
  padding: 67px 0;
  color: var(--paper);
  background: var(--green);
}

.jobs-talent-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.jobs-talent-inner h2 {
  color: var(--paper-2);
  font-size: clamp(31px, 3.7vw, 49px);
  font-weight: 690;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.jobs-talent-inner h2 em {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.jobs-talent-action {
  width: min(330px, 100%);
  padding-bottom: 4px;
}

.jobs-talent-action p {
  margin-bottom: 20px;
  color: rgba(245, 241, 231, 0.5);
  font-size: 11px;
  line-height: 1.8;
}

/* Job detail drawer */
.job-drawer-layer .ui-panel {
  background: var(--paper-2);
}

.job-drawer {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.job-drawer-head {
  position: relative;
  flex: 0 0 auto;
  padding: 30px 34px 26px;
  color: var(--paper);
  background:
    radial-gradient(circle at 94% 10%, rgba(217, 238, 155, 0.12), transparent 27%),
    var(--green);
}

.job-drawer-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 19px;
  color: rgba(245, 241, 231, 0.42);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.job-drawer-kicker .live-dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(217, 238, 155, 0.1);
}

.job-drawer-close {
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(245, 241, 231, 0.7);
  border-color: rgba(245, 241, 231, 0.16);
  background: transparent;
}

.job-drawer-close:hover {
  color: var(--paper);
  background: rgba(245, 241, 231, 0.08);
}

.job-drawer-head h2 {
  max-width: 480px;
  font-size: 32px;
  font-weight: 690;
  line-height: 1.25;
  letter-spacing: -0.045em;
}

.job-drawer-lede {
  max-width: 520px;
  margin-top: 11px;
  color: rgba(245, 241, 231, 0.56);
  font-size: 11.5px;
  line-height: 1.75;
}

.job-drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 19px;
}

.job-drawer-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(245, 241, 231, 0.55);
  font-size: 9px;
}

.job-drawer-salary-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 241, 231, 0.13);
}

.job-drawer-salary-row strong {
  color: var(--lime);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.job-drawer-salary-row span {
  color: rgba(245, 241, 231, 0.4);
  font-size: 9px;
}

.job-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 34px 34px;
}

.job-drawer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.job-drawer-tags span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 9px;
}

.job-detail-section {
  padding-top: 25px;
}

.job-detail-section h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.job-detail-section h3 span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 500;
}

.job-detail-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.job-detail-list li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.job-detail-list li::before {
  position: absolute;
  top: 0.76em;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-soft);
  content: "";
}

.job-detail-copy {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.85;
}

.job-detail-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid rgba(46, 106, 88, 0.12);
  border-radius: 9px;
  background: var(--green-wash);
}

.job-detail-note .icon {
  margin-top: 2px;
  color: var(--green-soft);
}

.job-detail-note p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.job-detail-note strong {
  color: var(--ink-soft);
}

.job-drawer-foot-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 9px;
  line-height: 1.65;
}

.job-drawer-foot-note .icon {
  margin-top: 2px;
}

.job-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  padding: 15px 34px;
  border-top: 1px solid var(--line);
  background: rgba(250, 247, 240, 0.96);
}

.job-drawer-footer .btn {
  min-height: 45px;
}

.job-share-btn {
  margin-right: auto;
  font-size: 11px;
}

/* ==========================================================================
   Talent registration
   ========================================================================== */
.register-intro {
  padding: 35px 0 58px;
  background:
    radial-gradient(circle at 86% 18%, rgba(232, 117, 67, 0.07), transparent 20%),
    var(--paper);
}

.register-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: end;
  margin-top: 48px;
}

.register-intro h1 {
  color: var(--ink);
  font-size: clamp(47px, 5.3vw, 70px);
  font-weight: 720;
  line-height: 1.11;
  letter-spacing: -0.067em;
}

.register-intro h1 span {
  color: var(--accent);
}

.register-intro-aside {
  padding-bottom: 7px;
}

.register-intro-aside > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.register-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.register-intro-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 9px;
}

.register-main {
  padding: 0 0 108px;
  background: var(--white);
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 38px;
  align-items: start;
}

.register-layout.is-success {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
}

.register-layout.is-success .register-aside {
  display: none;
}

.register-form-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
  box-shadow: 0 15px 48px rgba(24, 41, 33, 0.055);
}

.register-progress {
  padding: 27px 31px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.5);
}

.register-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.register-progress-head p {
  display: flex;
  align-items: baseline;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.register-progress-head p small {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.07em;
}

.register-progress-head p small span {
  color: var(--accent);
  font-weight: 650;
}

.register-progress-percent {
  color: var(--green-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 650;
}

.register-progress-track {
  height: 2px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.register-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-soft), #6a9b72);
  transition: width 0.45s var(--ease);
}

.register-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0;
}

.register-stepper li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0 21px;
  color: var(--muted-light);
  font-size: 10.5px;
  line-height: 1.3;
}

.register-stepper li::after {
  position: absolute;
  top: 26px;
  right: 20px;
  width: 25px;
  height: 1px;
  background: var(--line);
  content: "";
}

.register-stepper li:last-child::after {
  display: none;
}

.register-stepper li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.register-stepper li small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 400;
}

.stepper-num {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.register-stepper li.is-active {
  color: var(--ink);
  font-weight: 650;
}

.register-stepper li.is-active .stepper-num {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.register-stepper li.is-active small {
  color: var(--muted);
  font-weight: 400;
}

.register-stepper li.is-complete {
  color: var(--green-soft);
}

.register-stepper li.is-complete .stepper-num {
  color: var(--green-soft);
  border-color: rgba(46, 106, 88, 0.3);
  background: var(--green-wash);
}

.register-form {
  padding: 30px 31px 31px;
}

.form-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 25px;
}

.form-step-index {
  margin-top: 2px;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
}

.form-step-head h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.form-step-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.form-step-head p em {
  color: var(--accent);
  font-style: normal;
}

.form-photo-row {
  display: grid;
  grid-template-columns: 149px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.photo-field {
  min-width: 0;
}

.photo-upload {
  position: relative;
  display: flex;
  width: 149px;
  height: 177px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.photo-upload:hover,
.photo-upload.is-dragging {
  border-color: var(--green-soft);
  background: #f8fbf5;
}

.photo-upload input {
  display: none;
}

.photo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  text-align: center;
}

.photo-upload-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.photo-upload-icon .icon {
  width: 17px;
  height: 17px;
}

.photo-empty strong {
  font-size: 10.5px;
  font-weight: 650;
}

.photo-empty small {
  color: var(--muted-light);
  font-size: 8.5px;
}

.photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: rgba(12, 37, 29, 0.48);
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-upload:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  font-size: 9px;
  backdrop-filter: blur(6px);
}

.photo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 149px;
  padding-top: 7px;
}

.photo-actions > span {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-actions .link-button {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 8.5px;
  text-decoration: none;
}

.photo-copy {
  min-width: 0;
  padding-right: 12px;
}

.photo-copy-label {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.photo-copy h3 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.photo-copy > p {
  max-width: 400px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.photo-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.photo-tips li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.photo-tips .icon {
  color: var(--green-soft);
}

.form-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.form-step-nav-note {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.field--full .resume-upload {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 65px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.resume-upload:hover {
  border-color: var(--green-soft);
  background: #f9fbf5;
}

.resume-upload input {
  display: none;
}

.resume-upload-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.resume-upload-icon .icon {
  width: 16px;
  height: 16px;
}

.resume-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.resume-copy strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-copy strong.is-file {
  color: var(--green-soft);
}

.resume-copy small {
  color: var(--muted-light);
  font-size: 8.5px;
}

.resume-action {
  color: var(--green-soft);
  font-size: 9px;
  font-weight: 600;
}

.register-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

.register-summary-avatar {
  display: grid;
  width: 53px;
  height: 62px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  color: var(--muted-light);
  background: var(--white);
}

.register-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-summary-avatar .icon {
  width: 19px;
  height: 19px;
}

.register-summary-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.register-summary-main strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.register-summary-main span {
  color: var(--green-soft);
  font-size: 10px;
}

.register-summary-main small {
  margin-top: 2px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.register-summary .link-button {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 9.5px;
}

.verification-grid {
  row-gap: 24px;
}

.privacy-consent {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-check > span:last-child {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.consent-check .check-visual {
  margin-top: 1px;
}

.verification-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 17px;
  padding: 15px;
  border-radius: 9px;
  background: var(--green-wash);
}

.verification-note-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: rgba(255, 255, 255, 0.56);
}

.verification-note-icon .icon {
  width: 13px;
  height: 13px;
}

.verification-note strong {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 650;
}

.verification-note p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.form-step-nav--submit {
  margin-top: 24px;
}

.submit-demo-note {
  margin-top: 11px;
  color: var(--muted-light);
  font-size: 8.5px;
  text-align: right;
}

.register-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-aside-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
}

.aside-kicker {
  margin-bottom: 16px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.aside-preview {
  display: flex;
  align-items: center;
  gap: 13px;
}

.aside-preview-photo {
  display: grid;
  width: 50px;
  height: 61px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  color: var(--muted-light);
  background: var(--paper);
}

.aside-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aside-preview-photo .icon {
  width: 17px;
  height: 17px;
}

.aside-preview > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.aside-preview strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aside-preview span {
  overflow: hidden;
  color: var(--green-soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aside-preview small {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aside-preview-progress {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.aside-preview-progress > span {
  color: var(--muted);
  font-size: 8.5px;
}

.aside-preview-progress em {
  margin-left: auto;
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-style: normal;
}

.aside-progress-track {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.aside-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.register-aside-card h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.aside-promise-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 20px;
}

.aside-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aside-promise-list li > span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.aside-promise-list li > span .icon {
  width: 12px;
  height: 12px;
}

.aside-promise-list strong {
  display: block;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 650;
}

.aside-promise-list p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.55;
}

.aside-privacy-link {
  margin-top: 20px;
  color: var(--green-soft);
  font-size: 9px;
}

.register-aside-help {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 4px 0;
}

.register-aside-help-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.register-aside-help-icon .icon {
  width: 13px;
  height: 13px;
}

.register-aside-help strong {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 650;
}

.register-aside-help p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.register-aside-help a {
  color: var(--green-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Success */
.register-form-card.is-success {
  border-color: rgba(46, 106, 88, 0.26);
}

.register-success {
  position: relative;
  padding: 66px 54px 55px;
  text-align: center;
  overflow: hidden;
}

.register-success::before,
.register-success::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.register-success::before {
  top: -120px;
  left: -100px;
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(46, 106, 88, 0.15);
}

.register-success::after {
  right: -80px;
  bottom: -170px;
  width: 320px;
  height: 320px;
  background: rgba(217, 238, 155, 0.18);
}

.success-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.success-mark span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 67px;
  height: 67px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 0 0 10px rgba(46, 106, 88, 0.08);
}

.success-mark .icon {
  width: 29px;
  height: 29px;
}

.register-success > .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.register-success h2 {
  color: var(--ink);
  font-size: clamp(31px, 3.6vw, 43px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.success-copy {
  max-width: 500px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.9;
}

.success-copy strong {
  color: var(--green-soft);
  font-weight: 650;
}

.success-ticket {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 640px;
  margin: 32px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
  text-align: left;
}

.success-ticket > div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 13px 16px;
  background: var(--paper);
}

.success-ticket span {
  color: var(--muted-light);
  font-size: 8px;
}

.success-ticket strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.success-ticket .status {
  align-self: flex-start;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 31px;
}

.success-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 24px;
  color: var(--muted-light);
  font-size: 8.5px;
}

/* ==========================================================================
   Progress tracker
   ========================================================================== */
.status-hero {
  position: relative;
  overflow: hidden;
  padding: 37px 0 70px;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.35), transparent 55%),
    var(--paper);
}

.status-hero::after {
  position: absolute;
  top: 0;
  right: 4%;
  width: 36%;
  height: 100%;
  opacity: 0.3;
  background-image: radial-gradient(rgba(46, 106, 88, 0.3) 0.7px, transparent 0.7px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
  content: "";
}

.status-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 80px;
  align-items: end;
  margin-top: 48px;
}

.status-heading h1 {
  color: var(--ink);
  font-size: clamp(46px, 5.4vw, 70px);
  font-weight: 720;
  line-height: 1.1;
  letter-spacing: -0.068em;
}

.status-heading h1 span {
  color: var(--accent);
}

.status-heading-copy {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.status-main {
  padding: 58px 0 100px;
  background: var(--white);
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: stretch;
}

.status-query-card {
  height: fit-content;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper-2);
}

.status-query-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.status-query-icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.status-query-icon .icon {
  width: 18px;
  height: 18px;
}

.status-query-head .aside-kicker {
  margin-bottom: 3px;
  font-size: 7.5px;
}

.status-query-head h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.status-query-lede {
  margin: 17px 0 21px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.7;
}

.status-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.status-form .btn {
  margin-top: 3px;
}

.status-demo-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(46, 106, 88, 0.12);
  border-radius: 8px;
  background: var(--green-wash);
}

.status-demo-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: rgba(255, 255, 255, 0.6);
}

.status-demo-hint > div {
  flex: 1;
}

.status-demo-hint strong {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
}

.status-demo-hint p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.55;
}

.status-demo-hint code {
  color: var(--green-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  font-weight: 650;
}

.status-demo-hint .link-button {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 8.5px;
  text-decoration: none;
}

.status-last {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.status-last > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.status-last span {
  color: var(--muted-light);
  font-size: 8px;
}

.status-last strong {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 600;
}

.status-last .text-link {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 8.5px;
}

.status-query-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.status-query-foot span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 8px;
}

.status-query-foot a {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
}

.status-query-foot a:hover {
  color: var(--ink);
}

.status-result {
  position: relative;
  display: flex;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}

.status-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 48px 52px;
  text-align: center;
}

.status-placeholder-art {
  position: relative;
  width: 190px;
  height: 155px;
  margin-bottom: 27px;
}

.status-art-circle {
  position: absolute;
  top: 5px;
  left: 22px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--lime-soft);
}

.status-art-ring {
  position: absolute;
  top: 22px;
  left: 39px;
  width: 106px;
  height: 106px;
  border: 1px dashed rgba(46, 106, 88, 0.27);
  border-radius: 50%;
}

.status-art-card {
  position: absolute;
  top: 40px;
  left: 48px;
  display: flex;
  width: 111px;
  height: 99px;
  flex-direction: column;
  gap: 8px;
  padding: 17px 15px;
  border: 1px solid rgba(18, 59, 49, 0.08);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 16px 28px rgba(24, 41, 33, 0.1);
  transform: rotate(-4deg);
}

.status-art-line {
  display: block;
  width: 65%;
  height: 4px;
  border-radius: 99px;
  background: #e7e2d7;
}

.status-art-line--long {
  width: 92%;
}

.status-art-line--short {
  width: 42%;
}

.status-art-badge {
  position: absolute;
  right: -9px;
  bottom: -9px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 0 0 4px var(--white);
}

.status-art-badge .icon {
  width: 13px;
  height: 13px;
}

.status-art-float {
  position: absolute;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  color: var(--green-soft);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(24, 41, 33, 0.1);
}

.status-art-float .icon {
  width: 15px;
  height: 15px;
}

.status-art-float--one {
  top: 24px;
  right: 9px;
  color: var(--accent-deep);
  transform: rotate(8deg);
}

.status-art-float--two {
  bottom: 8px;
  left: 5px;
  transform: rotate(-8deg);
}

.status-placeholder > .aside-kicker {
  margin-bottom: 10px;
}

.status-placeholder h2 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.status-placeholder > p:not(.aside-kicker) {
  max-width: 430px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.8;
}

.status-placeholder-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 27px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.status-placeholder-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 8.5px;
}

.status-placeholder-list li span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
}

.status-content {
  width: 100%;
  padding: 28px;
  background: var(--paper-2);
}

.status-result-head {
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.status-profile {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.status-profile-photo {
  position: relative;
  width: 72px;
  height: 86px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
}

.status-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-profile-photo > span:not(.status-profile-status) {
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--muted-light);
}

.status-profile-status {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--paper);
  background: rgba(11, 37, 28, 0.67);
  font-size: 6.5px;
  backdrop-filter: blur(5px);
}

.status-profile-status .status-dot {
  background: var(--lime);
}

.status-profile-main {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.status-result-kicker {
  margin-bottom: 3px;
  color: var(--muted-light);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.status-profile-main h2 {
  color: var(--ink);
  font-size: 23px;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.status-profile-main > p {
  margin-top: 3px;
  color: var(--green-soft);
  font-size: 10px;
}

.status-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin-top: 9px;
  color: var(--muted-light);
  font-size: 8px;
}

.status-profile-meta span + span {
  position: relative;
  padding-left: 11px;
}

.status-profile-meta span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
  transform: translateY(-50%);
}

.status-refresh {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  color: var(--muted);
  background: transparent;
}

.status-refresh .icon {
  width: 14px;
  height: 14px;
}

.status-state {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.status-state-icon {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--green-soft);
  background: var(--white);
}

.status-state--pending .status-state-icon {
  color: #b76a1f;
}

.status-state--rejected .status-state-icon {
  color: var(--red);
}

.status-state-icon .icon {
  width: 16px;
  height: 16px;
}

.status-state h3 {
  margin-top: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.status-state p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 650;
}

.status-badge.status--pending {
  color: #b76a1f;
  background: #fbefd9;
}

.status-badge.status--approved {
  color: #2c6a50;
  background: #e6f1e8;
}

.status-badge.status--rejected {
  color: #a64c3c;
  background: #f8e8e3;
}

.status-section {
  margin-top: 23px;
}

.status-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.status-section-head h3 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.status-section-head > span {
  color: var(--muted-light);
  font-size: 8px;
}

.tracking-list {
  padding-top: 18px;
}

.tracking-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding-bottom: 20px;
}

.tracking-item:last-child {
  padding-bottom: 0;
}

.tracking-item::before {
  position: absolute;
  top: 20px;
  bottom: -1px;
  left: 9px;
  width: 1px;
  background: var(--line);
  content: "";
}

.tracking-item:last-child::before {
  display: none;
}

.tracking-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted-light);
  background: var(--paper-2);
}

.tracking-marker .icon {
  width: 9px;
  height: 9px;
}

.tracking-item.is-complete .tracking-marker {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.tracking-item.is-current .tracking-marker {
  border-color: rgba(232, 117, 67, 0.32);
  background: var(--accent-soft);
}

.tracking-pulse {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 117, 67, 0.16);
}

.tracking-item > div {
  padding-top: 1px;
}

.tracking-item strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
}

.tracking-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.tracking-item.is-current strong {
  color: var(--accent-deep);
}

.tracking-item.is-current p {
  color: var(--muted);
}

.tracking-item--muted strong {
  color: var(--muted);
}

.status-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(46, 106, 88, 0.12);
  border-radius: 9px;
  background: var(--green-wash);
}

.status-note > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: rgba(255, 255, 255, 0.6);
}

.status-note > span .icon {
  width: 13px;
  height: 13px;
}

.status-note strong {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 650;
}

.status-note p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.status-note small {
  display: block;
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.status-note--neutral {
  border-color: var(--line);
  background: var(--paper);
}

.status-note--neutral > span {
  color: var(--muted);
  background: var(--white);
}

.status-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.status-meta-grid > div {
  display: flex;
  min-height: 55px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 9px 12px;
  background: var(--paper-2);
}

.status-meta-grid span {
  color: var(--muted-light);
  font-size: 7.5px;
}

.status-meta-grid strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-result-actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.status-result-actions .btn {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 10px;
}

.status-privacy-foot {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 19px;
  color: var(--muted-light);
  font-size: 7.5px;
  line-height: 1.55;
}

.status-help {
  padding: 65px 0;
  color: var(--paper);
  background: var(--green);
}

.status-help-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.status-help-copy h2 {
  color: var(--paper-2);
  font-size: clamp(30px, 3.5vw, 45px);
  font-weight: 680;
  line-height: 1.23;
  letter-spacing: -0.05em;
}

.status-help-copy h2 em {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.status-help-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 30px;
}

.status-help-contact > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.status-help-contact span {
  color: rgba(245, 241, 231, 0.35);
  font-size: 8px;
}

.status-help-contact a:not(.btn),
.status-help-contact strong {
  color: rgba(245, 241, 231, 0.75);
  font-size: 10.5px;
  font-weight: 500;
}

.status-help-contact .btn {
  min-height: 38px;
  padding: 8px 15px;
  color: var(--paper);
  border-color: rgba(245, 241, 231, 0.25);
  font-size: 9.5px;
}

.status-help-contact .btn:hover {
  color: var(--ink);
  background: var(--paper);
}

/* ==========================================================================
   Login
   ========================================================================== */
.login-page {
  min-height: 100vh;
  background: var(--paper);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(520px, 0.95fr);
  min-height: 100vh;
}

.login-brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 37px 52px 26px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 9%, rgba(217, 238, 155, 0.14), transparent 23%),
    var(--green-deep);
}

.login-brand-panel::before {
  position: absolute;
  top: -260px;
  left: -160px;
  width: 630px;
  height: 630px;
  border: 1px solid rgba(245, 241, 231, 0.06);
  border-radius: 50%;
  content: "";
}

.login-brand-panel::after {
  position: absolute;
  right: -130px;
  bottom: -230px;
  width: 530px;
  height: 530px;
  border: 1px dashed rgba(245, 241, 231, 0.07);
  border-radius: 50%;
  content: "";
}

.login-brand-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.login-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(245, 241, 231, 0.48);
  font-size: 9.5px;
  transition: color 0.2s;
}

.login-back:hover {
  color: var(--paper);
}

.login-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 550px;
  margin-top: 58px;
}

.login-brand-copy h1 {
  color: var(--paper-2);
  font-size: clamp(44px, 4.6vw, 63px);
  font-weight: 710;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.login-brand-copy h1 span {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
}

.login-brand-copy > p:not(.eyebrow) {
  margin-top: 20px;
  color: rgba(245, 241, 231, 0.47);
  font-size: 11.5px;
  line-height: 1.85;
}

.login-visual {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(200px, 0.8fr);
  grid-template-rows: auto 1fr;
  gap: 14px;
  margin-top: 42px;
  min-height: 270px;
}

.login-visual-image {
  position: relative;
  grid-row: span 2;
  min-height: 286px;
  overflow: hidden;
  border-radius: 14px;
  background: #22443a;
}

.login-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.45) brightness(0.8);
}

.login-visual-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 26, 20, 0.65), transparent 65%);
}

.login-todo-card {
  padding: 16px;
  border: 1px solid rgba(245, 241, 231, 0.13);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.055);
  backdrop-filter: blur(10px);
}

.login-todo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-todo-head .mini-label {
  color: rgba(245, 241, 231, 0.33);
  font-size: 7.5px;
}

.login-todo-main {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 18px;
}

.login-todo-main strong {
  color: var(--lime);
  font-size: 41px;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.login-todo-main span {
  color: rgba(245, 241, 231, 0.55);
  font-size: 9px;
  line-height: 1.45;
}

.login-todo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 241, 231, 0.1);
  color: rgba(245, 241, 231, 0.28);
  font-size: 7.5px;
}

.login-visual-quote {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(217, 238, 155, 0.12);
  border-radius: 12px;
  background: rgba(217, 238, 155, 0.045);
}

.login-quote-mark {
  position: absolute;
  top: 1px;
  left: 12px;
  color: rgba(217, 238, 155, 0.18);
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
}

.login-visual-quote p {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: rgba(245, 241, 231, 0.68);
  font-family: var(--font-serif);
  font-size: 10.5px;
  line-height: 1.75;
}

.login-visual-quote > span:last-child {
  display: block;
  margin-top: 9px;
  color: rgba(245, 241, 231, 0.27);
  font-size: 7.5px;
}

.login-brand-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(245, 241, 231, 0.2);
  font-size: 8px;
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 42px;
  background:
    radial-gradient(circle at 85% 15%, rgba(217, 238, 155, 0.14), transparent 23%),
    var(--paper);
}

.login-panel-inner {
  width: min(408px, 100%);
}

.login-mobile-brand {
  display: none;
}

.login-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(207, 198, 181, 0.7);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 22px 60px rgba(24, 41, 33, 0.07);
  backdrop-filter: blur(14px);
}

.login-card-head {
  margin-bottom: 26px;
}

.login-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 8px;
  font-weight: 650;
}

.login-card-head h2 {
  color: var(--ink);
  font-size: 31px;
  font-weight: 690;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.login-card-head p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.login-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 21px;
  padding: 3px;
  border-radius: 8px;
  background: var(--paper-3);
}

.login-tab {
  display: flex;
  flex: 1;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 550;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.login-tab:hover {
  color: var(--ink);
}

.login-tab.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 5px rgba(24, 41, 33, 0.1);
  font-weight: 650;
}

.login-tab .phase-tag {
  height: 16px;
  padding: 0 4px;
  font-size: 7px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-form .field {
  gap: 6px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -1px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 8.5px;
  cursor: pointer;
}

.remember-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.remember-check .check-visual {
  width: 14px;
  height: 14px;
}

.login-help {
  color: var(--muted-light);
  font-size: 8px;
}

.login-submit {
  min-height: 48px;
  margin-top: 3px;
  font-size: 12px;
}

.demo-account-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 10px;
  border: 1px dashed rgba(46, 106, 88, 0.2);
  border-radius: 8px;
  background: var(--green-wash);
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.demo-account-card:hover {
  border-color: rgba(46, 106, 88, 0.42);
  background: #e2ece3;
}

.demo-account-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: var(--green-soft);
  background: var(--white);
}

.demo-account-card > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.demo-account-card strong {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
}

.demo-account-card small {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.demo-account-action {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--green-soft);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 12px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.login-divider::before,
.login-divider::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.login-alt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.login-alt-row a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8.5px;
  transition: color 0.2s;
}

.login-alt-row a:hover {
  color: var(--green-soft);
}

.login-legal {
  margin-top: 19px;
  color: var(--muted-light);
  font-size: 7.5px;
  line-height: 1.7;
  text-align: center;
}

.login-mobile-brand {
  display: none;
}

.wechat-preview {
  padding-top: 2px;
}

.wechat-preview-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.wechat-logo {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #07c160;
}

.wechat-logo .icon {
  width: 19px;
  height: 19px;
}

.wechat-preview-head > div {
  flex: 1;
}

.wechat-preview-head h3 {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.wechat-preview-head p {
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 8px;
}

.wechat-preview-head .phase-tag {
  flex: 0 0 auto;
}

.wechat-qr-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 22px 0 18px;
}

.wechat-qr {
  position: relative;
  display: grid;
  width: 164px;
  height: 164px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(18, 59, 49, 0.035) 8px 9px),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(18, 59, 49, 0.035) 8px 9px),
    #fff;
}

.wechat-qr-pattern {
  width: 104px;
  height: 104px;
  opacity: 0.8;
  background:
    linear-gradient(90deg, var(--ink) 12%, transparent 12% 22%, var(--ink) 22% 35%, transparent 35% 44%, var(--ink) 44% 56%, transparent 56% 66%, var(--ink) 66% 78%, transparent 78% 88%, var(--ink) 88%),
    linear-gradient(0deg, var(--ink) 10%, transparent 10% 18%, var(--ink) 18% 22%, transparent 22% 35%, var(--ink) 35% 48%, transparent 48% 62%, var(--ink) 62% 70%, transparent 70% 83%, var(--ink) 83% 90%, transparent 90%);
  background-blend-mode: multiply;
  mask-image: linear-gradient(#000, #000);
}

.wechat-qr::before,
.wechat-qr::after {
  position: absolute;
  width: 37px;
  height: 37px;
  border: 5px solid var(--ink);
  border-radius: 4px;
  content: "";
}

.wechat-qr::before {
  top: 13px;
  left: 13px;
}

.wechat-qr::after {
  top: 13px;
  right: 13px;
}

.wechat-qr-center {
  position: absolute;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #07c160;
  box-shadow: 0 0 0 5px #fff;
}

.wechat-qr-center .icon {
  width: 21px;
  height: 21px;
}

.wechat-qr-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(2.5px);
}

.wechat-qr-overlay span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  background: var(--paper-2);
  font-size: 8.5px;
  font-weight: 600;
}

.wechat-preview-note {
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper-3);
  font-size: 8.5px;
  line-height: 1.7;
}

.wechat-future-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 14px 0 17px;
}

.wechat-future-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

.wechat-future-list li span {
  color: var(--accent);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
}

.login-tab-panel--wechat .btn {
  min-height: 40px;
  font-size: 10px;
}

/* ==========================================================================
   Admin workspace
   ========================================================================== */
.admin-body {
  min-height: 100vh;
  color: var(--ink);
  background: #f2f0e9;
  font-size: 13px;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  width: 232px;
  height: 100vh;
  flex: 0 0 232px;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px 16px 16px;
  color: var(--paper);
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 238, 155, 0.08), transparent 28%),
    var(--green-deep);
  scrollbar-width: none;
}

.admin-sidebar::-webkit-scrollbar {
  display: none;
}

.admin-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 2px 7px 20px;
}

.admin-brand-row .brand {
  gap: 9px;
}

.admin-brand-row .brand-mark {
  width: 33px;
  height: 33px;
  border-radius: 9px;
}

.admin-brand-row .brand-mark svg {
  width: 25px;
  height: 25px;
}

.admin-brand-row .brand-name {
  font-size: 15px;
}

.admin-brand-row .brand-sub {
  font-size: 6.5px;
}

.admin-workspace-badge {
  display: inline-flex;
  height: 20px;
  align-items: center;
  padding: 0 7px;
  margin-left: 42px;
  border: 1px solid rgba(245, 241, 231, 0.12);
  border-radius: 4px;
  color: rgba(245, 241, 231, 0.42);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-nav-label {
  padding: 8px 10px 7px;
  color: rgba(245, 241, 231, 0.26);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-nav-link {
  position: relative;
  display: flex;
  min-height: 41px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: rgba(245, 241, 231, 0.55);
  font-size: 11.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.admin-nav-link:hover {
  color: rgba(245, 241, 231, 0.86);
  background: rgba(245, 241, 231, 0.05);
}

.admin-nav-link.is-active {
  color: var(--paper);
  background: rgba(245, 241, 231, 0.08);
  font-weight: 600;
}

.admin-nav-link.is-active::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 15px;
  border-radius: 99px;
  background: var(--lime);
  content: "";
  transform: translateY(-50%);
}

.admin-nav-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  color: rgba(245, 241, 231, 0.34);
  transition: color 0.2s;
}

.admin-nav-icon .icon {
  width: 15px;
  height: 15px;
}

.admin-nav-link.is-active .admin-nav-icon {
  color: var(--lime);
}

.admin-nav-link > span:nth-child(2) {
  flex: 1;
}

.admin-nav-badge {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--lime);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
}

.admin-nav-badge[hidden] {
  display: none;
}

.admin-wechat-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(217, 238, 155, 0.11);
  border-radius: 10px;
  background: rgba(217, 238, 155, 0.04);
}

.admin-wechat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-wechat-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  color: var(--green-deep);
  background: var(--lime);
}

.admin-wechat-icon .icon {
  width: 17px;
  height: 17px;
}

.admin-wechat-card .phase-tag {
  height: 17px;
  padding: 0 5px;
  color: rgba(217, 238, 155, 0.7);
  border-color: rgba(217, 238, 155, 0.16);
  background: rgba(217, 238, 155, 0.07);
  font-size: 7px;
}

.admin-wechat-card h3 {
  margin-top: 11px;
  color: rgba(245, 241, 231, 0.74);
  font-size: 10px;
  font-weight: 600;
}

.admin-wechat-card p {
  margin-top: 4px;
  color: rgba(245, 241, 231, 0.3);
  font-size: 7.5px;
  line-height: 1.65;
}

.admin-wechat-card .text-link {
  margin-top: 10px;
  color: rgba(217, 238, 155, 0.65);
  border: 0;
  font-size: 7.5px;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  padding: 11px 7px 3px;
  border-top: 1px solid rgba(245, 241, 231, 0.09);
}

.admin-user-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(245, 241, 231, 0.12);
  border-radius: 8px;
  color: var(--lime);
  background: rgba(245, 241, 231, 0.08);
  font-size: 11px;
  font-weight: 650;
}

.admin-user-meta {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.admin-user-meta strong {
  color: rgba(245, 241, 231, 0.8);
  font-size: 10px;
  font-weight: 600;
}

.admin-user-meta span {
  color: rgba(245, 241, 231, 0.28);
  font-size: 7.5px;
}

.admin-user-action {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 6px;
  color: rgba(245, 241, 231, 0.26);
  transition: color 0.2s, background 0.2s;
}

.admin-user-action:hover {
  color: rgba(245, 241, 231, 0.7);
  background: rgba(245, 241, 231, 0.06);
}

.admin-user-action .icon {
  width: 14px;
  height: 14px;
}

.admin-workspace {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(207, 198, 181, 0.45);
  background: rgba(250, 248, 242, 0.9);
  backdrop-filter: blur(18px);
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 9.5px;
}

.admin-breadcrumb .icon {
  color: var(--line-strong);
}

.admin-breadcrumb strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.admin-mobile-menu {
  display: none;
}

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

.admin-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 8.5px;
}

.admin-env-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.6);
  font-size: 8px;
}

.admin-env-pill .live-dot {
  width: 5px;
  height: 5px;
}

.admin-notice-wrap {
  position: relative;
}

.admin-notice-btn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: transparent;
}

.admin-notice-btn .icon {
  width: 15px;
  height: 15px;
}

.admin-notice-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--paper-2);
  border-radius: 50%;
  background: var(--accent);
}

.admin-notice-panel {
  position: absolute;
  top: 41px;
  right: -52px;
  width: 322px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: 0 20px 55px rgba(20, 37, 31, 0.15);
  animation: noticeIn 0.2s var(--ease);
}

@keyframes noticeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}

.admin-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px 10px;
}

.admin-notice-head strong {
  font-size: 11.5px;
  font-weight: 650;
}

.admin-notice-head span {
  color: var(--muted-light);
  font-size: 7.5px;
}

.admin-notice-panel > a {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 15px;
  border-top: 1px solid rgba(226, 220, 207, 0.65);
  transition: background 0.2s;
}

.admin-notice-panel > a:hover {
  background: var(--paper);
}

.notice-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
}

.notice-icon--orange {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.notice-icon--green {
  color: var(--green-soft);
  background: var(--green-wash);
}

.notice-icon--blue {
  color: var(--blue);
  background: var(--blue-soft);
}

.notice-icon .icon {
  width: 13px;
  height: 13px;
}

.admin-notice-panel > a > span:nth-child(2) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.admin-notice-panel > a strong {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.admin-notice-panel > a small {
  color: var(--muted-light);
  font-size: 8px;
  line-height: 1.45;
}

.notice-time {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 7px;
}

.admin-notice-foot {
  padding: 9px 15px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.admin-notice-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
}

.admin-notice-foot a:hover {
  color: var(--green-soft);
}

.admin-topbar-avatar {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-soft);
  background: var(--white);
  font-size: 10.5px;
  font-weight: 650;
}

.admin-main {
  flex: 1;
  padding: 27px 32px 52px;
}

.admin-loading {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted-light);
  font-size: 10px;
}

.admin-loading-bar {
  width: 90px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}

.admin-loading-bar::after {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--green-soft);
  content: "";
  animation: loadingSlide 1.2s infinite var(--ease);
}

@keyframes loadingSlide {
  from { transform: translateX(-100%); }
  to { transform: translateX(310%); }
}

.admin-view {
  max-width: 1380px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.admin-view.is-visible,
.admin-view--loaded {
  opacity: 1;
  transform: none;
}

.admin-view--logs,
.admin-view--messages,
.admin-view--jobs {
  opacity: 1;
  transform: none;
}

/* Admin page headings */
.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 23px;
}

.admin-page-intro {
  min-width: 0;
}

.admin-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--muted-light);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-page-head h1 {
  color: var(--ink);
  font-size: 30px;
  font-weight: 710;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.admin-page-lede {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.admin-page-lede strong {
  color: var(--green-soft);
  font-weight: 650;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.admin-page-actions .btn {
  min-height: 35px;
  padding: 8px 13px;
  font-size: 9.5px;
}

.admin-page-actions .btn--ghost {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.admin-readonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.5);
  font-size: 8px;
  font-weight: 550;
}

/* Metrics */
.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 15px;
}

.metric-card {
  position: relative;
  min-height: 144px;
  overflow: hidden;
  padding: 17px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.metric-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 550;
}

.metric-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.metric-icon .icon {
  width: 13px;
  height: 13px;
}

.metric-value {
  margin-top: 9px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-value small {
  margin-left: 4px;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
}

.metric-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  font-weight: 600;
}

.metric-trend.is-up {
  color: var(--green-soft);
  background: var(--green-wash);
}

.metric-trend.is-warning {
  color: #a6621d;
  background: #fbefd9;
}

.metric-trend.is-neutral {
  color: var(--muted);
  background: var(--paper-3);
}

.metric-sparkline {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 76px;
  height: 26px;
  opacity: 0.5;
}

.metric-sparkline polyline {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-sparkline--green polyline {
  stroke: var(--green-soft);
}

.metric-sparkline--light polyline {
  stroke: var(--lime);
}

.metric-card--primary {
  color: var(--paper);
  border-color: var(--green);
  background:
    radial-gradient(circle at 96% 4%, rgba(217, 238, 155, 0.14), transparent 30%),
    var(--green);
}

.metric-card--primary .metric-head,
.metric-card--primary .metric-foot {
  color: rgba(245, 241, 231, 0.49);
}

.metric-card--primary .metric-value {
  color: var(--paper);
}

.metric-card--primary .metric-value small {
  color: rgba(245, 241, 231, 0.42);
}

.metric-card--primary .metric-icon {
  color: var(--lime);
  background: rgba(217, 238, 155, 0.1);
}

.metric-card--primary .metric-trend.is-up {
  color: var(--lime);
  background: rgba(217, 238, 155, 0.09);
}

.metric-card--primary .metric-sparkline {
  opacity: 0.7;
}

/* Cards */
.admin-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 20px 15px;
}

.admin-card-kicker {
  margin-bottom: 4px;
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.admin-card-head h2 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 660;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.admin-card-chip {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.36);
  font-size: 7.5px;
  font-weight: 550;
  white-space: nowrap;
}

.admin-card-count {
  display: inline-flex;
  min-width: 18px;
  height: 17px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  font-weight: 650;
  vertical-align: 1px;
}

.admin-card-link {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 550;
}

.admin-card-link:hover {
  color: var(--green-soft);
}

.admin-dashboard-grid {
  display: grid;
  gap: 15px;
}

.admin-dashboard-grid--top {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.85fr);
  margin-bottom: 15px;
}

.admin-dashboard-grid--bottom {
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.95fr);
}

/* Chart */
.chart-card {
  min-width: 0;
}

.admin-chart-tabs {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.admin-chart-tabs button {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--muted-light);
  font-size: 7.5px;
  transition: color 0.2s, background 0.2s;
}

.admin-chart-tabs button:hover {
  color: var(--ink);
}

.admin-chart-tabs button.is-active {
  color: var(--ink-soft);
  background: var(--white);
  box-shadow: 0 1px 3px rgba(20, 37, 31, 0.08);
  font-weight: 600;
}

.chart-summary {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  padding: 1px 20px 2px;
}

.chart-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-summary > div span {
  color: var(--muted-light);
  font-size: 7.5px;
}

.chart-summary > div strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.045em;
}

.chart-summary > div strong small {
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.chart-summary-note {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding-bottom: 2px;
  color: var(--green-soft);
  font-size: 7.5px;
}

.chart-visual {
  padding: 7px 12px 0 4px;
}

.line-chart {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid-line {
  stroke: rgba(207, 198, 181, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.chart-axis-text {
  fill: var(--muted-light);
  font-family: var(--font-sans);
  font-size: 8.5px;
}

.chart-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line--green {
  stroke: var(--green-soft);
}

.chart-line--orange {
  stroke: var(--accent);
  stroke-dasharray: 4 5;
}

.chart-dot {
  stroke-width: 2;
}

.chart-dot--green {
  fill: var(--paper-2);
  stroke: var(--green-soft);
}

.chart-dot--orange {
  fill: var(--paper-2);
  stroke: var(--accent);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 2px 20px 16px;
  color: var(--muted);
  font-size: 7.5px;
}

.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend-dot--green {
  background: var(--green-soft);
}

.legend-dot--orange {
  background: var(--accent);
}

.chart-updated {
  margin-left: auto;
  color: var(--muted-light);
}

/* Funnel */
.funnel-card {
  min-width: 0;
}

.funnel-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px 6px;
}

.funnel-summary > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.funnel-summary > div span {
  color: var(--muted-light);
  font-size: 7.5px;
}

.funnel-summary > div strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.funnel-summary > div small {
  margin-left: 1px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 500;
}

.funnel-arrow {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-bottom: 2px;
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.funnel-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 18px 20px 14px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 9px;
}

.funnel-row-head {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.funnel-row-head span {
  color: var(--muted);
  font-size: 8px;
}

.funnel-row-head strong {
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.funnel-row-head small {
  margin-left: 2px;
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 400;
}

.funnel-track {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-3);
}

.funnel-bar {
  display: block;
  height: 100%;
  min-width: 5px;
  border-radius: inherit;
  background: var(--green-soft);
}

.funnel-bar--mid {
  background: #6f9b86;
}

.funnel-bar--light {
  background: #a4bea7;
}

.funnel-bar--accent {
  background: var(--accent);
}

.funnel-rate {
  color: var(--muted-light);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  text-align: right;
}

.funnel-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 20px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 7.5px;
}

.funnel-foot strong {
  margin-right: 5px;
  color: var(--green-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8.5px;
  font-weight: 650;
}

.funnel-foot-divider {
  width: 1px;
  height: 9px;
  margin: 0 2px;
  background: var(--line);
}

/* Activity */
.activity-list {
  padding: 0 20px;
}

.activity-item {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid rgba(226, 220, 207, 0.7);
}

.activity-item:first-child {
  border-top: 0;
}

.activity-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.activity-icon .icon {
  width: 12px;
  height: 12px;
}

.activity-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.activity-copy p {
  overflow: hidden;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-copy p strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.activity-copy p span {
  color: var(--muted);
}

.activity-copy > span {
  color: var(--muted-light);
  font-size: 7.5px;
}

.activity-empty {
  padding: 32px 0;
  color: var(--muted-light);
  font-size: 9px;
  text-align: center;
}

.activity-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 7.5px;
}

.card-foot-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 7.5px;
}

/* Admin table & filter primitives */
.admin-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--line);
}

.admin-mini-stat {
  display: flex;
  min-height: 91px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 15px 17px;
  background: var(--paper-2);
}

.admin-mini-stat > span {
  color: var(--muted);
  font-size: 8px;
}

.admin-mini-stat > strong {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.admin-mini-stat > strong small {
  margin-left: 2px;
  color: var(--muted-light);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
}

.admin-mini-stat > em {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted-light);
  font-size: 7.5px;
  font-style: normal;
}

.admin-mini-stat--accent {
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 238, 155, 0.09), transparent 40%),
    var(--green);
}

.admin-mini-stat--accent > span,
.admin-mini-stat--accent > em {
  color: rgba(245, 241, 231, 0.42);
}

.admin-mini-stat--accent > strong {
  color: var(--paper);
}

.admin-mini-stat--accent > strong small {
  color: rgba(245, 241, 231, 0.35);
}

.admin-mini-stat--accent > em {
  color: rgba(217, 238, 155, 0.55);
}

.admin-mini-stat .admin-mini-stat-time {
  padding-top: 4px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.admin-table-card {
  overflow: hidden;
}

.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
}

.admin-tab {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 8.5px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.admin-tab > span {
  display: inline-flex;
  min-width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border-radius: 3px;
  color: var(--muted-light);
  background: var(--paper-3);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6.5px;
  font-weight: 550;
}

.admin-tab:hover {
  color: var(--ink);
  background: var(--paper);
}

.admin-tab.is-active {
  color: var(--ink);
  background: var(--paper);
  font-weight: 600;
}

.admin-tab.is-active > span {
  color: var(--green-soft);
  background: var(--green-wash);
}

.admin-tabs--scroll {
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-tabs--scroll::-webkit-scrollbar {
  display: none;
}

.admin-table-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.admin-search {
  display: flex;
  width: 206px;
  min-height: 31px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted-light);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-search:focus-within {
  border-color: rgba(46, 106, 88, 0.55);
  box-shadow: 0 0 0 3px rgba(46, 106, 88, 0.07);
}

.admin-search .icon {
  flex: 0 0 auto;
}

.admin-search input {
  width: 100%;
  height: 29px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 8.5px;
  outline: none;
}

.admin-search input::placeholder {
  color: var(--muted-light);
}

.admin-search--wide {
  width: 260px;
}

.admin-select {
  position: relative;
  display: flex;
  min-height: 31px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.admin-select select {
  height: 29px;
  min-width: 104px;
  max-width: 150px;
  padding: 0 26px 0 9px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 8.5px;
  outline: none;
  cursor: pointer;
}

.admin-select .icon {
  position: absolute;
  right: 8px;
  color: var(--muted-light);
  pointer-events: none;
}

.admin-table-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 8px;
}

.admin-table-summary p {
  color: var(--muted);
}

.admin-table-summary strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.admin-table-summary > span:nth-child(2) {
  color: var(--muted-light);
}

.admin-table-summary-note {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: var(--muted-light);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  background: rgba(245, 241, 231, 0.45);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.admin-table th:first-child,
.admin-table td:first-child {
  padding-left: 18px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  padding-right: 18px;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 220, 207, 0.66);
  color: var(--ink-soft);
  font-size: 9px;
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background 0.18s;
}

.admin-table tbody tr:hover {
  background: rgba(245, 241, 231, 0.52);
}

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

.admin-table--compact td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.admin-table-actions {
  text-align: right;
  white-space: nowrap;
}

.admin-job-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.table-action {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.5);
  font-size: 7.5px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.table-action:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--white);
}

.table-action--primary {
  color: var(--green-soft);
  border-color: rgba(46, 106, 88, 0.22);
  background: var(--green-wash);
}

.table-action--primary:hover {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.admin-person-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 140px;
}

.admin-person-cell--small {
  min-width: 115px;
}

.admin-avatar {
  display: grid;
  width: 31px;
  height: 35px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 10px;
  font-weight: 650;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-avatar--text {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 9px;
}

.admin-person-cell > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.admin-person-cell strong {
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.admin-person-cell span {
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.4;
  white-space: nowrap;
}

.admin-table-role {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-time {
  display: block;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
  white-space: nowrap;
}

.admin-table-subtime {
  display: block;
  margin-top: 1px;
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.4;
}

.admin-table-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.admin-table-stack strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8.5px;
  font-weight: 550;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-stack span {
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.4;
  white-space: nowrap;
}

.admin-table-phone {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.admin-table-salary {
  color: var(--green-soft);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.admin-table-number {
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 600;
}

.admin-table-unit {
  margin-left: 1px;
  color: var(--muted-light);
  font-size: 7px;
}

.admin-table-ip {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  white-space: nowrap;
}

.admin-table-detail {
  display: block;
  max-width: 208px;
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table-empty {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px 20px;
  text-align: center;
}

.admin-table-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.admin-table-empty > span .icon {
  width: 18px;
  height: 18px;
}

.admin-table-empty strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.admin-table-empty p {
  margin-top: 3px;
  color: var(--muted-light);
  font-size: 8px;
}

.admin-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 49px;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
}

.admin-table-foot-note {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.admin-table-foot-live {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.admin-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted-light);
  font-size: 7.5px;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.page-btn {
  display: inline-flex;
  min-width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7.5px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.page-btn:hover:not(:disabled) {
  color: var(--ink);
  background: var(--paper);
}

.page-btn.is-active {
  color: var(--green-soft);
  border-color: rgba(46, 106, 88, 0.2);
  background: var(--green-wash);
  font-weight: 650;
}

.page-btn--arrow .icon {
  width: 11px;
  height: 11px;
}

.page-btn:disabled {
  opacity: 0.3;
}

.page-ellipsis {
  min-width: 14px;
  color: var(--muted-light);
  font-size: 8px;
  text-align: center;
}

.admin-note-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 13px 16px;
  border: 1px solid rgba(232, 117, 67, 0.16);
  border-radius: 9px;
  background: rgba(250, 227, 215, 0.35);
}

.admin-note-strip--green {
  border-color: rgba(46, 106, 88, 0.16);
  background: rgba(231, 238, 231, 0.6);
}

.admin-note-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-deep);
  background: rgba(255, 253, 248, 0.65);
}

.admin-note-strip--green .admin-note-icon {
  color: var(--green-soft);
}

.admin-note-strip p {
  flex: 1;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.admin-note-strip p strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.admin-note-strip > span:last-child {
  flex: 0 0 auto;
  color: var(--accent-deep);
  font-size: 7.5px;
  font-weight: 550;
  opacity: 0.65;
}

.admin-note-strip .text-link {
  flex: 0 0 auto;
  color: var(--green-soft);
  font-size: 8.5px;
}

/* Review */
.review-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.review-drawer .ui-panel {
  background: var(--paper-2);
}

.review-drawer-layer .layer-head {
  padding: 23px 28px 19px;
}

.review-drawer-layer .layer-body {
  padding: 25px 28px 30px;
}

.review-hero {
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.review-photo {
  position: relative;
  flex: 0 0 auto;
  width: 146px;
  height: 184px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper-3);
}

.review-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-photo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: var(--muted-light);
}

.review-photo-placeholder .icon {
  width: 25px;
  height: 25px;
}

.review-photo-placeholder small {
  font-size: 7.5px;
}

.photo-demo-tag {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(14, 45, 37, 0.6);
  font-size: 6.5px;
  backdrop-filter: blur(4px);
}

.review-hero-main {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.review-time {
  margin-left: auto;
  color: var(--muted-light);
  font-size: 7px;
}

.review-hero-main h3 {
  margin-top: 9px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 690;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.review-role {
  margin-top: 3px;
  color: var(--green-soft);
  font-size: 9.5px;
}

.review-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.review-facts > div {
  display: flex;
  min-height: 45px;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  padding: 6px 8px;
  background: var(--paper-2);
}

.review-facts span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.review-facts strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
}

.review-contact span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8px;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(205px, 0.82fr);
  gap: 24px;
  margin-top: 23px;
}

.review-main-col,
.review-side-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-section {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.review-section:last-child {
  border-bottom: 0;
}

.review-section h3,
.review-side-card h3 {
  margin-bottom: 10px;
  color: var(--muted-light);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-intro {
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 11.5px;
  line-height: 1.9;
}

.review-fact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.review-fact-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.review-fact-icon .icon {
  width: 14px;
  height: 14px;
}

.review-fact-row strong {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 600;
}

.review-fact-row p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.review-side-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.review-side-card h3 {
  margin-bottom: 9px;
}

.review-file {
  display: flex;
  align-items: center;
  gap: 7px;
}

.review-file > span {
  display: grid;
  width: 27px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 5px;
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.review-file > span .icon {
  width: 14px;
  height: 14px;
}

.review-file > div {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.review-file strong {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-file small {
  color: var(--muted-light);
  font-size: 6.5px;
}

.review-file > .icon {
  color: var(--green-soft);
}

.review-empty-file {
  color: var(--muted-light);
  font-size: 8px;
}

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

.review-dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.review-dl dt {
  color: var(--muted-light);
  font-size: 7.5px;
}

.review-dl dd {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 550;
  text-align: right;
}

.review-dl dd.is-verified {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--green-soft);
}

.review-timeline {
  display: flex;
  flex-direction: column;
}

.review-timeline-item {
  position: relative;
  display: flex;
  gap: 7px;
  padding-bottom: 13px;
}

.review-timeline-item:last-child {
  padding-bottom: 0;
}

.review-timeline-item::before {
  position: absolute;
  top: 14px;
  bottom: 0;
  left: 6px;
  width: 1px;
  background: var(--line);
  content: "";
}

.review-timeline-item:last-child::before {
  display: none;
}

.review-timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
}

.review-timeline-item.is-current .review-timeline-dot {
  color: var(--paper);
  background: var(--green);
}

.review-timeline-dot .icon {
  width: 7px;
  height: 7px;
}

.review-timeline-item > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.review-timeline-item strong {
  color: var(--ink-soft);
  font-size: 7.5px;
  font-weight: 550;
  line-height: 1.5;
}

.review-timeline-item span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.review-action-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}

.review-action-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.review-action-head h3 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.review-action-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.6;
}

.admin-textarea {
  width: 100%;
  min-height: 89px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  font-size: 9.5px;
  line-height: 1.65;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-textarea:focus {
  border-color: rgba(46, 106, 88, 0.55);
  box-shadow: 0 0 0 3px rgba(46, 106, 88, 0.07);
}

.review-quick-reasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.review-quick-reasons > span {
  color: var(--muted-light);
  font-size: 7px;
}

.review-quick-reasons button {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--paper-2);
  font-size: 7px;
  transition: color 0.2s, border-color 0.2s;
}

.review-quick-reasons button:hover {
  color: var(--red);
  border-color: rgba(181, 75, 59, 0.35);
}

.review-action-box > .field-error {
  margin-top: 7px;
}

.review-action-hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  color: var(--muted-light);
  font-size: 7px;
}

.review-result-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}

.review-result-box--success {
  border-color: rgba(46, 106, 88, 0.15);
  background: var(--green-wash);
}

.review-result-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--white);
}

.review-result-icon .icon {
  width: 16px;
  height: 16px;
}

.review-result-box h3 {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.review-result-box p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.review-result-box small {
  display: block;
  margin-top: 5px;
  color: var(--muted-light);
  font-size: 7px;
}

.review-drawer-layer .layer-footer {
  justify-content: space-between;
  padding: 13px 28px;
}

.review-footer-note {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.review-footer-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.review-drawer-layer .layer-footer .btn {
  min-height: 37px;
  padding: 8px 15px;
  font-size: 9.5px;
}

/* Job cells */
.job-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 185px;
}

.job-cell-mark {
  display: grid;
  width: 28px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: var(--green-soft);
  background: var(--green-wash);
}

.job-cell-mark .icon {
  width: 14px;
  height: 14px;
}

.job-cell > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.job-cell strong {
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.job-cell span {
  color: var(--muted-light);
  font-size: 7px;
  white-space: nowrap;
}

/* Generic admin modal form */
.admin-modal {
  background: var(--paper-2);
}

.admin-modal .layer-head {
  padding: 24px 28px 20px;
}

.admin-modal .layer-body {
  padding: 22px 28px;
}

.admin-modal .layer-footer {
  padding: 15px 28px;
}

.admin-form .form-grid {
  gap: 15px 14px;
}

.admin-form .field {
  gap: 6px;
}

.admin-form .field-label {
  font-size: 9px;
}

.admin-form .field-hint {
  font-size: 7px;
}

.admin-form input,
.admin-form select {
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 9px;
  background: var(--white);
}

.admin-form textarea {
  min-height: 72px;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 9px;
  background: var(--white);
}

.admin-form .field-error {
  font-size: 7.5px;
}

.admin-job-modal {
  width: min(720px, calc(100vw - 40px));
}

.job-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.job-form-body {
  max-height: calc(100vh - 190px);
}

.job-form-footer {
  justify-content: space-between !important;
}

.job-form-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
  font-size: 7.5px;
}

.job-form-status > span {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 5px;
  padding-left: 11px;
  border-left: 1px solid var(--line);
}

.job-form-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}

.job-form-buttons .btn {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 9px;
}

/* ==========================================================================
   Admin messages
   ========================================================================== */
.messages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: 15px;
  align-items: start;
}

.message-list {
  display: flex;
  flex-direction: column;
}

.message-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 195px 57px;
  gap: 17px;
  align-items: center;
  padding: 15px 18px;
  border-top: 1px solid rgba(226, 220, 207, 0.68);
}

.message-row:first-child {
  border-top: 0;
}

.message-row-main {
  min-width: 0;
}

.message-row-head {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.message-row-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--green-soft);
  background: var(--green-wash);
  font-size: 6.5px;
  font-weight: 600;
}

.message-row-status .status-dot {
  width: 4px;
  height: 4px;
}

.message-row-head h3 {
  overflow: hidden;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  margin-top: 5px;
}

.message-row-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted-light);
  font-size: 7px;
}

.message-row-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--muted);
  background: var(--paper-3);
  font-size: 6.5px;
  line-height: 1.3;
}

.channel-chip .icon {
  width: 9px;
  height: 9px;
}

.channel-chip--wechat {
  color: #1c7a45;
  background: #e8f6ed;
}

.message-row-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.message-row-stats > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.message-row-stats strong {
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
}

.message-row-stats span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.message-row-action {
  justify-self: end;
}

.messages-aside {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.channel-card .admin-card-head {
  padding-bottom: 10px;
}

.channel-list {
  padding: 0 15px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid rgba(226, 220, 207, 0.68);
}

.channel-item-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
}

.channel-item-icon .icon {
  width: 14px;
  height: 14px;
}

.channel-item-icon--green {
  color: var(--green-soft);
  background: var(--green-wash);
}

.channel-item-icon--orange {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.channel-item-icon--wechat {
  color: #168b4a;
  background: #e8f6ed;
}

.channel-item > div {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.channel-item strong {
  color: var(--ink-soft);
  font-size: 8.5px;
  font-weight: 600;
}

.channel-item p,
.channel-item > div span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.channel-state {
  flex: 0 0 auto;
  color: var(--muted-light);
  font-size: 6.5px;
}

.channel-state.is-on {
  color: var(--green-soft);
}

.channel-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin: 5px 15px 15px;
  padding: 10px;
  border-radius: 6px;
  background: var(--paper);
}

.channel-note .icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--muted-light);
}

.channel-note p {
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.6;
}

.message-tip-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  color: var(--paper);
  border-color: var(--green);
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 238, 155, 0.12), transparent 35%),
    var(--green);
}

.message-tip-card .message-tip-icon {
  display: grid;
  width: 31px;
  height: 31px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  color: var(--lime);
  background: rgba(217, 238, 155, 0.1);
}

.message-tip-card .admin-card-kicker {
  color: rgba(245, 241, 231, 0.3);
}

.message-tip-card h2 {
  margin-top: 4px;
  color: var(--paper-2);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.message-tip-card > p:not(.admin-card-kicker) {
  margin-top: 9px;
  color: rgba(245, 241, 231, 0.42);
  font-size: 8px;
  line-height: 1.8;
}

.message-tip-card .text-link {
  margin-top: 15px;
  color: var(--lime);
  border: 0;
  font-size: 8.5px;
}

/* Message detail */
.modal--message {
  width: min(580px, calc(100vw - 40px));
}

.message-detail-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.message-detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 19px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.message-detail-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.message-detail-meta span {
  color: var(--muted-light);
  font-size: 7px;
}

.message-detail-meta strong {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
}

.message-detail-content {
  margin-top: 18px;
}

.detail-label {
  margin-bottom: 8px;
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-bubble {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.message-bubble > strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}

.message-bubble > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.message-bubble > small {
  display: block;
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 7px;
}

.message-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}

.message-detail-metrics > div {
  display: flex;
  min-height: 55px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--paper);
}

.message-detail-metrics strong {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 650;
}

.message-detail-metrics span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.detail-footnote {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 14px;
  color: var(--muted-light);
  font-size: 7px;
  line-height: 1.6;
}

/* Message composer */
.modal--composer {
  width: min(920px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
}

.message-composer {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.message-composer-body {
  padding: 23px 26px;
  overflow-y: auto;
}

.message-composer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 27px;
  align-items: start;
}

.message-composer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-composer-form .field {
  gap: 6px;
}

.message-composer-form .field-label {
  font-size: 9px;
}

.channel-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.channel-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.channel-option:hover {
  border-color: var(--line-strong);
}

.channel-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.channel-option.is-checked {
  border-color: rgba(46, 106, 88, 0.4);
  background: var(--green-wash);
}

.channel-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.channel-option-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  color: var(--green-soft);
  background: var(--paper);
}

.channel-option-icon .icon {
  width: 13px;
  height: 13px;
}

.channel-option-icon--wechat {
  color: #168b4a;
  background: #e8f6ed;
}

.channel-option > span:nth-of-type(2) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.channel-option strong {
  color: var(--ink-soft);
  font-size: 8.5px;
  font-weight: 600;
}

.channel-option small {
  color: var(--muted-light);
  font-size: 6.5px;
}

.channel-check {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: transparent;
  background: var(--paper-2);
}

.channel-check .icon {
  width: 9px;
  height: 9px;
}

.channel-option.is-checked .channel-check {
  color: var(--paper);
  border-color: var(--green);
  background: var(--green);
}

.channel-option .phase-tag {
  flex: 0 0 auto;
}

.message-composer-form .field-meta {
  margin-top: -1px;
}

.message-preview-panel {
  position: sticky;
  top: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}

.message-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.message-preview-head .admin-card-kicker {
  margin: 0;
}

.message-preview-device {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(20, 37, 31, 0.05);
}

.message-preview-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(226, 220, 207, 0.65);
}

.brand-mark--small {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 6px;
  color: var(--paper);
  background: var(--green);
}

.message-preview-top > div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.message-preview-top strong {
  color: var(--ink-soft);
  font-size: 7.5px;
  font-weight: 600;
}

.message-preview-top span {
  color: var(--muted-light);
  font-size: 6.5px;
}

.message-preview-body {
  padding: 13px 12px 16px;
}

.message-preview-body > strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.message-preview-body > p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.message-preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-top: 1px solid rgba(226, 220, 207, 0.65);
  color: var(--muted-light);
  font-size: 6.5px;
}

.message-target-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 4px 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.message-target-summary > span {
  color: var(--muted-light);
  font-size: 7px;
}

.message-target-summary strong {
  color: var(--ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.message-target-summary strong small {
  margin-left: 1px;
  color: var(--muted-light);
  font-size: 7px;
  font-weight: 500;
}

.message-target-summary p {
  flex-basis: 100%;
  color: var(--muted-light);
  font-size: 7px;
}

.message-preview-note {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  margin-top: 10px;
  color: var(--muted-light);
  font-size: 6.5px;
  line-height: 1.55;
}

.message-composer > .layer-footer {
  justify-content: space-between;
}

.message-composer > .layer-footer::before {
  color: var(--muted-light);
  font-size: 7.5px;
  content: "发送前请确认关联职位、人群与文案";
}

/* ==========================================================================
   Admin audit logs
   ========================================================================== */
.module-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 6.5px;
  font-weight: 600;
  white-space: nowrap;
}

.module--review {
  color: #a75b19;
  background: #fbefd9;
}

.module--job {
  color: var(--green-soft);
  background: var(--green-wash);
}

.module--message {
  color: var(--blue);
  background: var(--blue-soft);
}

.module--system {
  color: var(--muted);
  background: var(--paper-3);
}

.module--candidate {
  color: #8b6b3f;
  background: #f3ead9;
}

.module--export {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.log-result {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  font-weight: 550;
  white-space: nowrap;
}

.log-result.is-success {
  color: var(--green-soft);
}

.log-result.is-failed {
  color: var(--red);
}

.admin-table--logs th:nth-child(7) {
  min-width: 170px;
}

.admin-table--logs td:nth-child(4) {
  min-width: 140px;
}

.modal--log {
  width: min(580px, calc(100vw - 40px));
}

.log-detail-body {
  padding: 22px 28px;
}

.log-detail-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.log-result.is-success {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--green-wash);
  font-size: 8px;
}

.log-result.is-failed {
  padding: 4px 7px;
  border-radius: 4px;
  background: var(--red-soft);
  font-size: 8px;
}

.log-detail-hero {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.log-detail-hero h3 {
  margin-top: 8px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 680;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.log-detail-hero p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.log-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}

.log-detail-grid > div {
  display: flex;
  min-height: 52px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 9px 11px;
  background: var(--paper-2);
}

.log-detail-grid span {
  color: var(--muted-light);
  font-size: 7px;
}

.log-detail-grid strong {
  color: var(--ink-soft);
  font-size: 8.5px;
  font-weight: 600;
}

.log-detail-grid strong.mono {
  font-size: 8px;
  font-weight: 500;
}

.log-detail-detail {
  margin-top: 17px;
}

.log-detail-copy {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--paper);
  font-size: 8.5px;
  line-height: 1.7;
}

.log-detail-integrity {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted-light);
}

.log-detail-integrity p {
  font-size: 7.5px;
  line-height: 1.6;
}

/* WeChat planning modal */
.modal--wechat {
  width: min(660px, calc(100vw - 40px));
}

.wechat-info-body {
  padding: 23px 27px;
}

.wechat-info-hero {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(46, 106, 88, 0.12);
  border-radius: 9px;
  background: var(--green-wash);
}

.wechat-info-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #07c160;
}

.wechat-info-icon .icon {
  width: 22px;
  height: 22px;
}

.wechat-info-hero strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.wechat-info-hero p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.wechat-roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 19px;
}

.wechat-roadmap-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.wechat-roadmap-item > span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-soft);
  background: var(--green-wash);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.wechat-roadmap-item strong {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
}

.wechat-roadmap-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.7;
}

.wechat-info-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 14px;
  padding: 11px;
  border-radius: 7px;
  background: var(--accent-soft);
}

.wechat-info-tip .icon {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent-deep);
}

.wechat-info-tip p {
  color: #8b5c44;
  font-size: 7.5px;
  line-height: 1.65;
}
