@font-face {
  font-family: "Hezao Display";
  src: url("/assets/fonts/noto-serif-sc-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #e7e9e2;
  --ground-deep: #dfe2da;
  --paper: #f8f8f2;
  --ink: #141b17;
  --forest: #16382b;
  --forest-deep: #0f291f;
  --signal: #f04b1f;
  --signal-deep: #d43b11;
  --signal-text: #a52e0c;
  --signal-light: #ff8a66;
  --muted: #5b675f;
  --muted-inverse: #aab9ae;
  --line: #bdc6bc;
  --line-strong: #7c887d;
  --line-inverse: rgba(248, 248, 242, 0.24);
  --serif: "Hezao Display", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --latin: "Bricolage", "Avenir Next", "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --page: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--ground);
}

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

::selection {
  background: var(--signal);
  color: var(--ink);
}

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

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

button {
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.drawing-frame {
  position: fixed;
  inset: 14px;
  border: 1px solid rgba(20, 27, 23, 0.14);
  pointer-events: none;
  z-index: 60;
}

.drawing-frame::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  background: var(--signal);
}

.drawing-frame::after {
  content: "hezao.lumorb.com";
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(20, 27, 23, 0.42);
}

.page-width {
  width: min(100% - (var(--gutter) * 2), var(--page));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  padding-block: 8px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 38px;
}

.brand-dot {
  color: var(--signal);
}

.brand-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  padding: 8px 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  cursor: pointer;
}

/* Shared form primitives */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

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

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

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

.btn-signal:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

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

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

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

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

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

.btn-small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
}

.btn-danger {
  border-color: #a52918;
  color: #8d1e10;
  background: transparent;
}

.btn-danger:hover {
  background: #8d1e10;
  color: #fff9f2;
}

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  font-weight: 500;
}

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

.text-link-inverse {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.form-label {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.form-label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

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

.control {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  appearance: none;
}

.control::placeholder {
  color: #5e6a62;
}

.control:hover {
  border-color: var(--line-strong);
}

.control:focus {
  outline: 2px solid var(--signal);
  outline-offset: 1px;
  border-color: var(--ink);
}

textarea.control {
  min-height: 138px;
  resize: vertical;
  line-height: 1.7;
}

select.control {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

.choice:hover {
  border-color: var(--ink);
}

.choice:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.form-status {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: #a12613;
}

.form-status.is-success {
  color: var(--forest);
}

.form-error {
  color: #a12613;
}

/* Home hero */

.hero {
  padding-block: clamp(52px, 7vw, 96px) clamp(72px, 9vw, 128px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(370px, 0.82fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.hero-copy {
  padding-top: clamp(10px, 2.5vw, 34px);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-title span {
  display: block;
}

.hero-title .line-accent {
  position: relative;
  display: inline-block;
}

.hero-title .line-accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: -0.01em;
  bottom: 0.02em;
  height: 4px;
  background: var(--signal);
  transform-origin: left;
  animation: underline-in 700ms 380ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-manifesto {
  margin-top: 32px;
  max-width: 33em;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.9;
  color: #39443c;
}

.hero-manifesto strong {
  font-weight: 600;
  color: var(--ink);
}

.hero-proof {
  display: flex;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(44px, 6vw, 78px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  max-width: 560px;
}

.proof-number {
  font-family: var(--latin);
  font-size: clamp(56px, 6.6vw, 84px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}

.proof-copy {
  padding-bottom: 3px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.proof-copy strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-aside {
  position: relative;
}

.hero-aside::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--signal);
}

.hero-aside::after {
  content: "";
  position: absolute;
  left: -27px;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
}

.inquiry-sheet {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: 8px 8px 0 rgba(20, 27, 23, 0.07);
}

.inquiry-sheet::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 5px;
  background: var(--signal);
  transform-origin: left;
  animation: bar-in 650ms 160ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sheet-head h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(27px, 2.7vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.sheet-head p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.inquiry-form {
  margin-top: 24px;
}

.inquiry-form .field-description {
  margin-top: 20px;
}

.inquiry-form textarea.control {
  min-height: 158px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.7em - 1px),
    rgba(20, 27, 23, 0.08) calc(1.7em - 1px),
    rgba(20, 27, 23, 0.08) 1.7em
  );
  background-position: 0 12px;
  background-attachment: local;
}

.hint-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.hint-chip {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 3px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.hint-chip:hover {
  color: var(--ink);
  border-color: var(--signal);
}

.file-drop {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 13px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.file-drop:hover,
.file-drop.is-dragging,
.file-drop:has(input:focus-visible) {
  border-color: var(--ink);
  background: rgba(20, 27, 23, 0.035);
}

.file-drop:has(input:focus-visible) {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.file-drop strong {
  color: var(--ink);
  font-weight: 500;
}

.file-drop span {
  font-size: 12px;
  color: var(--muted);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  background: var(--ground);
  font-size: 12px;
  line-height: 1.4;
}

.file-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  flex: none;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
}

.file-remove:hover {
  color: var(--signal-text);
}

.contact-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 20px;
}

.inquiry-form .btn-submit {
  width: 100%;
  margin-top: 18px;
  min-height: 54px;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.form-note span {
  display: block;
}

.sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.sheet-foot a {
  color: var(--ink);
  text-decoration-color: var(--signal);
  text-underline-offset: 3px;
}

/* Process */

.process {
  background: var(--forest);
  color: var(--paper);
  padding-block: clamp(72px, 9vw, 122px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 31em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted-inverse);
}

.section-head p strong {
  color: var(--paper);
  font-weight: 500;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(50px, 7vw, 78px);
  border-top: 1px solid var(--line-inverse);
}

.step {
  position: relative;
  padding: 34px 34px 0 0;
}

.step + .step {
  padding-left: 34px;
  border-left: 1px solid var(--line-inverse);
}

.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--signal);
}

.step + .step::before {
  left: -6px;
}

.step-no {
  display: block;
  font-family: var(--latin);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--signal-light);
}

.step h3 {
  margin-top: 46px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 31px);
  font-weight: 900;
  line-height: 1.3;
}

.step p {
  margin-top: 12px;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted-inverse);
}

.translation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  margin-top: clamp(62px, 8vw, 104px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line-inverse);
}

.quote-panel blockquote {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.62;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.quote-panel blockquote::before {
  content: "「";
  color: var(--signal);
}

.quote-panel blockquote::after {
  content: "」";
  color: var(--signal);
}

.quote-meta {
  margin-top: 24px;
  color: var(--muted-inverse);
  font-size: 12px;
  line-height: 1.6;
}

.bridge {
  display: flex;
  align-items: center;
  gap: 0;
  padding-inline: 20px;
}

.bridge::before {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--signal);
}

.bridge::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--signal);
}

.spec-panel {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 3vw, 34px);
}

.spec-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.spec-panel-head h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 900;
  line-height: 1.35;
}

.spec-panel-head span {
  flex: none;
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 5px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.spec-cell {
  padding: 13px 0 11px;
  border-bottom: 1px solid var(--line);
}

.spec-cell dt {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.spec-cell dd {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.spec-foot {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* Factory band */

.factory-band {
  padding-block: clamp(70px, 9vw, 116px);
  border-bottom: 1px solid var(--line);
}

.factory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.factory-band h2 {
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.factory-band .lead {
  max-width: 31em;
  margin-top: 24px;
  color: #47534a;
  font-size: 16px;
  line-height: 1.9;
}

.factory-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.factory-actions .text-link {
  font-size: 14px;
}

.factory-facts {
  border-top: 1px solid var(--ink);
}

.fact {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.fact-value {
  font-family: var(--latin);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.fact-label {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* Agent band */

.agent-band {
  background: var(--signal);
  color: var(--ink);
  padding-block: clamp(68px, 9vw, 110px);
}

.agent-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}

.agent-copy h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.3vw, 72px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.agent-copy p {
  max-width: 29em;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.85;
}

.agent-copy .text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.agent-copy .text-link:hover {
  color: var(--paper);
}

.code-sheet {
  background: var(--forest-deep);
  color: #e9ece6;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.code-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(248, 248, 242, 0.18);
  font-family: var(--mono);
  font-size: 12px;
  color: #b8c4ba;
}

.code-sheet-head .method {
  color: var(--signal-light);
  font-weight: 700;
}

.copy-btn {
  border: 1px solid rgba(248, 248, 242, 0.32);
  background: transparent;
  color: #e9ece6;
  padding: 4px 9px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--signal);
  color: #fff;
}

.code-sheet pre {
  margin: 0;
  padding: 20px 18px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  tab-size: 2;
}

.code-sheet code {
  font-family: inherit;
}

.code-sheet .str {
  color: #f7a68f;
}

.code-sheet .key {
  color: #b9d8b2;
}

.code-foot {
  padding: 12px 18px;
  border-top: 1px solid rgba(248, 248, 242, 0.18);
  color: #b8c4ba;
  font-size: 11.5px;
  line-height: 1.55;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: 58px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(248, 248, 242, 0.18);
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.footer-brand span {
  color: var(--signal);
}

.footer-logo {
  display: block;
  width: auto;
  height: 66px;
}

.footer-tagline {
  max-width: 22em;
  margin-top: 18px;
  color: #9eaaa1;
  font-size: 13px;
  line-height: 1.75;
}

.footer-col {
  padding-top: 7px;
}

.footer-col h2 {
  font-size: 12px;
  font-weight: 500;
  color: #9eaaa1;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  margin-bottom: 7px;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  color: #7f8d83;
  font-size: 11px;
  line-height: 1.6;
}

.footer-domain {
  font-family: var(--latin);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b4c0b7;
}

/* Interior pages */

.page-main {
  min-height: 60vh;
}

.page-hero {
  padding-block: clamp(56px, 7vw, 92px) clamp(38px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.page-intro {
  max-width: 32em;
  margin-top: 22px;
  color: #465249;
  font-size: 16px;
  line-height: 1.9;
}

.page-aside-note {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-aside-note strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Join page */

.join-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  padding-block: clamp(50px, 7vw, 88px);
  align-items: start;
}

.join-side {
  position: sticky;
  top: 104px;
}

.join-side h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.join-side p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.join-side-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.join-side-list li {
  list-style: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}

.join-side-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.join-form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 8px 8px 0 rgba(20, 27, 23, 0.07);
}

.join-form-section + .join-form-section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.join-form-section h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.3;
}

.join-form-section > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.join-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  margin-top: 24px;
}

.join-fields .full {
  grid-column: 1 / -1;
}

.join-fields .control {
  background: #fffef9;
}

.join-form .choice-grid {
  margin-top: 10px;
}

.join-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.join-submit p {
  max-width: 27em;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.join-submit .btn {
  min-width: 210px;
}

.join-success {
  padding-block: clamp(60px, 8vw, 110px);
}

.success-sheet {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 54px);
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(20, 27, 23, 0.07);
}

.success-sheet h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 900;
  line-height: 1.25;
}

.success-sheet p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.success-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.success-meta strong {
  display: block;
  font-family: var(--latin);
  font-size: 22px;
  line-height: 1.2;
}

/* Agents page */

.agents-hero {
  background: var(--forest);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 96px);
}

.agents-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.56fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
}

.agents-hero .page-title {
  color: var(--paper);
}

.agents-hero .page-intro {
  color: var(--muted-inverse);
}

.agents-hero .page-aside-note {
  border-color: var(--line-inverse);
  color: var(--muted-inverse);
}

.agents-hero .page-aside-note strong {
  color: var(--paper);
}

.endpoint-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 9px 12px;
  border: 1px solid var(--line-inverse);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--paper);
}

.endpoint-pill .method {
  color: var(--signal-light);
  font-weight: 700;
}

.agents-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  padding-block: clamp(50px, 7vw, 90px);
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 104px;
  border-top: 1px solid var(--ink);
}

.docs-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}

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

.docs-body {
  max-width: 850px;
}

.docs-section + .docs-section {
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(38px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.docs-section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.3;
}

.docs-section h3 {
  margin-top: 30px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.docs-section p {
  max-width: 48em;
  margin-top: 14px;
  color: #465249;
  font-size: 14.5px;
  line-height: 1.9;
}

.docs-section ul,
.docs-section ol {
  margin-top: 16px;
  padding-left: 20px;
}

.docs-section li {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.8;
  color: #465249;
}

.steps-list {
  counter-reset: docs-step;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.steps-list li {
  counter-increment: docs-step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.steps-list li::before {
  content: counter(docs-step, decimal-leading-zero);
  font-family: var(--latin);
  font-weight: 600;
  font-size: 14px;
  color: var(--signal-text);
}

.steps-list strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.steps-list span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.code-block {
  margin-top: 18px;
  background: var(--forest-deep);
  color: #e9ece6;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.code-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(248, 248, 242, 0.18);
  font-family: var(--mono);
  font-size: 11px;
  color: #aab9ae;
}

.code-block pre {
  margin: 0;
  padding: 17px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
}

.code-block .str {
  color: #f7a68f;
}

.code-block .key {
  color: #b9d8b2;
}

.endpoint-list {
  margin-top: 24px;
  border-top: 1px solid var(--ink);
}

.endpoint {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.endpoint code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--signal-text);
}

.endpoint div {
  min-width: 0;
}

.endpoint strong {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  word-break: break-all;
}

.endpoint p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.callout {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--signal);
  background: var(--paper);
  font-size: 13px;
  line-height: 1.75;
}

/* Inquiry page */

.inquiry-page {
  padding-block: clamp(38px, 5vw, 64px) clamp(64px, 8vw, 100px);
}

.ticket-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ink);
}

.ticket-id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ticket-head h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.25;
  margin-top: 10px;
  max-width: 18em;
}

.ticket-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.stage-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.stage {
  position: relative;
  padding: 20px 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.stage + .stage {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.stage::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--line);
}

.stage + .stage::before {
  left: -5px;
}

.stage.is-active,
.stage.is-done {
  color: var(--ink);
}

.stage.is-active::before,
.stage.is-done::before {
  background: var(--signal);
}

.stage strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.stage > span {
  display: block;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.6fr);
  gap: clamp(30px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 54px);
  align-items: start;
}

.inquiry-panel {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(22px, 3.4vw, 38px);
}

.inquiry-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.inquiry-panel-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.3;
}

.inquiry-panel-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.confidence {
  min-width: 90px;
  text-align: right;
}

.confidence strong {
  font-family: var(--latin);
  font-size: 22px;
  line-height: 1;
}

.confidence span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.confidence-bar {
  height: 3px;
  margin-top: 7px;
  background: var(--line);
}

.confidence-bar i {
  display: block;
  height: 100%;
  background: var(--signal);
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
  margin-top: 24px;
}

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

.analysis-grid .control {
  background: #fffef9;
}

.analysis-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.analysis-actions p {
  max-width: 28em;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.request-quote {
  padding-left: 18px;
  border-left: 2px solid var(--signal);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.75;
}

.aside-block + .aside-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.aside-block h3 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.meta-list {
  list-style: none;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.meta-list span:first-child {
  color: var(--muted);
}

.meta-list span:last-child {
  text-align: right;
  word-break: break-word;
}

.attachment-list {
  list-style: none;
}

.attachment-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-stage {
  margin-top: 0;
}

.match-summary-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
}

.match-count {
  font-family: var(--latin);
  font-size: clamp(62px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.06em;
}

.match-summary-head p {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.match-summary-head p strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 4px;
}

.match-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 26px;
}

.match-columns h3 {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.match-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.match-row span {
  color: var(--muted);
}

.match-row strong {
  font-weight: 500;
}

.match-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.dispatch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

.dispatch-bar .btn {
  min-width: 190px;
}

.dispatch-bar p {
  max-width: 28em;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.6;
}

.sent-banner {
  padding: clamp(28px, 4vw, 44px);
  background: var(--forest);
  color: var(--paper);
}

.sent-banner h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.25;
}

.sent-banner p {
  max-width: 34em;
  margin-top: 14px;
  color: var(--muted-inverse);
  font-size: 14px;
  line-height: 1.8;
}

.sent-metrics {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-inverse);
}

.sent-metric strong {
  display: block;
  font-family: var(--latin);
  font-size: 30px;
  line-height: 1;
}

.sent-metric span {
  display: block;
  margin-top: 5px;
  color: var(--muted-inverse);
  font-size: 11px;
}

.quotes-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quotes-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.quotes-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
}

.quotes-section-head span {
  color: var(--muted);
  font-size: 11px;
}

.quote-list {
  margin-top: 14px;
}

.quote-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.quote-card h3 {
  font-size: 15px;
  font-weight: 600;
}

.quote-card .quote-meta {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.quote-price {
  font-family: var(--latin);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  text-align: right;
}

.quote-price span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}

.quote-note {
  grid-column: 1 / -1;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.empty-quotes {
  padding: 24px 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Factory inbox */

.inbox-page {
  padding-block: clamp(38px, 5vw, 62px) clamp(64px, 8vw, 100px);
}

.inbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
}

.inbox-head h1 {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  line-height: 1.24;
  max-width: 18em;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.75fr);
  gap: clamp(30px, 6vw, 72px);
  margin-top: clamp(32px, 4vw, 48px);
  align-items: start;
}

.inbox-detail {
  border-top: 1px solid var(--ink);
}

.detail-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.detail-row dt {
  color: var(--muted);
  font-size: 12px;
}

.detail-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.buyer-card {
  margin-top: 26px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
}

.buyer-card h2 {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 9px;
}

.buyer-card p {
  font-size: 14px;
  line-height: 1.7;
}

.buyer-card strong {
  font-weight: 600;
}

.quote-form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(22px, 3.4vw, 34px);
  box-shadow: 8px 8px 0 rgba(20, 27, 23, 0.07);
}

.quote-form h2 {
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.3;
}

.quote-form > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.quote-fields .full {
  grid-column: 1 / -1;
}

.quote-form .btn {
  width: 100%;
  margin-top: 20px;
}

.quote-confirmed {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--signal);
  background: rgba(240, 75, 31, 0.07);
  font-size: 12px;
  line-height: 1.7;
}

/* Admin */

.admin-body {
  background: #eff0eb;
}

.admin-header {
  background: var(--ink);
  color: var(--paper);
}

.admin-header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header .brand {
  color: var(--paper);
}

.admin-header .brand-logo {
  height: 34px;
}

.admin-header .brand-sub {
  color: #96a399;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #aeb9b1;
}

.admin-actions button {
  border: 1px solid rgba(248, 248, 242, 0.28);
  background: transparent;
  color: var(--paper);
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
  cursor: pointer;
}

.admin-actions button:hover {
  border-color: var(--signal);
}

.admin-login {
  min-height: calc(100vh - 60px);
  width: min(100%, 1080px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.66fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  padding-block: 70px;
}

.login-intro h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.login-intro > p {
  max-width: 27em;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.login-loop {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.login-loop li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
  line-height: 1.7;
}

.login-loop span {
  color: var(--signal-text);
  font-weight: 600;
}

.login-loop strong {
  color: var(--muted);
  font-weight: 400;
}

.login-sheet {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 36px;
  box-shadow: 8px 8px 0 rgba(20, 27, 23, 0.08);
}

.login-sheet h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.3;
}

.login-sheet p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.login-sheet form {
  margin-top: 24px;
}

.login-sheet .btn {
  width: 100%;
  margin-top: 16px;
}

.admin-main {
  padding-block: 34px 70px;
}

.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.admin-topbar h1 {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
}

.admin-topbar p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.loop-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.loop-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e8c58;
}

.loop-dot.is-running {
  background: var(--signal);
  animation: pulse 1.2s ease-in-out infinite;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}

.admin-stat {
  padding: 20px 16px 18px 0;
}

.admin-stat + .admin-stat {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.admin-stat strong {
  display: block;
  font-family: var(--latin);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.admin-tabs {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border-bottom: 1px solid var(--ink);
}

.admin-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 10px 18px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.admin-tab:first-child {
  padding-left: 0;
}

.admin-tab:hover {
  color: var(--ink);
}

.admin-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--signal);
}

.admin-panel {
  padding-top: 24px;
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-row .form-field {
  gap: 4px;
}

.filter-row .form-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

.filter-row .control {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12px;
  background: var(--paper);
}

.filter-row input.control {
  min-width: 220px;
}

.filter-row select.control {
  min-width: 120px;
  background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.55;
}

.data-table th {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tr:hover td {
  background: #f1f2ec;
}

.data-table .factory-name {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  max-width: 260px;
}

.data-table .factory-contact {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 220px;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid var(--line);
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.status-tag {
  display: inline-block;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.status-onboarded {
  background: #fbe3db;
  color: #8f250f;
}

.status-claimed {
  background: #dfeae1;
  color: #205a37;
}

.status-collected {
  background: #ecece6;
  color: #5e685f;
}

.row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.row-actions button {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 28px;
  padding: 0 8px;
  font-size: 10px;
  cursor: pointer;
}

.row-actions button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.row-actions button.is-danger:hover {
  border-color: #8d1e10;
  background: #8d1e10;
  color: #fff;
}

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

.pagination div {
  display: flex;
  gap: 6px;
}

.pagination button {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

.admin-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.55fr);
  gap: 30px;
  align-items: start;
}

.admin-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px;
}

.admin-card + .admin-card {
  margin-top: 18px;
}

.admin-card h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
}

.admin-card .card-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.collector-status {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.collector-status strong {
  display: block;
  font-family: var(--latin);
  font-size: 24px;
  line-height: 1.2;
}

.collector-status span {
  color: var(--muted);
  font-size: 10px;
}

.source-list {
  margin-top: 14px;
  list-style: none;
}

.source-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.source-item-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.source-item strong {
  font-size: 12px;
  font-weight: 600;
}

.source-item small {
  color: var(--muted);
  font-size: 10px;
}

.source-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  word-break: break-all;
}

.source-toggle {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 24px;
  padding: 0 7px;
  font-size: 9px;
  cursor: pointer;
}

.run-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 11px;
}

.run-table td {
  padding: 7px 4px;
  border-bottom: 1px solid var(--line);
}

.run-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.add-source {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.add-source h3 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.add-source .control {
  min-height: 34px;
  font-size: 11px;
  padding: 6px 8px;
  margin-bottom: 6px;
  background: #fffef9;
}

.add-source .btn {
  width: 100%;
  min-height: 34px;
  font-size: 11px;
}

.small-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.app-dialog {
  width: min(92vw, 460px);
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 28px;
  color: var(--ink);
}

.app-dialog::backdrop {
  background: rgba(20, 27, 23, 0.56);
}

.app-dialog h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
}

.app-dialog p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.app-dialog .control {
  margin-top: 16px;
  background: #fffef9;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(90vw, 360px);
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 0 0 1px rgba(248, 248, 242, 0.2);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: #8d1e10;
}

.loading-row {
  padding: 30px 12px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  padding: 34px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

/* Motion */

@keyframes bar-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes underline-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

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

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-title {
    font-size: clamp(44px, 8.6vw, 84px);
  }
  .hero-aside {
    max-width: 700px;
  }
  .hero-aside::before,
  .hero-aside::after {
    display: none;
  }
  .hero-proof {
    margin-top: 38px;
  }
  .factory-grid,
  .agent-grid,
  .page-hero-grid,
  .agents-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .agent-grid {
    gap: 42px;
  }
  .join-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .join-side {
    position: static;
    max-width: 680px;
    order: 2;
  }
  #join-form-wrap {
    order: 1;
  }
  .join-success {
    order: 1;
  }
  .inquiry-layout,
  .inbox-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .inquiry-aside {
    order: 2;
  }
  .admin-split {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-stat:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
  .admin-stat:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .agents-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .agents-layout > * {
    min-width: 0;
  }
  .docs-nav {
    position: static;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--ink);
    white-space: nowrap;
  }
  .docs-nav a {
    border-bottom: 0;
    padding: 9px 0 11px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .file-drop {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .file-drop span {
    line-height: 1.55;
  }
  .drawing-frame {
    display: none;
  }
  .site-header-inner {
    min-height: 62px;
  }
  .brand {
    gap: 7px;
  }
  .brand-logo {
    height: 32px;
  }
  .brand-sub {
    display: none;
  }
  .footer-logo {
    height: 52px;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--ink);
    padding: 6px var(--gutter) 16px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .site-nav a::after {
    display: none;
  }
  .hero {
    padding-top: 38px;
  }
  .hero-title {
    font-size: clamp(34px, 10.7vw, 58px);
    line-height: 1.13;
  }
  .hero-title .line-accent::after {
    height: 3px;
  }
  .hero-manifesto {
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.85;
  }
  .hero-proof {
    gap: 20px;
    align-items: center;
  }
  .proof-number {
    font-size: 56px;
  }
  .inquiry-sheet {
    padding: 22px 18px;
    box-shadow: 5px 5px 0 rgba(20, 27, 23, 0.07);
  }
  .sheet-head h2 {
    font-size: 27px;
  }
  .contact-row {
    grid-template-columns: 1fr;
  }
  .sheet-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-head h2 {
    font-size: 36px;
  }
  .steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .step {
    padding: 28px 0;
    border-top: 1px solid var(--line-inverse);
  }
  .step + .step {
    padding-left: 0;
    border-left: 0;
  }
  .step + .step::before {
    left: 0;
  }
  .step h3 {
    margin-top: 20px;
  }
  .translation {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .bridge {
    padding: 0;
    width: 100%;
  }
  .bridge::before {
    width: 100%;
    flex: 0 0 auto;
  }
  .factory-band h2,
  .agent-copy h2 {
    font-size: 38px;
  }
  .factory-facts {
    margin-top: 4px;
  }
  .fact {
    grid-template-columns: 90px 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .page-hero {
    padding-top: 42px;
  }
  .page-title {
    font-size: clamp(31px, 8.8vw, 40px);
  }
  .page-intro {
    font-size: 15px;
  }
  .join-form {
    padding: 24px 18px;
  }
  .join-fields,
  .analysis-grid,
  .quote-fields {
    grid-template-columns: 1fr;
  }
  .join-hero-note {
    display: none;
  }
  .join-layout {
    padding-top: 34px;
  }
  .join-submit {
    align-items: stretch;
    flex-direction: column;
  }
  .join-submit .btn {
    width: 100%;
  }
  .agents-hero {
    padding-top: 42px;
  }
  .agents-layout {
    padding-top: 36px;
  }
  .ticket-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .ticket-head h1 {
    font-size: 34px;
  }
  .ticket-head-actions {
    width: 100%;
  }
  .stage {
    font-size: 11px;
  }
  .stage strong {
    font-size: 12px;
  }
  .stage > span {
    display: none;
  }
  .inquiry-panel {
    padding: 20px 16px;
  }
  .inquiry-panel-head {
    flex-direction: column;
  }
  .confidence {
    text-align: left;
  }
  .confidence-bar {
    width: 140px;
  }
  .match-summary-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .match-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .match-count {
    font-size: 70px;
  }
  .dispatch-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .dispatch-bar .btn {
    width: 100%;
  }
  .sent-metrics {
    gap: 24px;
  }
  .inbox-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-row {
    grid-template-columns: 84px 1fr;
    gap: 12px;
  }
  .quote-form {
    padding: 22px 18px;
  }
  .admin-header .brand-sub {
    display: none;
  }
  .admin-actions span {
    display: none;
  }
  .admin-main {
    padding-top: 24px;
  }
  .admin-login {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 44px;
  }
  .login-intro h1 {
    font-size: 48px;
  }
  .login-sheet {
    padding: 28px 22px;
  }
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-topbar h1 {
    font-size: 30px;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-stat:nth-child(3),
  .admin-stat:nth-child(5) {
    border-left: 0;
    padding-left: 0;
  }
  .admin-stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .filter-row {
    width: 100%;
  }
  .filter-row .form-field {
    flex: 1 1 120px;
  }
  .filter-row input.control {
    min-width: 100%;
  }
  .table-wrap .data-table {
    min-width: 760px;
  }
  .admin-tabs {
    overflow-x: auto;
  }
  .admin-tab {
    white-space: nowrap;
    padding-inline: 12px;
  }
}


/* Final component corrections */

.join-success {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  cursor: pointer;
}

.consent-row input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--signal);
}

.request-quote {
  white-space: pre-wrap;
}

.inquiry-panel .callout {
  background: var(--ground);
}

.callout summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  list-style-position: outside;
}

.callout .meta-list {
  margin-top: 12px;
}

.callout .meta-list li:last-child {
  border-bottom: 0;
}

.inbox-layout .aside-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.quote-privacy {
  margin-top: 14px;
}

.admin-card .table-wrap {
  margin-top: 16px;
}

.data-table td > button {
  border: 1px solid var(--line-strong);
  background: transparent;
  min-height: 28px;
  padding: 0 8px;
  font-size: 10px;
  cursor: pointer;
}

.data-table td > button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 760px) {
  .hero-title {
    font-size: clamp(34px, 10.7vw, 58px);
  }
  .join-success {
    grid-column: auto;
  }
}


.dispatch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .dispatch-actions {
    width: 100%;
  }
  .dispatch-actions .btn {
    flex: 1 1 auto;
  }
}


.error-panel {
  grid-column: 1 / -1;
}

/* Factory verification and documents */

.input-action {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.input-action .control {
  flex: 1 1 auto;
  min-width: 0;
}

.input-action .btn {
  flex: 0 0 auto;
  min-height: 46px;
  white-space: nowrap;
}

.doc-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 13px 14px;
  border: 1px dashed var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.doc-upload:hover,
.doc-upload.is-dragging,
.doc-upload:has(input:focus-visible) {
  border-color: var(--ink);
  background: rgba(20, 27, 23, 0.035);
}

.doc-upload:has(input:focus-visible) {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.doc-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.doc-upload-copy strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.doc-upload-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.doc-upload-name {
  flex: none;
  max-width: 45%;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: anywhere;
}

.doc-upload.has-file .doc-upload-name {
  color: var(--forest);
  font-weight: 600;
}

.cert-doc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cert-doc-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.cert-doc-row > span {
  font-size: 12px;
  font-weight: 600;
}

.cert-file-picker {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.cert-file-picker:hover,
.cert-file-picker:has(input:focus-visible) {
  border-color: var(--ink);
  color: var(--ink);
}

.cert-file-picker:has(input:focus-visible) {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.cert-file-picker.has-file {
  color: var(--forest);
  border-color: var(--forest);
}

.cert-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.code-hint.is-preview {
  color: var(--signal-text);
}

@media (max-width: 760px) {
  .input-action {
    align-items: stretch;
    flex-direction: column;
  }
  .input-action .btn {
    width: 100%;
  }
  .doc-upload {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .doc-upload-name {
    max-width: 100%;
    text-align: left;
  }
  .cert-doc-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Admin documents */

.admin-docs {
  max-height: min(58vh, 520px);
  margin-top: 18px;
  overflow-y: auto;
  border-top: 1px solid var(--ink);
}

.admin-doc-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-doc-group h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
}

.admin-doc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.admin-doc-label {
  display: block;
  margin-bottom: 2px;
  color: var(--signal-text);
  font-size: 10px;
}

.admin-doc-link {
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.admin-doc-link:hover {
  color: var(--signal-text);
}

.admin-doc-meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}
