:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-strong: #f0f4f3;
  --text: #1c2524;
  --muted: #63706e;
  --line: #d9e1df;
  --primary: #126a5b;
  --primary-dark: #0d4f45;
  --accent: #b36b1e;
  --danger: #b42318;
  --good: #0f7b4f;
  --shadow: 0 14px 35px rgba(24, 40, 37, 0.08);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.boot-screen,
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(18, 106, 91, 0.08), transparent 42%),
    linear-gradient(300deg, rgba(179, 107, 30, 0.1), transparent 38%),
    #f6f8f8;
}

.loader {
  width: 36px;
  height: 36px;
  border: 4px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.login-panel {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

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

.login-panel h1 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.1;
}

.positioning {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
}

.guardrail {
  display: inline-flex;
  padding: 8px 12px;
  border-left: 4px solid var(--primary);
  background: var(--surface-strong);
  color: var(--primary-dark);
  font-weight: 700;
}

.login-form,
.panel {
  display: grid;
  gap: 16px;
}

.public-promotion-shell {
  min-height: 100vh;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  background: #f4f7f6;
}

.public-promotion-hero,
.public-promotion-grid,
.public-promotion-bottom,
.public-promotion-empty {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.public-promotion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.28fr);
  gap: 18px;
  align-items: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.public-promotion-hero h1 {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: 1.18;
}

.public-tag-row,
.public-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.public-tag-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f9f8;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.public-cta-row a {
  text-decoration: none;
}

.public-promotion-hero p,
.public-promotion-empty p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.public-promotion-status,
.public-promotion-panel,
.public-promotion-empty {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.public-promotion-status span,
.public-report-summary span,
.public-kpi-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-promotion-status strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.public-promotion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.public-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-field-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.public-kpi-grid div,
.public-info-block,
.public-disclosure,
.public-report-summary,
.public-submit-success,
.public-image-placeholder {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.public-kpi-grid strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.public-info-block p,
.public-info-block li,
.public-disclosure p,
.public-report-summary p,
.public-submit-success p {
  margin: 0;
  color: #33413e;
  line-height: 1.65;
}

.public-info-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.public-lead-form {
  display: grid;
  gap: 12px;
}

.public-lead-form .primary-btn {
  width: 100%;
}

.public-lead-form .secondary-btn {
  width: 100%;
}

.public-subscription-form {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.public-subscription-success small {
  color: var(--muted);
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.public-image-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f2;
}

.public-image-placeholder {
  color: var(--muted);
  line-height: 1.6;
}

.public-sticky-cta {
  display: none;
}

.public-discovery-shell {
  min-height: 100vh;
  display: grid;
  gap: 18px;
  align-content: start;
  overflow-x: hidden;
  padding: 20px 18px calc(208px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, #f4fbf9 0%, #f8faf9 38%, #f1f5f4 100%),
    #f5f8f7;
}

.public-discovery-canvas {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: 100%;
}

.public-discovery-hero,
.public-discovery-controls,
.public-discovery-list,
.public-discovery-subscribe {
  width: min(940px, 100%);
  margin: 0 auto;
}

.public-discovery-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 18px;
  overflow: hidden;
  min-height: 278px;
  padding: 26px 28px 28px;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(237, 250, 246, 0.9) 54%, rgba(213, 239, 232, 0.64) 100%),
    #f4fbf9;
  box-shadow: 0 18px 42px rgba(18, 106, 91, 0.1);
}

.public-discovery-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background:
    linear-gradient(135deg, transparent 28%, rgba(18, 106, 91, 0.08) 29% 31%, transparent 32%) 0 26px / 92px 56px repeat-x,
    linear-gradient(160deg, transparent 35%, rgba(72, 154, 136, 0.1) 36% 38%, transparent 39%) 18px 12px / 122px 70px repeat-x;
  pointer-events: none;
}

.public-discovery-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.public-discovery-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
  font-size: 17px;
  font-weight: 900;
}

.public-discovery-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.public-discovery-hero h1 {
  max-width: 520px;
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 46px;
  line-height: 1.08;
}

.public-discovery-hero p {
  max-width: 610px;
  margin: 0;
  color: #394a47;
  font-size: 18px;
  line-height: 1.7;
}

.public-discovery-hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(320px, 100%);
  min-height: 220px;
  align-self: end;
  pointer-events: none;
}

.public-discovery-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(18, 106, 91, 0.12));
}

.public-discovery-section-title p,
.public-discovery-card-head small,
.public-discovery-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-discovery-card,
.public-discovery-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.public-discovery-controls,
.public-discovery-empty {
  padding: 0;
}

.public-discovery-empty {
  padding: 18px;
}

.public-discovery-controls {
  display: grid;
  gap: 16px;
}

.public-discovery-search {
  position: relative;
}

.public-discovery-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  z-index: 1;
  color: #6f7d79;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.public-discovery-search input {
  min-height: 64px;
  padding: 0 22px 0 58px;
  border-color: rgba(18, 106, 91, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(24, 40, 37, 0.08);
  color: #1f2d2a;
  font-size: 18px;
  font-weight: 700;
}

.public-discovery-search input::placeholder {
  color: #8a9693;
  font-weight: 600;
}

.public-discovery-categories {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.public-discovery-categories::-webkit-scrollbar {
  display: none;
}

.public-discovery-categories button {
  flex: 0 0 auto;
  min-width: 110px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(20, 45, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #172522;
  box-shadow: 0 10px 22px rgba(24, 40, 37, 0.06);
  font-size: 16px;
  font-weight: 900;
}

.public-discovery-categories button.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #2fad86, var(--primary));
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 106, 91, 0.18);
}

.public-discovery-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.public-discovery-filter-grid label {
  position: relative;
  min-height: 60px;
}

.public-discovery-filter-grid label > span {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: calc(100% - 44px);
  color: #1d2b28;
  font-size: 15px;
  font-weight: 900;
  pointer-events: none;
  transform: translateY(-50%);
}

.public-discovery-filter-grid i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #263b37;
  font-style: normal;
  font-size: 17px;
}

.public-discovery-filter-grid select {
  min-height: 60px;
  padding: 0 34px 0 112px;
  border-color: rgba(20, 45, 39, 0.1);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(24, 40, 37, 0.05);
  color: var(--primary-dark);
  font-weight: 800;
}

.public-discovery-list {
  display: grid;
  gap: 14px;
}

.public-discovery-section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.public-discovery-section-title h2,
.public-discovery-section-title p {
  margin: 0;
}

.public-discovery-section-title h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 22px;
}

.public-section-icon,
.public-discovery-subscribe-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2fad86, var(--primary));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(18, 106, 91, 0.18);
}

.public-discovery-card {
  --card-accent: var(--primary);
  --card-soft: #edf7f4;
  display: grid;
  grid-template-columns: minmax(176px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  padding: 16px;
  border-color: rgba(20, 45, 39, 0.08);
  box-shadow: 0 14px 34px rgba(24, 40, 37, 0.08);
}

.public-discovery-card-debt {
  --card-accent: #138c72;
  --card-soft: #e4f6ef;
}

.public-discovery-card-property {
  --card-accent: #2b7eb8;
  --card-soft: #eaf5fc;
}

.public-discovery-card-auction {
  --card-accent: #d96525;
  --card-soft: #fff0e6;
}

.public-discovery-card-media {
  position: relative;
  overflow: hidden;
  align-self: start;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--card-soft);
}

.public-discovery-type-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 7px 11px;
  border-radius: 8px 0 8px 0;
  background: var(--card-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.public-discovery-card-media > img,
.public-discovery-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--card-soft);
}

.public-discovery-image-placeholder {
  display: grid;
  gap: 8px;
  place-items: center;
  align-content: center;
  padding: 14px;
  color: color-mix(in srgb, var(--card-accent) 68%, #45635d);
  font-weight: 800;
  text-align: center;
}

.public-discovery-image-placeholder span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 24%, #ffffff);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.public-discovery-card-body {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
  padding: 2px 2px 2px 0;
}

.public-discovery-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.public-discovery-card .public-tag-row {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.public-discovery-card .public-tag-row::-webkit-scrollbar {
  display: none;
}

.public-discovery-card .public-tag-row span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, #ffffff);
  border-radius: 6px;
  background: var(--card-soft);
  color: var(--card-accent);
  font-size: 12px;
  font-weight: 900;
}

.public-discovery-card h2 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.28;
}

.public-discovery-card p,
.public-discovery-empty p {
  margin: 0;
  color: #3c4a48;
  line-height: 1.6;
}

.public-discovery-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #53625f;
  font-size: 14px;
}

.public-discovery-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 0;
  padding: 6px 0;
}

.public-discovery-metrics div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 4px 12px 4px 0;
  margin-right: 12px;
  border-right: 1px solid var(--line);
}

.public-discovery-metrics div:last-child {
  border-right: 0;
  margin-right: 0;
}

.public-discovery-metrics strong {
  overflow-wrap: anywhere;
  color: #172522;
  font-size: 18px;
  line-height: 1.35;
}

.public-discovery-card-actions {
  display: flex;
  justify-content: flex-end;
}

.public-discovery-card .primary-btn {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  padding: 0 18px;
  border-color: color-mix(in srgb, var(--card-accent) 28%, #ffffff);
  background: color-mix(in srgb, var(--card-accent) 8%, #ffffff);
  color: var(--card-accent);
  text-decoration: none;
  font-weight: 900;
}

.public-discovery-card .primary-btn:hover {
  background: var(--card-accent);
  color: #fff;
}

.public-discovery-subscribe {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(18, 106, 91, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(232, 248, 243, 0.96), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: var(--shadow);
}

.public-discovery-subscription-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.public-discovery-subscribe-head,
.public-discovery-subscription-form .inline-fields,
.public-discovery-subscription-form .checkbox-line,
.public-discovery-subscription-form button {
  grid-column: 1 / -1;
}

.public-discovery-subscribe-head {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 2px;
}

.public-discovery-subscribe-head strong {
  display: block;
  color: #182724;
  font-size: 21px;
}

.public-discovery-subscribe-head small {
  color: var(--muted);
  font-size: 14px;
}

.public-discovery-subscription-form input {
  min-height: 52px;
  border-color: rgba(20, 45, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(24, 40, 37, 0.04);
}

.public-discovery-subscription-form label > span:not(.public-section-icon) {
  color: #34433f;
  font-weight: 800;
}

.public-discovery-subscription-form button {
  min-height: 58px;
  border-color: transparent;
  background: linear-gradient(180deg, #23a77e, var(--primary));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(18, 106, 91, 0.2);
}

.public-discovery-sticky,
.public-bottom-tabs {
  position: fixed;
  right: max(12px, calc((100vw - 940px) / 2));
  left: max(12px, calc((100vw - 940px) / 2));
  z-index: 55;
}

.public-discovery-sticky {
  bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(128px, 0.45fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(18, 106, 91, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(24, 40, 37, 0.16);
}

.public-discovery-sticky a {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}

.public-discovery-sticky .primary-btn {
  background: linear-gradient(180deg, #23a77e, var(--primary));
  box-shadow: 0 14px 26px rgba(18, 106, 91, 0.24);
}

.public-discovery-sticky .primary-btn strong {
  font-size: 20px;
}

.public-discovery-sticky .primary-btn span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.public-discovery-sticky .secondary-btn {
  background: #fff;
}

.public-bottom-tabs {
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid rgba(18, 106, 91, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(24, 40, 37, 0.16);
}

.public-bottom-tabs button {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #263936;
  font-weight: 900;
}

.public-bottom-tabs button i {
  color: var(--primary);
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.public-bottom-tabs button strong {
  font-size: 13px;
}

.public-bottom-tabs button span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

label span,
.context-card span,
.context-id span,
.result-kpis span,
.report-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 106, 91, 0.12);
}

.primary-btn,
.secondary-btn,
.danger-btn,
.ghost-btn,
.table-btn,
.nav-btn,
.snapshot-item {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.primary-btn:hover {
  background: var(--primary-dark);
}

.secondary-btn,
.danger-btn,
.ghost-btn,
.table-btn {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--line);
  font-weight: 700;
}

.secondary-btn:hover,
.danger-btn:hover,
.ghost-btn:hover,
.table-btn:hover {
  border-color: var(--primary);
  background: var(--surface-strong);
}

.secondary-btn.low-emphasis,
.table-btn.low-emphasis {
  color: #6f7f7a;
  background: #f7f9f8;
}

.primary-btn:disabled,
.secondary-btn:disabled,
.danger-btn:disabled,
.ghost-btn:disabled,
.table-btn:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: #f2f6f4;
  color: #7b8b86;
  box-shadow: none;
  opacity: 0.78;
}

.primary-btn:disabled:hover,
.secondary-btn:disabled:hover,
.danger-btn:disabled:hover,
.ghost-btn:disabled:hover,
.table-btn:disabled:hover {
  border-color: var(--line);
  background: #f2f6f4;
}

.danger-btn {
  border-color: rgba(181, 72, 72, 0.25);
  color: #9f2f2f;
}

.danger-btn:hover {
  border-color: #b54848;
  background: #fff5f5;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px 16px;
  border-right: 1px solid rgba(143, 205, 187, 0.22);
  background: #0f241f;
  color: #fff;
  min-width: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e6f2ef;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.14);
}

.brand strong,
.brand span {
  display: block;
}

.brand span {
  color: #abc0bb;
  font-size: 12px;
}

nav {
  display: grid;
  gap: 0;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

nav::-webkit-scrollbar,
.institution-nav::-webkit-scrollbar {
  width: 4px;
}

nav::-webkit-scrollbar-thumb,
.institution-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(143, 205, 187, 0.08);
}

nav:hover::-webkit-scrollbar-thumb,
.institution-nav:hover::-webkit-scrollbar-thumb {
  background: rgba(143, 205, 187, 0.18);
}

.institution-nav {
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(143, 205, 187, 0.16) transparent;
}

.nav-group {
  display: grid;
  gap: 0;
}

.nav-group + .nav-group {
  margin-top: 24px;
}

.nav-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 20px;
  margin-bottom: 8px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #8fcdbb;
  text-align: left;
  line-height: 20px;
}

.nav-group-head span {
  color: #8fcdbb;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.nav-group-head small {
  color: #8fcdbb;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.nav-group-head:hover small {
  color: #fff;
}

.nav-group-items {
  display: grid;
  gap: 4px;
}

.nav-group.collapsed .nav-group-items {
  display: none;
}

.nav-subgroup {
  display: grid;
  gap: 4px;
}

.nav-subgroup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
}

.nav-subgroup-head:hover,
.nav-subgroup.active .nav-subgroup-head {
  background: #19332c;
  color: #fff;
}

.nav-subgroup-head small {
  color: #8fcdbb;
  font-size: 12px;
  font-weight: 500;
}

.nav-subgroup-legacy {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.86;
}

.nav-subgroup-legacy .nav-subgroup-head {
  min-height: 40px;
  color: #bfd2ce;
}

.nav-subgroup-legacy .nav-subgroup-head small {
  min-width: 38px;
  padding: 2px 6px;
  border: 1px solid rgba(143, 205, 187, 0.18);
  border-radius: 999px;
  color: #bfd2ce;
  text-align: center;
}

.nav-subgroup-items {
  display: grid;
  gap: 4px;
  padding-left: 12px;
}

.nav-subgroup.collapsed .nav-subgroup-items {
  display: none;
}

.nav-sub-btn {
  min-height: 40px;
  padding-left: 18px;
  font-size: 14px;
}

.utility-nav {
  display: grid;
  gap: 8px;
  margin-top: -14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  text-align: left;
  overflow-wrap: anywhere;
}

.nav-btn:hover {
  background: #19332c;
  color: #fff;
}

.nav-btn.active {
  background: #24443b;
  color: #fff;
  font-weight: 600;
}

.nav-btn.active::before {
  display: none;
}

.nav-btn.utility {
  color: #bfd2ce;
}

.bank-property-privacy-notice {
  border-color: rgba(14, 121, 107, 0.28);
  background: #f1faf7;
}

.bank-property-public-preview {
  display: grid;
  gap: 14px;
  border-color: rgba(14, 121, 107, 0.22);
  background: #fbfefd;
}

.bank-property-public-preview .definition-grid dd {
  min-height: 22px;
  overflow-wrap: anywhere;
}

.bank-property-flow-steps,
.bank-property-compact-summary,
.bank-property-import-toolbar,
.bank-property-entry-mode-tabs,
.bank-property-import-metrics,
.bank-property-task-row,
.bank-property-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.bank-property-flow-steps span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #51615e;
  font-size: 12px;
}

.bank-property-entry-mode-tabs {
  align-self: start;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f7;
}

.bank-property-entry-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: rgba(14, 121, 107, 0.18);
  background: #fbfefd;
}

.bank-property-entry-subnav .inline-note {
  margin: 0;
  max-width: 520px;
}

.bank-property-entry-mode-tabs .secondary-btn {
  border-color: transparent;
}

.bank-property-entry-mode-tabs .secondary-btn.is-active,
.bank-property-entry-mode-tabs .secondary-btn[aria-selected="true"] {
  background: #24443b;
  color: #fff;
}

.bank-property-entry-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-color: rgba(14, 121, 107, 0.24);
  background: #f7fbfa;
}

.bank-property-entry-toolbar > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.bank-property-entry-toolbar strong {
  color: #203532;
}

.bank-property-entry-toolbar span {
  color: #60716e;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-entry-toolbar.is-readonly {
  border-color: rgba(180, 83, 9, 0.28);
  background: #fffaf0;
}

.bank-property-draftbox {
  display: grid;
  gap: 12px;
}

.bank-property-entry-form .panel {
  display: grid;
  gap: 12px;
}

.bank-property-entry-form.is-readonly .panel {
  border-color: rgba(180, 83, 9, 0.24);
  background: #fffdf8;
}

.bank-property-readonly-notice {
  border-color: rgba(180, 83, 9, 0.28);
  background: #fffaf0;
}

.bank-property-form-meta,
.bank-property-entry-form .bank-property-business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bank-property-business-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.bank-property-business-section .form-section-title {
  margin: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(21, 39, 35, 0.08);
}

.bank-property-submit-gate,
.bank-property-readiness-card {
  display: grid;
  gap: 12px;
}

.bank-property-readiness-card {
  padding: 14px;
  border: 1px solid rgba(14, 121, 107, 0.22);
  border-radius: 8px;
  background: #f8fcfa;
}

.bank-property-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.bank-property-readiness-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bank-property-readiness-head strong,
.bank-property-readiness-item strong {
  color: #203532;
}

.bank-property-readiness-head span,
.bank-property-readiness-item small {
  color: #60716e;
}

.bank-property-readiness-error {
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff5f3;
  color: #b42318;
  font-size: 13px;
}

.bank-property-readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bank-property-readiness-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bank-property-readiness-item span {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.bank-property-readiness-item.is-complete span {
  background: #edf8f1;
  color: #176b3a;
}

.bank-property-readiness-item.is-missing {
  border-color: rgba(217, 48, 37, 0.28);
}

.bank-property-readiness-item.is-missing span {
  background: #fff0ed;
  color: #b42318;
}

.bank-property-readiness-item.is-suggested span {
  background: #fff8e6;
  color: #8a5a00;
}

.bank-property-conditional-field.is-hidden,
.bank-property-conditional-field[hidden] {
  display: none !important;
}

.bank-property-public-preview-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(14, 121, 107, 0.2);
  border-radius: 8px;
  background: #fbfefd;
}

.bank-property-public-preview-entry > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.bank-property-public-preview-entry strong {
  color: #203532;
}

.bank-property-public-preview-entry span {
  color: #60716e;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-submit-hint {
  margin: 0;
}

.bank-property-submit-hint.is-warning {
  color: #b42318;
  font-weight: 700;
}

.bank-property-submit-missing input,
.bank-property-submit-missing select,
.bank-property-submit-missing textarea {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.bank-property-submit-field-error {
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
}

.bank-property-attachment-required-missing {
  border-color: rgba(217, 45, 32, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.bank-property-entry-form label span {
  overflow-wrap: anywhere;
}

.bank-property-unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.bank-property-unit-input input {
  min-width: 0;
}

.bank-property-unit-input em {
  min-width: 32px;
  color: #60716e;
  font-size: 13px;
  font-style: normal;
  text-align: left;
  white-space: nowrap;
}

.bank-property-entry-form .wide-field {
  grid-column: 1 / -1;
}

.bank-property-region-address-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px;
  min-width: 0;
}

.bank-property-region-address-row label {
  min-width: 0;
}

.bank-property-entry-form .address-wide-field {
  grid-column: auto;
}

.bank-property-final-actions {
  justify-content: flex-end;
}

.bank-property-local-draft-recovery,
.bank-property-restored-draft-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-property-local-draft-recovery > div:first-child,
.bank-property-restored-draft-notice > div:first-child {
  display: grid;
  gap: 4px;
}

.bank-property-autosave-status {
  margin: 0;
}

.bank-property-autosave-status.is-saving {
  color: #6a4c00;
}

.bank-property-autosave-status.is-pending {
  color: #31524d;
}

.bank-property-autosave-status.is-saved {
  color: #176b3a;
}

.bank-property-autosave-status.is-error {
  color: #b42318;
  font-weight: 700;
}

.bank-property-required-mark {
  color: #d92d20;
  font-size: 13px;
  line-height: 1;
}

.bank-property-entry-form input,
.bank-property-entry-form textarea,
.bank-property-entry-form select,
.bank-property-public-preview,
.bank-property-import-errors,
.bank-property-attachment-table {
  min-width: 0;
  max-width: 100%;
}

.bank-property-entry-form.is-readonly input:disabled,
.bank-property-entry-form.is-readonly textarea:disabled,
.bank-property-entry-form.is-readonly select:disabled {
  border-color: #d8ddd9;
  background: #f4f6f5;
  color: #51615e;
  cursor: not-allowed;
}

.bank-property-entry-form input,
.bank-property-entry-form select {
  min-height: 40px;
}

.bank-property-entry-form input,
.bank-property-entry-form textarea,
.bank-property-public-preview dd,
.bank-property-error-list article,
.bank-property-attachment-table td,
.bank-property-attachment-table th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bank-property-optional-section,
.bank-property-preview-details,
.bank-property-import-errors {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bank-property-optional-section summary,
.bank-property-preview-details summary,
.bank-property-import-errors summary {
  cursor: pointer;
  font-weight: 700;
  color: #273633;
}

.bank-property-optional-section .data-asset-form-grid,
.bank-property-preview-details .bank-property-public-preview {
  margin-top: 12px;
}

.bank-property-import-toolbar {
  justify-content: space-between;
}

.bank-property-import-panel {
  gap: 14px;
}

.bank-property-import-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.bank-property-import-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bank-property-import-steps article > button,
.bank-property-import-steps article > form,
.bank-property-import-steps article > .pill {
  grid-column: 1 / -1;
}

.bank-property-import-steps article p {
  margin: 4px 0 0;
  color: #60716e;
  font-size: 13px;
  line-height: 1.45;
}

.bank-property-step-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #24443b;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.bank-property-import-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.bank-property-import-inline-form label {
  display: grid;
  gap: 5px;
  min-width: min(260px, 100%);
}

.bank-property-compact-summary {
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfa;
}

.bank-property-compact-summary > div:first-child {
  display: grid;
  gap: 3px;
}

.bank-property-compact-summary > div:first-child span {
  color: #60716e;
  font-size: 13px;
}

.bank-property-import-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #60716e;
  font-size: 12px;
}

.bank-property-import-metrics strong {
  color: #203532;
  font-size: 16px;
}

.bank-property-compact-summary strong,
.bank-property-task-main strong,
.bank-property-task-row strong {
  overflow-wrap: anywhere;
}

.bank-property-row-actions .danger {
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.28);
}

.bank-property-action-note {
  display: inline-block;
  max-width: 240px;
  color: #6b5b00;
  font-size: 12px;
  line-height: 1.35;
}

.bank-property-import-state-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bank-property-import-state-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2f2;
  color: #354542;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.bank-property-import-state-tag.is-warning {
  background: #fff8e8;
  color: #7b5514;
}

.bank-property-import-state-tag.is-danger {
  background: #fff0ed;
  color: #b42318;
}

.bank-property-import-state-tag.is-success {
  background: #eef8f1;
  color: #176b3a;
}

.bank-property-import-state-tag.is-muted {
  background: #f4f6f6;
  color: #60716e;
}

.bank-property-import-detail-notice {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.55;
}

.bank-property-import-detail-notice.is-warning {
  border-color: #f0d9a4;
  background: #fff8e8;
  color: #6d5120;
}

.bank-property-import-detail-notice.is-muted {
  background: #f4f6f6;
  color: #4f605c;
}

.bank-property-list-section-title {
  margin: 14px 0 8px;
  color: #273633;
  font-weight: 700;
}

.bank-property-error-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.bank-property-error-list article {
  padding: 8px 10px;
  border: 1px solid rgba(217, 48, 37, 0.18);
  border-radius: 8px;
  background: #fff7f5;
}

.bank-property-error-list span {
  display: block;
  margin-top: 3px;
  color: #8a2f25;
  overflow-wrap: anywhere;
}

.bank-property-task-list {
  display: grid;
  gap: 10px;
}

.bank-property-task-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 0.8fr)) minmax(220px, 1fr);
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.bank-property-feedback-row {
  grid-template-columns: minmax(220px, 1.3fr) minmax(130px, 0.75fr) minmax(130px, 0.75fr) minmax(180px, 1fr) minmax(110px, 0.7fr) minmax(130px, 0.75fr) minmax(220px, 1fr);
}

.bank-property-status-row {
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(120px, 0.8fr)) minmax(220px, 1fr);
}

.bank-property-feedback-card,
.bank-property-promotion-card {
  grid-template-columns: minmax(220px, 1.25fr) minmax(170px, 0.8fr) minmax(220px, 1.05fr) minmax(160px, 0.8fr);
  gap: 12px;
  align-items: center;
}

.bank-property-feedback-card.is-danger,
.bank-property-promotion-card.is-danger {
  border-color: rgba(217, 76, 61, 0.3);
  background: #fffaf8;
}

.bank-property-feedback-card.is-warning {
  border-color: rgba(196, 129, 36, 0.28);
  background: #fffcf5;
}

.bank-property-feedback-card.is-processing,
.bank-property-promotion-card.is-processing {
  border-color: rgba(70, 104, 139, 0.18);
  background: #f8fbfd;
}

.bank-property-feedback-meta,
.bank-property-promotion-meta,
.bank-property-feedback-summary,
.bank-property-promotion-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.bank-property-feedback-summary > span,
.bank-property-promotion-summary > span {
  color: var(--muted);
  font-size: 12px;
}

.bank-property-feedback-summary strong,
.bank-property-promotion-summary strong {
  overflow-wrap: anywhere;
}

.bank-property-feedback-label,
.bank-property-display-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.bank-property-feedback-label.is-danger,
.bank-property-display-status.is-danger {
  background: #fff0ec;
  color: #a9362a;
}

.bank-property-feedback-label.is-warning {
  background: #fff6d8;
  color: #8a5a14;
}

.bank-property-feedback-label.is-processing,
.bank-property-display-status.is-processing {
  background: #edf4f8;
  color: #36566b;
}

.bank-property-feedback-label.is-success,
.bank-property-display-status.is-success {
  background: #eaf7ef;
  color: #247044;
}

.bank-property-feedback-label.is-muted,
.bank-property-display-status.is-muted {
  background: #f2f4f3;
  color: #5b6764;
}

.bank-property-processing-toggle {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.bank-property-status-board,
.bank-property-status-group {
  display: grid;
  gap: 12px;
}

.bank-property-status-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #2d403c;
}

.bank-property-status-group-title span {
  color: var(--muted);
  font-size: 12px;
}

.bank-property-import-detail-drawer {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: grid;
  justify-items: end;
  padding: 24px;
}

.bank-property-import-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 22, 0.54);
}

.bank-property-import-detail-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  align-self: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: -16px 0 40px rgba(16, 34, 31, 0.2);
}

.bank-property-import-detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.bank-property-import-detail-header h2 {
  margin: 2px 0 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bank-property-import-detail-header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bank-property-import-detail-header .table-btn {
  white-space: nowrap;
}

.bank-property-import-detail-body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 24px;
}

.bank-property-import-detail-content {
  box-shadow: none;
}

.bank-property-import-generated {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bank-property-import-detail-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.bank-property-import-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.bank-property-import-draft-drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  justify-items: end;
}

.bank-property-import-draft-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 22, 0.54);
}

.bank-property-import-draft-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  width: min(760px, 100vw);
  height: 100%;
  padding: 18px;
  background: #fff;
  box-shadow: -16px 0 40px rgba(16, 34, 31, 0.18);
}

.institution-drawer {
  position: fixed;
  inset: 0;
  z-index: 86;
  display: grid;
  justify-items: end;
  padding: 24px;
}

.institution-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 22, 0.54);
}

.institution-drawer__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  width: min(840px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  align-self: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: -16px 0 40px rgba(16, 34, 31, 0.2);
}

.institution-drawer__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.institution-drawer__header h2 {
  margin: 2px 0 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.institution-drawer__header .table-btn {
  white-space: nowrap;
}

.institution-drawer__body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 24px;
}

.institution-drawer__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.institution-drawer__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.institution-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.institution-info-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.institution-info-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.institution-info-card strong {
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.institution-info-card.is-danger {
  border-color: rgba(180, 35, 24, 0.24);
  background: #fff7f5;
  color: #7a3129;
}

.institution-info-card.is-warning {
  border-color: rgba(184, 112, 20, 0.28);
  background: #fff8eb;
}

.institution-info-card.is-success {
  border-color: rgba(8, 123, 80, 0.24);
  background: #effaf5;
}

.institution-info-card.is-processing {
  border-color: rgba(66, 93, 111, 0.24);
  background: #f4f7f9;
}

.admin-rbac-page .platform-grid {
  align-items: start;
}

.admin-rbac-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.admin-rbac-tabs button {
  appearance: none;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.admin-rbac-tabs button.active {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #edf7f4;
}

.admin-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.admin-page-head h2 {
  margin: 0;
  font-size: 24px;
}

.admin-page-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-metric-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(86px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.admin-metric {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 9px;
  background: #fff;
}

.admin-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-metric strong {
  font-size: 18px;
  line-height: 1.15;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) minmax(140px, 0.55fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.admin-user-filter-bar {
  grid-template-columns: minmax(220px, 1.2fr) minmax(170px, 0.9fr) minmax(170px, 0.9fr) minmax(130px, 0.55fr) auto;
}

.admin-miniapp-filter-bar {
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.7fr) auto;
}

.admin-miniapp-boundary-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.admin-miniapp-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  min-width: 0;
}

.admin-miniapp-stat-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid rgba(18, 106, 91, 0.14);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfc;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.admin-miniapp-stat-row strong {
  color: var(--primary-dark);
  font-size: 12px;
}

.admin-role-filter-bar {
  grid-template-columns: minmax(180px, 0.35fr) auto;
}

.admin-filter-bar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--text);
  background: #fff;
}

.admin-filter-summary {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-management-form {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.admin-form-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-form-grid .admin-type-field {
  grid-column: 1 / -1;
}

.admin-static-field {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-static-field strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.admin-form-grid input,
.admin-form-grid select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
}

.tenant-capability-editor {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcfc;
}

.tenant-capability-editor legend {
  padding: 0 6px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.tenant-capability-editor p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tenant-capability-group-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tenant-capability-group {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(18, 106, 91, 0.16);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
}

.tenant-capability-parent,
.tenant-capability-children label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.tenant-capability-parent {
  font-size: 13px;
  font-weight: 900;
}

.tenant-capability-parent input,
.tenant-capability-children input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.tenant-capability-parent span,
.tenant-capability-children span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tenant-capability-children label.tenant-capability-disabled {
  color: #71817d;
  font-weight: 650;
}

.tenant-capability-children label.tenant-capability-disabled input {
  cursor: not-allowed;
}

.tenant-capability-children em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  color: #5f6f6b;
  background: #edf2f0;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.tenant-capability-children {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-left: 24px;
}

.tenant-capability-chip-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.tenant-capability-summary-text {
  display: inline-block;
  max-width: 100%;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.institution-capability-panel {
  display: grid;
  gap: 10px;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.admin-tenant-table {
  min-width: 1160px;
  table-layout: fixed;
}

.admin-user-table {
  min-width: 980px;
  table-layout: fixed;
}

.admin-miniapp-user-table {
  min-width: 1120px;
  table-layout: fixed;
}

.admin-miniapp-user-table th,
.admin-miniapp-user-table td {
  padding: 8px 6px;
  vertical-align: top;
}

.admin-miniapp-user-table td {
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-miniapp-user-table th {
  font-size: 11px;
}

.admin-miniapp-user-table th:nth-child(1),
.admin-miniapp-user-table td:nth-child(1) {
  width: 18%;
}

.admin-miniapp-user-table th:nth-child(2),
.admin-miniapp-user-table td:nth-child(2),
.admin-miniapp-user-table th:nth-child(3),
.admin-miniapp-user-table td:nth-child(3) {
  width: 8%;
}

.admin-miniapp-user-table th:nth-child(4),
.admin-miniapp-user-table td:nth-child(4),
.admin-miniapp-user-table th:nth-child(5),
.admin-miniapp-user-table td:nth-child(5),
.admin-miniapp-user-table th:nth-child(6),
.admin-miniapp-user-table td:nth-child(6) {
  width: 16%;
}

.admin-miniapp-user-table th:nth-child(7),
.admin-miniapp-user-table td:nth-child(7) {
  width: 10%;
}

.admin-miniapp-user-table th:nth-child(8),
.admin-miniapp-user-table td:nth-child(8) {
  width: 8%;
}

.admin-miniapp-user-table small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.admin-miniapp-entitlement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.admin-miniapp-entitlement-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid #cfe2dc;
  border-radius: 8px;
  padding: 3px 7px;
  color: #174f43;
  background: #f2faf7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-miniapp-entitlement-drawer-panel {
  width: min(760px, calc(100vw - 28px));
}

.admin-miniapp-entitlement-body {
  gap: 16px;
}

.admin-miniapp-entitlement-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-miniapp-entitlement-section-title h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.admin-miniapp-entitlement-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-miniapp-free-grant-table {
  min-width: 520px;
  table-layout: fixed;
}

.admin-miniapp-free-grant-table th,
.admin-miniapp-free-grant-table td {
  padding: 8px 6px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.admin-miniapp-free-grant-table th {
  font-size: 11px;
}

.admin-miniapp-free-grant-table td {
  font-size: 12px;
  line-height: 1.35;
}

.admin-miniapp-free-grant-table small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.admin-miniapp-entitlement-table {
  min-width: 680px;
  table-layout: fixed;
}

.admin-miniapp-entitlement-table th,
.admin-miniapp-entitlement-table td {
  padding: 8px 6px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.admin-miniapp-entitlement-table th {
  font-size: 11px;
}

.admin-miniapp-entitlement-table td {
  font-size: 12px;
  line-height: 1.35;
}

.admin-miniapp-entitlement-table small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.admin-miniapp-entitlement-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-miniapp-entitlement-muted-action {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-miniapp-entitlement-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.admin-miniapp-entitlement-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-miniapp-entitlement-form input,
.admin-miniapp-entitlement-form select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
}

.admin-miniapp-entitlement-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-manual-free-grant-form {
  margin-top: 2px;
}

.admin-manual-free-grant-card {
  display: grid;
  gap: 10px;
  border: 1px solid #d9e8e3;
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfa;
}

.admin-manual-free-grant-title {
  display: grid;
  gap: 3px;
}

.admin-manual-free-grant-title h4 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.admin-manual-free-grant-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-manual-free-grant-grid {
  display: grid;
  grid-template-columns: 104px 124px minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.admin-manual-free-grant-reason {
  min-width: 0;
}

.admin-batch-free-grant-form {
  margin-top: 10px;
}

.admin-batch-free-grant-card {
  display: grid;
  gap: 10px;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcff;
}

.admin-batch-free-grant-grid {
  display: grid;
  grid-template-columns: 104px 124px minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.admin-batch-free-grant-targets,
.admin-batch-free-grant-custom-reason,
.admin-batch-free-grant-key,
.admin-batch-free-grant-remark {
  grid-column: 1 / -1;
  min-width: 0;
}

.admin-batch-free-grant-targets textarea {
  min-height: 96px;
  resize: vertical;
}

.admin-batch-free-grant-key small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-batch-free-grant-custom-reason.is-hidden {
  display: none;
}

.admin-batch-free-grant-custom-reason small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-batch-free-grant-scope {
  display: grid;
  grid-template-columns: 88px repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.admin-batch-free-grant-scope > span {
  align-self: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-batch-free-grant-scope label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 6px;
  align-items: center;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.admin-batch-free-grant-scope label small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.admin-batch-free-grant-scope label.is-disabled {
  background: #f6f7f9;
  color: var(--muted);
  cursor: not-allowed;
}

.admin-batch-free-grant-relocation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.admin-batch-free-grant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-batch-free-grant-result {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-batch-free-grant-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-batch-free-grant-summary span {
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.admin-batch-free-grant-result-wrap {
  max-height: 260px;
  overflow: auto;
}

.admin-batch-free-grant-table {
  min-width: 720px;
}

.platform-entitlement-operations-page {
  display: grid;
  gap: 16px;
}

.platform-entitlement-operations-panel .admin-batch-free-grant-form {
  margin-top: 0;
}

.platform-entitlement-future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-entitlement-future-card {
  display: grid;
  gap: 6px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.platform-entitlement-future-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.platform-entitlement-future-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.platform-billing-page {
  display: grid;
  gap: 16px;
}

.platform-report-order-filters {
  margin-top: 12px;
  grid-template-columns: 180px minmax(220px, 1fr);
}

.platform-report-order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.platform-report-order-summary span {
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.platform-report-order-table-wrap table {
  min-width: 980px;
}

.platform-billing-future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-billing-future-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid #d9e2ef;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.platform-billing-future-grid strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.platform-billing-future-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-report-candidate-picker {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-report-candidate-heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-report-candidate-heading span {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.admin-report-candidate-heading small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-report-candidate-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px 126px;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.admin-report-candidate-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.admin-report-candidate-results {
  min-width: 0;
}

.admin-report-candidate-list {
  display: grid;
  gap: 8px;
  max-height: 320px;
  overflow: auto;
  padding-right: 2px;
}

.admin-report-candidate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 94px minmax(100px, 0.72fr) 76px;
  gap: 8px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-report-candidate-row:hover,
.admin-report-candidate-row.is-selected {
  border-color: #7fb4a3;
  background: #f5faf8;
}

.admin-report-candidate-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
  align-content: center;
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.admin-report-candidate-row strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-report-candidate-row small {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-report-candidate-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-report-candidate-tag.is-grantable {
  color: #146049;
  background: #dff5ec;
}

.admin-report-candidate-tag.is-not-generated {
  color: #805b0f;
  background: #fff0c2;
}

.admin-report-candidate-tag.is-expired,
.admin-report-candidate-tag.is-blocked {
  color: #8b3434;
  background: #fde1df;
}

.admin-miniapp-entitlement-empty.is-error {
  color: #8b3434;
}

.admin-report-candidate-selected {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #c4ded5;
  border-radius: 8px;
  padding: 10px;
  background: #f7fbf9;
}

.admin-report-candidate-selected span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.admin-report-candidate-selected strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-report-candidate-selected em {
  color: #146049;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.admin-report-candidate-selected .table-btn {
  justify-self: start;
}

.admin-miniapp-entitlement-manual {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.admin-miniapp-entitlement-manual summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.admin-miniapp-entitlement-manual label {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .admin-miniapp-entitlement-drawer-panel {
    width: 100vw;
  }

  .admin-report-candidate-filters,
  .admin-report-candidate-search-row,
  .admin-manual-free-grant-grid,
  .admin-batch-free-grant-grid,
  .admin-batch-free-grant-scope,
  .platform-entitlement-future-grid,
  .admin-report-candidate-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.admin-role-table {
  min-width: 1040px;
  table-layout: fixed;
}

.admin-tenant-table .admin-actions-column {
  width: 230px;
}

.admin-user-table .admin-actions-column {
  width: 250px;
}

.admin-role-table .admin-actions-column {
  width: 300px;
}

.admin-role-table td,
.admin-role-table th {
  vertical-align: top;
}

.admin-role-system-row {
  color: #60716e;
  background: #f8faf9;
}

.admin-role-category-pill {
  white-space: nowrap;
}

.admin-readonly-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.institution-account-boundary {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(18, 106, 91, 0.18);
  border-radius: 8px;
  background: #f5faf8;
  color: #31524d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.institution-account-readonly {
  padding: 12px;
}

.institution-account-readonly .empty-state {
  padding: 14px 12px;
  text-align: left;
}

.admin-generated-account-note {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-table-actions {
  flex-wrap: nowrap;
}

.admin-table-actions .table-btn {
  white-space: nowrap;
}

.admin-rbac-page .inline-edit-panel {
  margin-top: 8px;
  max-width: 520px;
}

.admin-rbac-page .inline-edit-panel summary {
  width: fit-content;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.admin-rbac-page .inline-edit-panel summary.table-btn {
  display: inline-flex;
  align-items: center;
  list-style: none;
  padding: 8px 12px;
}

.admin-rbac-page .inline-edit-panel summary.table-btn::-webkit-details-marker {
  display: none;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-short-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.compact-btn {
  min-height: 28px;
  padding: 4px 8px;
}

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

.admin-config-notice {
  margin-top: 12px;
}

.runtime-config-check-page .admin-page-head {
  align-items: flex-start;
}

.runtime-config-note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.runtime-config-note-grid > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.runtime-config-note-grid span,
.runtime-config-note-grid small,
.runtime-config-check-table small {
  display: block;
  color: var(--muted);
}

.runtime-config-note-grid strong {
  display: block;
  margin: 4px 0;
}

.runtime-config-check-group {
  margin-top: 16px;
}

.runtime-config-check-table table {
  min-width: 1320px;
}

.runtime-config-check-table th,
.runtime-config-check-table td {
  vertical-align: top;
}

.runtime-config-check-table th:first-child,
.runtime-config-check-table td:first-child {
  width: 240px;
  min-width: 240px;
}

.runtime-config-check-table th:nth-child(2),
.runtime-config-check-table td:nth-child(2),
.runtime-config-check-table th:nth-child(3),
.runtime-config-check-table td:nth-child(3),
.runtime-config-check-table th:nth-child(4),
.runtime-config-check-table td:nth-child(4),
.runtime-config-check-table th:nth-child(5),
.runtime-config-check-table td:nth-child(5),
.runtime-config-check-table th:nth-child(6),
.runtime-config-check-table td:nth-child(6),
.runtime-config-check-table th:nth-child(7),
.runtime-config-check-table td:nth-child(7) {
  width: 82px;
  min-width: 82px;
  white-space: nowrap;
  text-align: center;
}

.runtime-config-check-table th:nth-child(2),
.runtime-config-check-table td:nth-child(2) {
  width: 72px;
  min-width: 72px;
}

.runtime-config-check-table th:nth-child(6),
.runtime-config-check-table td:nth-child(6),
.runtime-config-check-table th:nth-child(7),
.runtime-config-check-table td:nth-child(7) {
  width: 110px;
  min-width: 110px;
}

.runtime-config-check-table td:nth-child(3) .pill,
.runtime-config-check-table td:nth-child(4) .pill {
  min-width: 60px;
  justify-content: center;
  white-space: nowrap;
}

.runtime-config-check-table td:nth-child(8) {
  min-width: 220px;
}

.runtime-config-check-table td:nth-child(9) {
  min-width: 220px;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .runtime-config-note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .runtime-config-note-grid {
    grid-template-columns: 1fr;
  }
}

.external-config-page .admin-page-head {
  align-items: flex-start;
}

.external-config-page .admin-page-head p {
  max-width: 860px;
}

.external-config-service-section,
.external-config-list-panel {
  margin-top: 16px;
}

.external-config-service-section .panel-title,
.external-config-list-panel .panel-title {
  margin-bottom: 12px;
}

.external-config-boundary-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.external-config-boundary-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-boundary-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-config-layout {
  display: block;
  margin-top: 16px;
}

.external-config-group-list {
  min-width: 0;
}

.external-config-group-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.external-config-group-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.external-config-group-card.is-clickable {
  cursor: pointer;
}

.external-config-group-card.is-clickable:hover {
  border-color: var(--primary);
  background: var(--surface-strong);
}

.external-config-group-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.external-config-group-card strong,
.external-config-group-card span,
.external-config-group-card p {
  min-width: 0;
}

.external-config-group-card span,
.external-config-group-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-config-completeness {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
}

.external-config-completeness strong {
  color: var(--text);
}

.status-warning-text {
  color: #7b5514;
}

.external-config-advanced-single {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.external-config-advanced-single summary {
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.external-config-advanced-single div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}

.external-config-advanced-single p {
  flex: 1 1 360px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-config-group .inline-note {
  margin: 0 0 12px;
}

.external-config-group-actions,
.external-config-editor-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.external-config-service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.external-config-group-card > .external-config-service-actions {
  margin-top: auto;
}

.external-config-service-actions .table-btn,
.external-config-service-actions .primary-btn {
  min-width: 96px;
  white-space: nowrap;
}

.external-config-service-status .external-config-service-actions {
  grid-column: 1 / -1;
  padding-top: 2px;
}

.external-config-readonly-actions {
  justify-content: flex-start;
}

.external-config-action-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-page .good-pill {
  background: #e8f7ef;
  color: var(--good);
}

.external-config-page .status-muted {
  background: #f4f6f6;
  color: var(--muted);
}

.external-config-readonly-summary {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.external-config-readonly-summary > div:first-child,
.external-config-readonly-info-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.external-config-readonly-summary p,
.external-config-readonly-info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-config-readonly-summary-list {
  display: grid;
  gap: 6px;
}

.external-config-readonly-summary-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-readonly-info-panel {
  display: grid;
  gap: 10px;
}

.external-config-readonly-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.external-config-readonly-info-list div {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.external-config-readonly-info-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-readonly-info-list strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.external-config-readonly-info-panel > small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.external-config-wechat-pay-diagnostic {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding-top: 2px;
}

.external-config-wechat-pay-diagnostic-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.external-config-wechat-pay-diagnostic-head > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.external-config-wechat-pay-diagnostic-head strong {
  font-size: 13px;
}

.external-config-wechat-pay-diagnostic > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.external-config-wechat-pay-diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.external-config-wechat-pay-diagnostic-grid div,
.external-config-wechat-pay-diagnostic-messages {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.external-config-wechat-pay-diagnostic-grid div {
  display: grid;
  gap: 4px;
}

.external-config-wechat-pay-diagnostic-grid span,
.external-config-wechat-pay-diagnostic-messages span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-wechat-pay-diagnostic-grid strong,
.external-config-wechat-pay-diagnostic-messages strong {
  overflow-wrap: anywhere;
}

.external-config-wechat-pay-diagnostic-messages {
  display: grid;
  gap: 4px;
}

.external-config-table table {
  min-width: 1300px;
}

.external-config-table th,
.external-config-table td {
  vertical-align: top;
}

.external-config-table th:first-child,
.external-config-table td:first-child {
  width: 180px;
  min-width: 180px;
}

.external-config-table th:nth-child(2),
.external-config-table td:nth-child(2) {
  min-width: 150px;
}

.external-config-table th:nth-child(3),
.external-config-table td:nth-child(3),
.external-config-table th:nth-child(4),
.external-config-table td:nth-child(4),
.external-config-table th:nth-child(5),
.external-config-table td:nth-child(5),
.external-config-table th:nth-child(6),
.external-config-table td:nth-child(6),
.external-config-table th:nth-child(8),
.external-config-table td:nth-child(8) {
  width: 104px;
  min-width: 104px;
  text-align: center;
  white-space: nowrap;
}

.external-config-table th:nth-child(7),
.external-config-table td:nth-child(7) {
  min-width: 180px;
  overflow-wrap: anywhere;
}

.external-config-table th:nth-child(9),
.external-config-table td:nth-child(9) {
  min-width: 150px;
  white-space: nowrap;
}

.external-config-table th:nth-child(10),
.external-config-table td:nth-child(10) {
  width: 112px;
  min-width: 112px;
  text-align: center;
}

.external-config-table code {
  white-space: nowrap;
}

.external-config-drawer-panel {
  width: min(760px, calc(100vw - 28px));
}

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

.external-config-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-form label > span,
.external-config-secret-box small,
.external-config-editor-actions span {
  color: var(--muted);
}

.external-config-form input,
.external-config-form select,
.external-config-form textarea {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.external-config-form textarea {
  resize: vertical;
}

.external-config-form .wide-field,
.external-config-secret-summary,
.external-config-test-panel,
.external-config-tech-identifiers,
.external-config-editor-actions {
  grid-column: 1 / -1;
}

.external-config-service-wizard {
  gap: 14px;
}

.external-config-service-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.external-config-service-status div {
  display: grid;
  gap: 3px;
}

.external-config-service-status strong {
  font-size: 14px;
}

.external-config-service-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-service-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.external-config-service-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.external-config-service-field.is-required {
  border-color: color-mix(in srgb, var(--primary) 36%, var(--line));
}

.external-config-service-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.external-config-service-field-head strong {
  min-width: 0;
  font-size: 13px;
}

.external-config-service-field-head span,
.external-config-field-status span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-field-status {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.external-config-secret-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.external-config-secret-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.external-config-secret-summary div {
  min-width: 0;
}

.external-config-secret-summary span,
.external-config-tech-identifiers summary,
.external-config-tech-identifiers span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-secret-summary strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.external-config-test-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.external-config-test-panel > small {
  color: var(--muted);
  font-weight: 700;
}

.external-config-test-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.external-config-test-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.external-config-test-head strong {
  font-size: 14px;
}

.external-config-test-head span,
.external-config-test-summary span,
.external-config-test-detail span,
.external-config-check-list-title,
.external-config-check-list span,
.external-config-check-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.external-config-test-result {
  display: grid;
  gap: 10px;
}

.external-config-test-summary,
.external-config-test-detail,
.external-config-check-list {
  display: grid;
  gap: 8px;
}

.external-config-test-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.external-config-test-summary div,
.external-config-test-detail div,
.external-config-check-list div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.external-config-test-summary strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.external-config-test-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.external-config-test-detail p {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.external-config-check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.external-config-check-list div {
  display: grid;
  gap: 4px;
}

.status-good-text {
  color: var(--good);
}

.status-danger-text {
  color: var(--danger);
}

.status-muted-text {
  color: var(--muted);
}

.external-config-tech-identifiers {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.external-config-tech-identifiers summary {
  cursor: pointer;
}

.external-config-tech-identifiers div {
  display: grid;
  gap: 6px;
  padding-top: 10px;
}

.external-config-editor-actions {
  margin: 4px 0 0;
}

.external-config-test-note {
  padding: 6px 0;
}

@media (max-width: 1100px) {
  .external-config-group-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .external-config-form {
    grid-template-columns: 1fr;
  }

  .external-config-service-status,
  .external-config-service-field-grid {
    grid-template-columns: 1fr;
  }

  .external-config-service-status {
    align-items: stretch;
  }

  .external-config-secret-summary,
  .external-config-test-summary,
  .external-config-test-detail,
  .external-config-check-list,
  .external-config-wechat-pay-diagnostic-grid,
  .external-config-readonly-info-list {
    grid-template-columns: 1fr;
  }

  .external-config-test-head,
  .external-config-wechat-pay-diagnostic-head {
    align-items: stretch;
    flex-direction: column;
  }
}

.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}

.admin-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.32);
  cursor: pointer;
}

.admin-drawer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
  width: min(520px, calc(100vw - 28px));
  height: 100%;
  padding: 20px;
  overflow: auto;
  background: #fff;
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.18);
}

.admin-drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-drawer-header h2 {
  margin: 0;
  font-size: 20px;
}

.admin-drawer-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-drawer-body {
  display: grid;
  align-content: start;
  min-height: 0;
}

.admin-drawer-form {
  min-height: 100%;
}

.admin-drawer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-confirm {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-confirm-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.34);
  cursor: pointer;
}

.admin-confirm-panel {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
}

.admin-confirm-panel h2 {
  margin: 0;
  font-size: 18px;
}

.admin-confirm-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-confirm-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.table-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.compact-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-role-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
  gap: 16px;
  align-items: start;
}

.admin-role-list {
  max-height: 640px;
  overflow: auto;
}

.admin-role-form {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.admin-role-form > label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-role-form input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  background: #fff;
}

.admin-role-form input[type="checkbox"] {
  width: auto;
  min-height: 0;
  padding: 0;
  border-radius: 4px;
}

.admin-role-summary {
  margin-bottom: 12px;
}

.admin-permission-boundary {
  margin-bottom: 12px;
}

.admin-permission-boundary summary {
  color: var(--primary-dark);
  font-weight: 900;
  cursor: pointer;
}

.admin-role-editor-panel {
  width: min(720px, calc(100vw - 28px));
}

.admin-role-editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.admin-role-editor-meta span {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef4f2;
  color: #35524c;
  font-size: 12px;
  font-weight: 800;
}

.admin-role-editor-form {
  margin-bottom: 0;
}

.admin-permission-groups {
  display: grid;
  gap: 12px;
}

.admin-permission-groups fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.admin-permission-groups legend {
  padding: 0 6px;
  color: var(--primary-dark);
  font-weight: 900;
}

.admin-permission-groups p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.admin-permission-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}

.admin-permission-checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-permission-checkbox-grid input {
  flex: 0 0 auto;
}

.admin-permission-checkbox-grid span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-permission-empty {
  color: var(--muted);
  font-size: 12px;
}

.admin-permission-readonly-groups fieldset {
  background: #fbfcfc;
}

.admin-permission-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 960px) {
  .admin-page-head,
  .admin-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-role-layout {
    grid-template-columns: 1fr;
  }

  .admin-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  }

  .admin-filter-summary {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .admin-drawer-panel {
    width: 100vw;
  }
}

.bank-property-import-draft-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.bank-property-import-draft-head h2 {
  margin: 2px 0 0;
}

.bank-property-import-draft-body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.bank-property-import-draft-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bank-property-import-draft-summary div,
.bank-property-submit-blocker {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bank-property-import-draft-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.bank-property-import-draft-summary strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.bank-property-submit-blocker {
  border-color: rgba(180, 35, 24, 0.2);
  background: #fff7f5;
  color: #7a3129;
}

.bank-property-import-draft-blocker {
  display: grid;
  gap: 8px;
}

.bank-property-submit-blocker-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bank-property-submit-blocker-rows div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bank-property-submit-blocker-rows span {
  color: #9b4a3f;
  font-size: 12px;
  font-weight: 800;
}

.bank-property-submit-blocker p {
  margin: 0;
  overflow-wrap: anywhere;
}

.bank-property-import-draft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.bank-property-import-draft-footer {
  flex-shrink: 0;
  margin-top: 0;
  background: #fff;
}

.bank-property-signal {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef4f3;
  color: #425653;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bank-property-signal.is-success {
  background: #e8f7ed;
  color: #17663a;
}

.bank-property-signal.is-warning {
  background: #fff4dc;
  color: #996300;
}

.bank-property-signal.is-danger {
  background: #fff0ec;
  color: #b42318;
}

.bank-property-signal.is-info {
  background: #edf5ff;
  color: #275f96;
}

.bank-property-signal.is-muted {
  background: #f1f4f4;
  color: #667572;
}

.bank-property-import-errors td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.table-btn.is-disabled {
  opacity: 0.62;
  pointer-events: none;
}

.bank-property-task-row > div,
.bank-property-task-main {
  min-width: 0;
}

.bank-property-task-row span,
.bank-property-task-main span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-row-actions {
  justify-content: flex-start;
}

.bank-property-row-actions .table-btn,
.bank-property-row-actions .primary-btn {
  white-space: normal;
}

.bank-property-status-actions {
  align-items: center;
  gap: 8px;
}

.bank-property-status-actions .table-btn {
  white-space: nowrap;
}

.bank-property-status-chip,
.bank-property-status-hint {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 6px;
  white-space: nowrap;
}

.bank-property-status-chip {
  padding: 0 10px;
  border: 1px solid rgba(14, 121, 107, 0.18);
  background: #f1faf7;
  color: #31524d;
  font-size: 12px;
  font-weight: 800;
}

.bank-property-status-hint {
  color: var(--muted);
  font-size: 12px;
}

.bank-property-status-hint.is-muted {
  padding: 0 2px;
  background: transparent;
  color: #6c7774;
  font-weight: 600;
}

.bank-property-promotion-card .bank-property-row-actions,
.bank-property-feedback-card .bank-property-row-actions {
  align-items: center;
}

.bank-property-review-actions {
  margin-top: 16px;
}

.review-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 12px;
}

.review-action-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.review-action-card label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.review-action-card textarea,
.review-action-card input:not([type="checkbox"]) {
  width: 100%;
}

.review-action-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.bank-property-attachments-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.bank-property-attachments-panel.is-focused {
  border-color: rgba(14, 121, 107, 0.45);
  box-shadow: 0 0 0 3px rgba(14, 121, 107, 0.1);
}

.bank-property-attachments-panel > * {
  min-width: 0;
  max-width: 100%;
}

.bank-property-attachment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfc;
}

.bank-property-attachment-explainer,
.bank-property-attachment-status-area,
.bank-property-attachment-upload-area,
.bank-property-attachment-action-area {
  min-width: 0;
}

.bank-property-attachment-boundary {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(14, 121, 107, 0.18);
  border-radius: 8px;
  background: #f4fbf9;
  color: #31524d;
  line-height: 1.55;
}

.bank-property-attachment-status-area {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.bank-property-attachment-status-area > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bank-property-attachment-status-area span,
.bank-property-attachment-status-area small {
  color: var(--muted);
  font-size: 13px;
}

.bank-property-attachment-status-area strong {
  overflow-wrap: anywhere;
}

.bank-property-attachment-action-area {
  margin-top: 2px;
}

.bank-property-attachment-action-area .bank-property-action-note {
  max-width: none;
}

.bank-property-upload-sections,
.bank-property-upload-section,
.bank-property-attachment-groups,
.bank-property-attachment-group-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.bank-property-upload-section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bank-property-upload-section-title,
.bank-property-attachment-group-heading,
.bank-property-attachment-category-head,
.bank-property-upload-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.bank-property-upload-section-title span,
.bank-property-attachment-group-heading span,
.bank-property-attachment-category-head span,
.bank-property-upload-card-head span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-upload-card-grid,
.bank-property-photo-group-grid,
.bank-property-document-group-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 10px;
  min-width: 0;
}

.bank-property-upload-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(143, 205, 187, 0.28);
  border-radius: 8px;
  background: #fff;
}

.bank-property-upload-card input[type="file"],
.bank-property-upload-card input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
}

.bank-property-upload-card .secondary-btn {
  width: fit-content;
}

.bank-property-upload-results {
  display: grid;
  gap: 6px;
}

.bank-property-upload-result {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #fff7f5;
  color: #7a3129;
}

.bank-property-upload-result.is-success {
  background: #f1fbf6;
  color: #245a3f;
}

.bank-property-upload-result.is-uploading {
  background: #f4f8ff;
  color: #2b4f7c;
}

.bank-property-upload-result span,
.bank-property-upload-result small {
  overflow-wrap: anywhere;
}

.bank-property-category-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-category-upload {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px dashed rgba(14, 121, 107, 0.32);
  border-radius: 8px;
  background: #f7fbfa;
}

.bank-property-category-upload.is-readonly {
  border-style: solid;
  background: #fbfcfc;
}

.bank-property-category-upload input:not([type="checkbox"]) {
  width: 100%;
  min-width: 0;
}

.bank-property-category-dropzone {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(14, 121, 107, 0.22);
  border-radius: 8px;
  background: #fff;
  color: #31524d;
  cursor: pointer;
}

.bank-property-category-dropzone span {
  font-weight: 700;
}

.bank-property-category-dropzone small {
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.bank-property-category-dropzone input[type="file"] {
  width: 100%;
  min-width: 0;
  margin-top: 4px;
}

.bank-property-photo-grid,
.bank-property-document-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bank-property-photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
}

.bank-property-photo-item,
.bank-property-document-item {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.bank-property-photo-thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #edf4f2;
  color: var(--muted);
  font-size: 13px;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.bank-property-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bank-property-cover-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(11, 69, 61, 0.88);
  color: #fff;
  font-size: 12px;
}

.bank-property-document-item {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.bank-property-document-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #edf4f2;
  color: #31524d;
  font-size: 12px;
  font-weight: 700;
}

.bank-property-attachment-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.bank-property-attachment-meta strong,
.bank-property-attachment-meta span,
.bank-property-attachment-meta small {
  overflow-wrap: anywhere;
}

.bank-property-attachment-meta span,
.bank-property-attachment-meta small,
.bank-property-empty-category {
  color: var(--muted);
  font-size: 12px;
}

.bank-property-empty-category {
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  background: #f7fbfa;
}

.bank-property-attachment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  grid-column: 1 / -1;
  min-width: 0;
}

.bank-property-attachment-actions select {
  max-width: min(180px, 100%);
}

.bank-property-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.bank-property-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 22, 0.58);
}

.bank-property-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
  max-height: min(82vh, 760px);
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(10, 24, 22, 0.28);
}

.bank-property-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.bank-property-preview-head strong {
  overflow-wrap: anywhere;
}

.bank-property-preview-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(82vh - 88px);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
  background: #edf4f2;
}

.bank-property-preview-fallback {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 12px;
  border-radius: 8px;
  background: #f7fbfa;
  color: #31524d;
  text-align: center;
}

.bank-property-public-preview-drawer {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: flex;
  justify-content: flex-end;
}

.bank-property-public-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 22, 0.46);
}

.bank-property-public-preview-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(720px, 100%);
  max-height: 100vh;
  min-width: 0;
  padding: 16px;
  overflow: auto;
  background: #fff;
  box-shadow: -18px 0 42px rgba(10, 24, 22, 0.22);
}

.bank-property-public-preview-cover {
  display: grid;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #edf4f2;
}

.bank-property-public-preview-cover img {
  width: 100%;
  height: min(280px, 34vh);
  object-fit: cover;
}

.bank-property-public-preview-cover div {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 24px;
  color: #31524d;
  text-align: center;
}

.bank-property-attachment-table table {
  min-width: 860px;
}

.bank-property-attachment-table small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
  max-width: 260px;
  overflow-wrap: anywhere;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
}

.tenant-box {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(143, 205, 187, 0.22);
  border-radius: 10px;
  background: #132d26;
}

.tenant-box span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
}

.tenant-box strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.tenant-box small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 18px;
}

.sidebar-footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.sidebar-footer-links button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8fcdbb;
  font-size: 12px;
  line-height: 18px;
}

.sidebar-footer-links button:hover {
  color: #fff;
}

.platform-workspace {
  grid-template-columns: 260px minmax(0, 1fr);
}

.platform-sidebar {
  background: #182825;
}

.platform-sidebar nav {
  gap: 8px;
  padding-right: 2px;
}

.platform-sidebar .nav-btn {
  display: block;
  height: auto;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #dce8e5;
  font-size: inherit;
  font-weight: 400;
  line-height: normal;
}

.platform-sidebar .nav-btn:hover,
.platform-sidebar .nav-btn.active {
  background: #233733;
  color: #fff;
  font-weight: 400;
}

.platform-sidebar .nav-btn.active::before {
  display: none;
}

.platform-sidebar .tenant-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.platform-sidebar .tenant-box span,
.platform-sidebar .tenant-box small {
  color: #b5c9c4;
}

.platform-main {
  background: #f6f8f8;
}

.platform-page {
  display: grid;
  gap: 16px;
}

.platform-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 18px;
  align-items: center;
}

.platform-hero h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.platform-hero p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.platform-mode-card,
.boundary-box,
.platform-detail-list div,
.platform-role-list article,
.platform-permission-groups article,
.platform-placeholder-list span,
.platform-placeholder-grid div,
.platform-supervision-grid article,
.platform-capability-grid article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.compact-boundary {
  gap: 0;
  padding: 8px 10px;
}

.compact-boundary p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.platform-mode-card span,
.platform-detail-list span,
.platform-placeholder-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.platform-mode-card strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.platform-mode-card small,
.boundary-box p,
.platform-role-list span,
.platform-role-list small,
.platform-capability-grid small,
.platform-capability-grid p,
.platform-filter-bar small,
.platform-permission-groups span {
  color: var(--muted);
  line-height: 1.6;
}

.platform-summary {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 0;
}

.platform-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
}

.platform-capability-grid article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.platform-supervision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.platform-supervision-grid article > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.platform-supervision-grid p,
.platform-supervision-grid small {
  color: var(--muted);
  line-height: 1.6;
}

.platform-supervision-grid button {
  justify-self: start;
}

.platform-placeholder-section {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.platform-capability-grid strong,
.platform-placeholder-grid strong,
.platform-supervision-grid strong {
  overflow-wrap: anywhere;
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.platform-grid > *,
.platform-bank-property-review-grid > *,
.platform-bank-property-review-grid .panel {
  min-width: 0;
}

.property-broker-page {
  display: grid;
  gap: 16px;
}

.property-broker-boundary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 106, 91, 0.18);
  border-radius: 8px;
  background: #f4fbf8;
}

.property-broker-boundary strong {
  color: var(--primary-dark);
}

.property-broker-boundary p {
  margin: 0;
  color: #465653;
  line-height: 1.65;
}

.property-broker-card {
  min-width: 0;
}

.property-broker-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.property-broker-confirm-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

.property-broker-consent-field {
  display: flex;
  min-height: 44px;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  align-self: end;
}

.property-broker-consent-field input {
  width: 16px;
  height: 16px;
}

.property-broker-advanced-field {
  padding-top: 8px;
  border-top: 1px dashed rgba(99, 112, 110, 0.26);
}

.property-broker-advanced-field span {
  color: var(--muted);
}

.property-broker-form label small {
  color: var(--muted);
  line-height: 1.45;
}

.property-broker-phone-preview {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
}

.property-broker-phone-preview strong,
.property-broker-phone-preview span {
  overflow-wrap: anywhere;
}

.property-broker-phone-preview strong {
  color: #243632;
}

.property-broker-phone-preview span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.property-broker-phone-preview.is-ready {
  border-color: rgba(46, 125, 50, 0.22);
  background: #eef8f0;
}

.property-broker-phone-preview.is-error {
  border-color: rgba(180, 35, 24, 0.2);
  background: #fff5f4;
}

.property-broker-phone-preview.is-error strong {
  color: var(--danger);
}

.property-broker-phone-preview.is-muted strong {
  color: var(--muted);
}

.property-broker-form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.property-broker-form-actions small,
.property-broker-table small,
.muted-text {
  color: var(--muted);
  line-height: 1.45;
}

.property-broker-filter-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.property-broker-filter-row label {
  width: min(260px, 100%);
}

.property-broker-table-wrap {
  overflow-x: auto;
}

.property-broker-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.property-broker-table th,
.property-broker-table td {
  padding: 10px 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.property-broker-table th {
  color: var(--muted);
  font-size: 12px;
}

.property-broker-table td {
  color: #22302d;
}

.property-broker-table td strong,
.property-broker-table td small,
.property-broker-table td span {
  display: block;
  overflow-wrap: anywhere;
}

.property-broker-status {
  display: inline-grid;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.property-broker-status.status-final {
  background: #e8f6ef;
  color: var(--good);
}

.property-broker-status.status-review {
  background: #fff4e6;
  color: #9a5a14;
}

.property-broker-status.status-draft {
  background: #eef3f6;
  color: #49606a;
}

.property-broker-status.status-archived {
  background: #f8eeee;
  color: #9f2f2f;
}

.property-broker-phone {
  color: var(--primary-dark);
  font-weight: 800;
}

.property-broker-row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
}

.property-broker-row-actions button {
  min-height: 32px;
  padding: 0 10px;
}

.property-broker-history-action {
  display: inline-grid;
  min-height: 32px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.property-broker-error {
  padding: 10px 12px;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 8px;
  background: #fff5f4;
  color: var(--danger);
}

.property-broker-empty .empty-state {
  margin: 0;
}

.property-broker-summary {
  margin: 0;
}

.property-broker-review-detail {
  display: grid;
  gap: 14px;
}

.property-broker-detail-grid,
.property-broker-material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.property-broker-detail-grid > div,
.property-broker-material-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.property-broker-detail-grid span,
.property-broker-material-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.property-broker-detail-grid strong,
.property-broker-material-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.property-broker-material-card {
  display: grid;
  gap: 10px;
}

.property-broker-material-card img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6f8f7;
}

@media (max-width: 760px) {
  .property-broker-form,
  .property-broker-confirm-form,
  .property-broker-detail-grid,
  .property-broker-material-grid {
    grid-template-columns: 1fr;
  }

  .property-broker-filter-row {
    justify-content: stretch;
  }

  .property-broker-filter-row label {
    width: 100%;
  }
}

.report-access-diagnostics-panel {
  display: grid;
  gap: 14px;
}

.report-access-diagnostics-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.report-access-diagnostics-filter label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.report-access-diagnostics-filter label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.report-access-diagnostics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.report-access-flow {
  display: grid;
  gap: 14px;
}

.report-access-empty-state {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.report-access-empty-state strong {
  color: var(--text);
  font-size: 16px;
}

.report-access-empty-state span {
  color: var(--muted);
  line-height: 1.7;
}

.report-access-conclusion-card {
  display: grid;
  gap: 12px;
  border-left: 4px solid var(--primary);
}

.report-access-conclusion-main {
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.report-access-conclusion-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.report-access-conclusion-body > div,
.report-access-snapshot-only-notice {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.report-access-conclusion-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.report-access-conclusion-body ul,
.report-access-conclusion-body p,
.report-access-snapshot-only-notice {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.report-access-conclusion-body ul {
  padding-left: 18px;
}

.report-access-snapshot-only-notice {
  border-color: #f6c35b;
  background: #fff9eb;
  color: #7a4a00;
}

.report-access-diagnostics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.report-access-diagnostics-grid > *,
.report-access-diagnostics-block {
  min-width: 0;
}

.report-access-diagnostics-block {
  display: grid;
  gap: 12px;
}

.report-access-initial-generation {
  border-left: 4px solid #3b7f78;
}

.report-access-link-details {
  display: grid;
  gap: 10px;
}

.report-access-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.report-access-section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.report-access-section-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.report-access-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-access-detail-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.report-access-detail-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.report-access-detail-title h3 {
  margin: 0;
  font-size: 15px;
}

.report-access-generation-note,
.report-access-generation-final,
.report-access-generation-actions span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.report-access-generation-final {
  color: var(--danger);
  font-weight: 700;
}

.report-access-generation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.report-access-generation-reasons {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f6;
}

.report-access-generation-reasons ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.report-access-info-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.report-access-info-list div {
  display: grid;
  grid-template-columns: minmax(96px, 0.3fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.report-access-info-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.report-access-info-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.report-access-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-access-status-line > span,
.report-access-reasons {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.report-access-diagnosis-code {
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.report-access-reasons {
  display: grid;
  gap: 8px;
}

.report-access-reasons p,
.report-access-reasons ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.report-access-reasons ul {
  padding-left: 18px;
}

.report-access-hash {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.ai-config-hero,
.ai-config-grid > *,
.ai-config-card-grid article,
.ai-config-list div,
.ai-config-rule-list span,
.ai-config-status-strip div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ai-config-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ai-config-card-grid article p,
.ai-config-list small,
.ai-config-rule-list span,
.ai-config-status-strip small {
  color: var(--muted);
  line-height: 1.6;
}

.ai-config-chip-list {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  gap: 6px;
}

.ai-config-run-panel {
  display: grid;
  gap: 12px;
}

.ai-config-run-stats {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.ai-config-count-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ai-config-count-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.ai-config-count-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ai-config-count-card div {
  display: grid;
  gap: 6px;
}

.ai-config-count-card small {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
  min-width: 0;
}

.ai-config-count-card strong {
  color: var(--text);
  overflow-wrap: anywhere;
}

.ai-config-run-table table {
  min-width: 760px;
}

.ai-config-run-table td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.45;
}

.platform-bank-property-review-grid {
  grid-template-columns: minmax(0, 1fr);
}

.platform-bank-property-table-wrap,
.platform-bank-property-review-grid .bank-property-attachment-table {
  max-width: 100%;
  min-width: 0;
}

.platform-bank-property-table-wrap table {
  min-width: 2080px;
}

.platform-public-table-wrap table {
  min-width: 1680px;
}

.platform-lead-table-wrap table {
  min-width: 2100px;
}

.platform-bank-property-table-wrap td strong {
  display: block;
}

.platform-bank-property-table-wrap td small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.platform-bank-property-table-wrap td,
.platform-bank-property-table-wrap th,
.platform-bank-property-detail-grid dd,
.platform-bank-property-review-grid .boundary-box,
.platform-bank-property-review-grid .panel-title,
.platform-bank-property-review-grid .review-action-card,
.platform-bank-property-review-grid .bank-property-attachment-table td,
.platform-bank-property-review-grid .bank-property-attachment-table th {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.bank-property-auction-phase-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #b8d7cf;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: #f4faf8;
}

.bank-property-auction-phase-summary h3 {
  margin: 0;
  color: var(--primary-dark);
}

.bank-property-auction-phase-empty,
.bank-property-auction-phase-status {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #d8e1df;
  border-radius: 8px;
  background: #fff;
}

.bank-property-auction-phase-empty {
  color: var(--muted);
  font-weight: 700;
}

.bank-property-auction-phase-status strong {
  color: var(--primary-dark);
}

.bank-property-auction-phase-status span {
  color: var(--muted);
  line-height: 1.55;
}

.bank-property-auction-phase-grid {
  padding-top: 8px;
  border-top: 1px solid #d6e4df;
}

@media (min-width: 1500px) {
  .platform-bank-property-review-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.auction-review-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.auction-review-layout {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 12px;
}

.auction-review-table-wrap table {
  min-width: 900px;
}

.auction-review-table-wrap td strong,
.auction-review-table-wrap td small {
  display: block;
  max-width: 260px;
  overflow-wrap: anywhere;
}

.auction-review-detail {
  display: grid;
  gap: 10px;
}

.auction-review-detail .empty-state {
  min-height: 0;
  padding: 14px;
}

.auction-review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-review-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auction-review-field-grid div {
  min-width: 0;
}

.auction-review-field-grid strong {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.auction-review-warning-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #684d2b;
  line-height: 1.6;
}

.auction-review-action-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-review-action-panel textarea {
  min-height: 56px;
}

.auction-review-action-panel .button-row {
  flex-wrap: wrap;
}

.auction-review-action-panel .button-row button {
  min-width: 112px;
  white-space: nowrap;
}

.platform-stat-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.platform-stat-button > div {
  height: 100%;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.platform-stat-button:hover > div {
  border-color: color-mix(in srgb, var(--primary) 38%, var(--line));
  box-shadow: 0 8px 18px rgba(22, 43, 38, 0.08);
  transform: translateY(-1px);
}

.inline-alert {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #f0d9a4;
  border-radius: 8px;
  background: #fff8e8;
  color: #6d5120;
  line-height: 1.6;
}

.pill.warning {
  background: #fff8e8;
  color: #7b5514;
}

.auction-featured-boundary {
  grid-template-columns: minmax(0, 1fr) minmax(180px, max-content);
  align-items: center;
}

.auction-featured-boundary-card small {
  overflow-wrap: anywhere;
}

.auction-featured-policy-panel {
  display: grid;
  gap: 12px;
}

.platform-subtab-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-subtab-btn {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.platform-subtab-btn.active {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--line));
  background: #edf7f4;
  box-shadow: inset 4px 0 0 var(--primary);
}

.platform-subtab-btn strong {
  color: var(--primary-dark);
  font-size: 15px;
}

.platform-subtab-btn span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-subtab-nav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.auction-featured-subtab-nav .platform-subtab-btn {
  min-height: 82px;
  height: 100%;
  align-content: start;
}

.auction-featured-strategy-overview,
.auction-featured-analytics-panel,
.auction-featured-lead-panel,
.auction-featured-display-panel,
.auction-featured-publication-panel {
  display: grid;
  gap: 12px;
}

.auction-featured-strategy-overview .boundary-box {
  max-width: 920px;
  min-width: 0;
}

.auction-featured-strategy-overview .boundary-box p {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.auction-featured-strategy-overview .summary-strip.auction-featured-summary {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.auction-featured-strategy-overview .summary-strip.auction-featured-summary > div {
  min-height: 86px;
  align-content: start;
}

.auction-featured-console-actions,
.featured-control-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.auction-featured-console-actions .primary-btn,
.auction-featured-console-actions .table-btn,
.featured-control-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 144px;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.auction-featured-console-actions .table-btn,
.featured-control-action-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-dark);
}

.featured-control-action-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
}

@media (max-width: 720px) {
  .featured-control-actions {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .featured-control-action {
    min-width: 132px;
  }
}

.auction-featured-policy-collapsible {
  display: block;
}

.auction-featured-policy-collapsible > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.auction-featured-policy-collapsible > summary span {
  font-weight: 900;
}

.auction-featured-policy-collapsible > summary small {
  color: var(--muted);
  line-height: 1.5;
  text-align: right;
}

.auction-featured-policy-collapsible[open] > summary {
  margin-bottom: 12px;
}

.auction-featured-bucket-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding-bottom: 0;
}

.auction-featured-bucket-strip .auction-featured-review-bucket-card {
  flex: initial;
  width: 100%;
  min-width: 0;
}

.auction-featured-review-tablist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-review-tab {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.auction-featured-review-tab.active {
  border-color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

.auction-featured-review-tab span,
.auction-featured-review-tab small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.auction-featured-review-tab strong {
  display: block;
  margin: 4px 0;
  color: var(--primary-dark);
  font-size: 22px;
}

.auction-featured-review-bucket-card small,
.auction-featured-boundary-card small,
.auction-featured-public-project-table-wrap td,
.auction-featured-lead-table-wrap td,
.auction-featured-trend-table-wrap td {
  overflow-wrap: anywhere;
}

.auction-featured-lead-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 10px;
}

.auction-featured-public-project-table-wrap table {
  min-width: 1240px;
  table-layout: fixed;
}

.auction-featured-lead-table-wrap table {
  min-width: 1860px;
}

.auction-featured-trend-table-wrap table {
  min-width: 720px;
}

.auction-featured-layout-table-wrap,
.auction-featured-table-wrap,
.auction-featured-public-project-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
}

.auction-featured-public-project-table-wrap th,
.auction-featured-public-project-table-wrap td {
  padding: 8px 8px;
  vertical-align: top;
}

.auction-featured-public-project-table-wrap th {
  white-space: nowrap;
}

.auction-featured-public-project-table-wrap td:nth-child(1),
.auction-featured-public-project-table-wrap th:nth-child(1) {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  overflow-wrap: normal;
  word-break: normal;
}

.auction-featured-public-project-table-wrap td:nth-child(2),
.auction-featured-public-project-table-wrap th:nth-child(2) {
  width: 150px;
  white-space: nowrap;
}

.auction-featured-public-project-table-wrap td:nth-child(3),
.auction-featured-public-project-table-wrap th:nth-child(3) {
  width: 250px;
}

.auction-featured-public-project-table-wrap td:nth-child(4),
.auction-featured-public-project-table-wrap th:nth-child(4) {
  width: 120px;
  white-space: nowrap;
}

.auction-featured-public-project-table-wrap td:nth-child(5),
.auction-featured-public-project-table-wrap th:nth-child(5) {
  width: 150px;
  white-space: nowrap;
}

.auction-featured-public-project-table-wrap td:nth-child(6),
.auction-featured-public-project-table-wrap th:nth-child(6) {
  width: 160px;
  white-space: nowrap;
}

.auction-featured-public-project-table-wrap td:first-child strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.auction-featured-public-project-table-wrap td:first-child small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

.auction-featured-public-project-table-wrap .table-btn {
  min-height: 28px;
  padding: 0 8px;
  white-space: nowrap;
}

.auction-featured-public-stage-expired {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: #fff7ed;
  color: #8a4b12;
}

@media (max-width: 980px) {
  .auction-featured-subtab-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auction-featured-bucket-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auction-featured-review-tablist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .auction-featured-bucket-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .auction-featured-review-tablist {
    grid-template-columns: minmax(0, 1fr);
  }
}

.auction-featured-projects-bridge {
  display: grid;
  gap: 12px;
}

.auction-featured-projects-bridge .secondary-btn {
  justify-self: start;
}

.auction-featured-policy-stage {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-top {
  background: #f9fbfb;
}

.auction-featured-policy-brief {
  display: grid;
  gap: 4px;
}

.auction-featured-policy-brief strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.auction-featured-policy-brief p,
.auction-featured-policy-section-title span,
.auction-featured-policy-scenario summary p,
.auction-featured-policy-inline-rows span,
.auction-featured-policy-inline-rows small,
.auction-featured-policy-preview-note span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.auction-featured-policy-section-title h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.auction-featured-policy-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-policy-preview-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px dashed #cfd8d6;
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-console-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 12px;
  align-items: start;
}

.auction-featured-policy-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.72fr);
  gap: 12px;
  align-items: start;
}

.auction-featured-policy-main-column {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.auction-featured-policy-config-column,
.auction-featured-policy-preview-column,
.auction-featured-policy-preview-stack {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.auction-featured-policy-summary {
  background: #fff;
}

.auction-featured-policy-narrative {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 14px;
  line-height: 1.7;
  background: #f7faf9;
}

.auction-featured-policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-summary-card {
  align-content: start;
}

.auction-featured-policy-rule-cards {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px;
  border: 1px solid #edf2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-rule-cards summary {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.auction-featured-policy-rule-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 8px;
}

.auction-featured-policy-rule-card-grid > div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #edf2f2;
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-rule-cards span,
.auction-featured-policy-rule-cards small,
.auction-featured-policy-empty-preview span,
.auction-featured-policy-wizard-step small,
.auction-featured-policy-wizard-step p,
.auction-featured-policy-impact span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-rule-cards strong {
  color: var(--text);
  font-size: 13px;
}

.auction-featured-policy-edit-entry {
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  background: #fff;
}

.auction-featured-policy-edit-entry h3 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: 16px;
}

.auction-featured-policy-edit-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-wizard {
  background: #fff;
}

.auction-featured-policy-drawer {
  width: min(1040px, 96vw);
}

.auction-featured-policy-drawer-form,
.auction-featured-policy-edit-steps,
.auction-featured-policy-drawer-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.auction-featured-policy-drawer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.65fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
}

.auction-featured-policy-drawer-layout.is-readonly {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
}

.auction-featured-policy-drawer-side {
  position: sticky;
  top: 12px;
}

.auction-featured-policy-step-block {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-step-block-body,
.auction-featured-policy-readonly-group {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.auction-featured-policy-readonly-group h4 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content max-content max-content;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -8px 18px rgba(24, 43, 38, 0.08);
}

.auction-featured-policy-sticky-actions div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.auction-featured-policy-sticky-actions strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-sticky-actions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-danger {
  grid-column: 1 / -1;
  padding: 10px;
  border: 1px solid rgba(184, 71, 71, 0.22);
  border-radius: 8px;
  background: #fff8f7;
}

.auction-featured-policy-danger summary {
  color: var(--danger);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.auction-featured-policy-danger div {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.auction-featured-policy-danger span {
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-policy-wizard-grid {
  display: grid;
  gap: 10px;
}

.auction-featured-policy-wizard-step {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #edf2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-wizard-step h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 14px;
}

.auction-featured-policy-wizard-step label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-policy-wizard-step select {
  width: 100%;
  min-width: 0;
}

.auction-featured-policy-action-options,
.auction-featured-policy-impact {
  display: grid;
  gap: 8px;
}

.auction-featured-policy-action-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auction-featured-policy-action-options span,
.auction-featured-policy-impact div {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-action-options span {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.auction-featured-policy-impact strong {
  color: var(--text);
  font-size: 13px;
}

.auction-featured-policy-save-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.auction-featured-policy-save-row small {
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-policy-inline-error {
  padding: 8px 10px;
  border: 1px solid rgba(184, 71, 71, 0.28);
  border-radius: 8px;
  color: var(--danger);
  font-size: 12px;
  background: #fff5f4;
}

.auction-featured-policy-empty-preview {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px dashed #cfd8d6;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-empty-preview strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-step summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.auction-featured-policy-step summary::-webkit-details-marker {
  display: none;
}

.auction-featured-policy-step summary h3 {
  margin: 0 0 3px;
  color: var(--primary-dark);
  font-size: 15px;
}

.auction-featured-policy-step summary p,
.auction-featured-policy-note,
.auction-featured-policy-source-scope small,
.auction-featured-policy-risk-card small,
.auction-featured-policy-preview-list span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-step summary > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  background: #f7faf9;
}

.auction-featured-policy-step-body {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
  border-top: 1px solid #edf2f2;
}

.auction-featured-policy-source-scope,
.auction-featured-policy-split-block {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.auction-featured-policy-source-scope {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auction-featured-policy-source-scope h4,
.auction-featured-policy-split-block h4 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-source-scope div {
  display: grid;
  gap: 3px;
  padding: 8px;
  border-radius: 8px;
  background: #f7faf9;
}

.auction-featured-policy-source-scope span,
.auction-featured-policy-source-scope strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.auction-featured-policy-split-block {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auction-featured-policy-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 15px;
}

.auction-featured-policy-rows {
  display: grid;
  gap: 8px;
}

.auction-featured-policy-rows div {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f2;
}

.auction-featured-policy-rows div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.auction-featured-policy-rows span,
.auction-featured-policy-rows small,
.auction-featured-policy-flow span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-rows strong {
  overflow-wrap: anywhere;
}

.auction-featured-policy-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-flow div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.auction-featured-policy-form {
  display: grid;
  gap: 12px;
}

.auction-featured-policy-status {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-status > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  border-radius: 8px;
  background: #f7faf9;
}

.auction-featured-policy-status .auction-featured-policy-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #edf2f2;
  background: transparent;
}

.auction-featured-policy-status span,
.auction-featured-policy-status small,
.auction-featured-policy-edit-card p,
.auction-featured-policy-reasons span,
.auction-featured-policy-reasons small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-status strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  color: var(--primary-dark);
}

.auction-featured-policy-scenarios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-scenario {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-policy-scenario.is-wide {
  grid-column: 1 / -1;
}

.auction-featured-policy-scenario summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  cursor: pointer;
  list-style: none;
}

.auction-featured-policy-scenario summary::-webkit-details-marker {
  display: none;
}

.auction-featured-policy-scenario summary h3 {
  margin: 0 0 3px;
  color: var(--primary-dark);
  font-size: 15px;
}

.auction-featured-policy-scenario summary > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 12px;
  background: #f7faf9;
}

.auction-featured-policy-scenario-body {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 0 12px 12px;
  border-top: 1px solid #edf2f2;
}

.auction-featured-policy-inline-rows {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding-top: 12px;
}

.auction-featured-policy-inline-rows > strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-inline-rows div {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 8px;
  background: #f7faf9;
}

.auction-featured-policy-inline-rows b {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
}

.auction-featured-policy-controls,
.auction-featured-policy-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  padding-top: 12px;
}

.auction-featured-policy-controls label,
.auction-featured-policy-mode-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-policy-controls input,
.auction-featured-policy-controls select,
.auction-featured-policy-mode-grid select {
  width: 100%;
  min-width: 0;
}

.auction-featured-policy-controls label:has(input[type="checkbox"]) {
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
}

.auction-featured-policy-rule-table-wrap {
  overflow-x: auto;
}

.auction-featured-policy-rule-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}

.auction-featured-policy-rule-table th,
.auction-featured-policy-rule-table td {
  padding: 8px;
  border-bottom: 1px solid #edf2f2;
  vertical-align: middle;
  text-align: left;
  font-size: 12px;
}

.auction-featured-policy-rule-table th {
  color: var(--primary-dark);
  font-weight: 900;
  background: #f7faf9;
}

.auction-featured-policy-rule-table input {
  width: 100%;
  min-width: 0;
}

.auction-featured-policy-inline-check {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-policy-inline-check input {
  width: auto;
}

.auction-featured-policy-risk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-policy-risk-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-risk-card span {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.auction-featured-policy-risk-card select {
  width: 100%;
  min-width: 0;
}

.auction-featured-policy-preview-list {
  display: grid;
  gap: 8px;
}

.auction-featured-policy-preview-list div {
  display: grid;
  gap: 3px;
  padding: 9px;
  border-radius: 8px;
  background: #f7faf9;
}

.auction-featured-policy-preview-list strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
}

.auction-featured-policy-monitor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 10px;
}

.auction-featured-policy-recent-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-policy-recent-result-grid > div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: #f7faf9;
}

.auction-featured-policy-recent-result-grid span,
.auction-featured-policy-recent-result-grid small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.auction-featured-policy-recent-result-grid strong {
  color: var(--text);
  font-size: 13px;
}

.auction-featured-policy-recent-result-grid strong.is-error {
  color: var(--danger);
}

.auction-featured-policy-threshold-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-policy-threshold-row {
  display: grid;
  grid-template-columns: minmax(76px, max-content) repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-policy-threshold-row h4 {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 13px;
}

.auction-featured-policy-threshold-row label:has(input[type="checkbox"]) {
  grid-column: span 2;
}

.auction-featured-policy-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-policy-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.auction-featured-policy-reasons {
  display: grid;
  gap: 6px;
}

.auction-featured-policy-reasons span {
  padding: 6px 8px;
  border-radius: 6px;
  background: #f4f7f7;
}

.auction-featured-policy-hidden-fields {
  margin: 0;
}

.summary-strip.auction-featured-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.summary-strip.auction-featured-summary div {
  min-height: 92px;
  padding: 10px 12px;
}

.summary-strip.auction-featured-summary strong {
  font-size: 20px;
}

.platform-stat-button.active > div {
  border-color: color-mix(in srgb, var(--primary) 52%, var(--line));
  background: #edf7f4;
  box-shadow: inset 3px 0 0 var(--primary);
}

.auction-featured-filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.auction-featured-filter-actions {
  display: flex;
  align-items: end;
}

.auction-featured-filter-actions button {
  width: 100%;
}

.auction-featured-filter-summary {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.auction-featured-empty-state {
  margin-top: 10px;
}

.auction-featured-layout {
  grid-template-columns: minmax(0, 1fr);
}

.auction-featured-batch-bar {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-batch-bar > div:first-child {
  display: grid;
  gap: 4px;
}

.auction-featured-batch-bar span,
.auction-featured-batch-bar small {
  color: var(--muted);
  line-height: 1.5;
}

.auction-featured-batch-bar .button-row {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.auction-featured-batch-bar > small {
  grid-column: 1 / -1;
}

.auction-featured-table-wrap table {
  table-layout: fixed;
}

.auction-featured-review-table-wrap table {
  min-width: 1720px;
}

.auction-featured-governance-table-wrap table {
  min-width: 1600px;
}

.auction-featured-publication-table-wrap table {
  min-width: 1520px;
}

.auction-featured-table-wrap th,
.auction-featured-table-wrap td {
  padding: 7px 8px;
  white-space: normal;
  vertical-align: middle;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.auction-featured-table-wrap th {
  font-size: 12px;
  white-space: nowrap;
}

.auction-featured-review-table-wrap th:first-child,
.auction-featured-review-table-wrap td:first-child {
  width: 44px;
  text-align: center;
}

.auction-featured-table-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
}

.auction-featured-review-table-wrap td:nth-child(2),
.auction-featured-review-table-wrap th:nth-child(2) {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
}

.auction-featured-review-table-wrap td:nth-child(3),
.auction-featured-review-table-wrap th:nth-child(3) {
  width: 160px;
}

.auction-featured-review-table-wrap td:nth-child(4),
.auction-featured-review-table-wrap th:nth-child(4) {
  width: 300px;
}

.auction-featured-review-table-wrap td:nth-child(5),
.auction-featured-review-table-wrap th:nth-child(5) {
  width: 220px;
}

.auction-featured-review-table-wrap td:nth-child(6),
.auction-featured-review-table-wrap th:nth-child(6) {
  width: 150px;
  white-space: nowrap;
}

.auction-featured-review-table-wrap td:nth-child(7),
.auction-featured-review-table-wrap th:nth-child(7) {
  width: 460px;
}

.auction-featured-governance-table-wrap td:nth-child(1),
.auction-featured-governance-table-wrap th:nth-child(1),
.auction-featured-publication-table-wrap td:nth-child(1),
.auction-featured-publication-table-wrap th:nth-child(1) {
  width: 360px;
  min-width: 360px;
  max-width: 360px;
}

.auction-featured-governance-table-wrap td:nth-child(2),
.auction-featured-governance-table-wrap th:nth-child(2) {
  width: 190px;
}

.auction-featured-governance-table-wrap td:nth-child(3),
.auction-featured-governance-table-wrap th:nth-child(3) {
  width: 120px;
  white-space: nowrap;
}

.auction-featured-governance-table-wrap td:nth-child(4),
.auction-featured-governance-table-wrap th:nth-child(4) {
  width: 250px;
}

.auction-featured-governance-table-wrap td:nth-child(5),
.auction-featured-governance-table-wrap th:nth-child(5) {
  width: 220px;
}

.auction-featured-governance-table-wrap td:nth-child(6),
.auction-featured-governance-table-wrap th:nth-child(6) {
  width: 180px;
  white-space: nowrap;
}

.auction-featured-governance-table-wrap td:nth-child(7),
.auction-featured-governance-table-wrap th:nth-child(7) {
  width: 280px;
}

.auction-featured-publication-table-wrap td:nth-child(2),
.auction-featured-publication-table-wrap th:nth-child(2) {
  width: 150px;
  white-space: nowrap;
}

.auction-featured-publication-table-wrap td:nth-child(3),
.auction-featured-publication-table-wrap th:nth-child(3),
.auction-featured-publication-table-wrap td:nth-child(4),
.auction-featured-publication-table-wrap th:nth-child(4),
.auction-featured-publication-table-wrap td:nth-child(6),
.auction-featured-publication-table-wrap th:nth-child(6) {
  width: 130px;
  white-space: nowrap;
}

.auction-featured-publication-table-wrap td:nth-child(5),
.auction-featured-publication-table-wrap th:nth-child(5) {
  width: 170px;
  white-space: nowrap;
}

.auction-featured-publication-table-wrap td:nth-child(7),
.auction-featured-publication-table-wrap th:nth-child(7) {
  width: 200px;
}

.auction-featured-publication-table-wrap td:nth-child(8),
.auction-featured-publication-table-wrap th:nth-child(8) {
  width: 250px;
}

.auction-featured-title-button {
  display: -webkit-box;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.auction-featured-table-wrap td strong,
.auction-featured-table-wrap td small {
  display: block;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

.auction-featured-review-table-wrap td:nth-child(2) small,
.auction-featured-review-table-wrap td:nth-child(3) small,
.auction-featured-review-table-wrap td:nth-child(6),
.auction-featured-governance-table-wrap td:first-child small,
.auction-featured-governance-table-wrap td:nth-child(2) small,
.auction-featured-governance-table-wrap td:nth-child(6) small,
.auction-featured-publication-table-wrap td:first-child small,
.auction-featured-publication-table-wrap td:nth-child(7) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-featured-review-table-wrap td:nth-child(4) strong,
.auction-featured-review-table-wrap td:nth-child(4) small,
.auction-featured-governance-table-wrap td:first-child strong,
.auction-featured-publication-table-wrap td:first-child strong,
.auction-featured-table-clamp {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.auction-featured-table-wrap .pill {
  white-space: nowrap;
}

.auction-featured-detail {
  display: grid;
  gap: 12px;
}

.auction-featured-section {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.auction-featured-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.auction-featured-section h3,
.auction-featured-section h4 {
  margin: 0;
  color: var(--text);
}

.auction-featured-section-head {
  display: grid;
  gap: 4px;
}

.auction-featured-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auction-featured-bank-property-summary {
  padding: 14px;
  border: 1px solid #b8d7cf;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: #f4faf8;
}

.auction-featured-bank-property-summary h3 {
  color: var(--primary-dark);
}

.auction-featured-bank-property-summary .auction-review-field-grid {
  padding-top: 8px;
  border-top: 1px solid #d6e4df;
}

.auction-featured-manual-status {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #d8e1df;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-manual-status strong {
  color: var(--primary-dark);
}

.auction-featured-manual-status span {
  color: var(--muted);
  line-height: 1.55;
}

.auction-featured-verification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-verification-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-verification-grid small,
.auction-featured-verification-grid li {
  color: var(--muted);
  line-height: 1.55;
}

.auction-featured-verification-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.auction-featured-system-basis {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px dashed #cbd8d5;
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-system-basis summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 800;
}

.auction-featured-system-basis[open] {
  gap: 12px;
}

.auction-featured-score-grid,
.auction-featured-summary-grid,
.auction-featured-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auction-featured-score-grid article,
.auction-featured-summary-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-featured-score-grid span,
.auction-featured-score-grid small,
.auction-featured-summary-grid small,
.auction-featured-summary-grid li,
.auction-featured-change-list small {
  color: var(--muted);
  line-height: 1.55;
}

.auction-featured-score-grid strong {
  font-size: 20px;
  color: var(--primary-dark);
}

.auction-featured-summary-grid ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.auction-featured-change-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.auction-featured-action-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auction-featured-action-panel .button-row {
  flex-wrap: wrap;
}

.auction-featured-action-panel .button-row button {
  min-width: 116px;
}

.platform-detail-list,
.platform-role-list,
.platform-permission-groups,
.platform-placeholder-list,
.platform-placeholder-grid,
.platform-permission-chip-list {
  display: grid;
  gap: 10px;
}

.platform-detail-list {
  margin-bottom: 12px;
}

.platform-detail-list strong {
  overflow-wrap: anywhere;
}

.platform-role-list article.active {
  border-color: var(--primary);
  background: #edf7f4;
}

.platform-role-detail {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.platform-permission-chip-list {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.platform-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.platform-bank-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
}

.platform-bank-filter-grid label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.platform-bank-filter-grid label span,
.auction-featured-lead-filter-grid label span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-bank-filter-grid input,
.platform-bank-filter-grid select,
.auction-featured-lead-filter-grid input,
.auction-featured-lead-filter-grid select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
}

.platform-bank-filter-grid button,
.platform-public-filter-actions .table-btn,
.platform-public-filter-actions .secondary-btn,
.platform-public-filter-actions .primary-btn {
  min-height: 34px;
}

.platform-bank-management-tabs {
  display: grid;
  gap: 10px;
}

.platform-bank-stage-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-gutter: stable;
}

.platform-bank-stage-tab {
  appearance: none;
  flex: 0 0 132px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.platform-bank-stage-tab:hover,
.platform-bank-stage-tab.active {
  border-color: var(--primary);
  background: #edf7f4;
  color: var(--primary-dark);
}

.platform-bank-stage-note {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.platform-bank-stage-note strong {
  color: var(--primary-dark);
}

.platform-bank-stage-note span,
.platform-bank-stage-note small {
  color: var(--muted);
  line-height: 1.5;
}

.platform-bank-stage-note small {
  grid-column: 2;
}

.platform-review-todo-panel {
  margin-bottom: 16px;
}

.platform-review-todo-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-gutter: stable;
}

.platform-review-todo-card {
  flex: 0 0 132px;
  min-height: 82px;
  align-content: start;
}

.platform-review-todo-card.active {
  border-color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

.platform-review-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 220px;
}

.auction-featured-table-wrap .platform-review-row-actions {
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.platform-review-row-actions .table-btn,
.platform-review-row-actions .primary-btn,
.platform-review-row-actions .secondary-btn,
.platform-review-row-actions .danger-btn {
  min-height: 32px;
  white-space: normal;
}

.auction-featured-table-wrap .platform-review-row-actions .table-btn,
.auction-featured-table-wrap .platform-review-row-actions .primary-btn,
.auction-featured-table-wrap .platform-review-row-actions .secondary-btn,
.auction-featured-table-wrap .platform-review-row-actions .danger-btn {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.platform-bank-substage-tabs {
  display: flex;
  gap: 8px;
  margin: 12px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.platform-bank-substage-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.platform-bank-substage-tab.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.platform-bank-auction-linkage-stage {
  display: grid;
  gap: 12px;
}

.platform-bank-linkage-title {
  margin-top: 4px;
}

.ops-detail-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 24, 22, 0.24);
}

.ops-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  width: min(760px, calc(100vw - 28px));
  padding: 18px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: #f8faf9;
  box-shadow: -18px 0 42px rgba(16, 32, 29, 0.18);
}

.ops-detail-drawer-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 12px;
  align-items: start;
}

.ops-detail-drawer-head h2 {
  margin: 4px 0;
  font-size: 20px;
}

.ops-detail-drawer-head span,
.ops-detail-drawer-nav {
  color: var(--muted);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.ops-detail-drawer-nav,
.ops-drawer-section {
  display: grid;
  gap: 10px;
}

.ops-detail-drawer-nav {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.ops-detail-drawer-nav > div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.ops-detail-drawer-position {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ops-drawer-section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ops-drawer-section .panel-title {
  margin-bottom: 0;
}

.ops-drawer-technical summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 900;
}

.platform-bank-auction-linkage-drawer {
  gap: 10px;
  width: min(820px, calc(100vw - 28px));
  padding: 14px;
}

.platform-bank-auction-linkage-drawer .ops-drawer-section {
  gap: 8px;
  padding: 10px;
}

.platform-bank-auction-linkage-drawer .platform-detail-list {
  gap: 8px;
  margin-bottom: 8px;
}

.platform-bank-auction-linkage-drawer .button-row {
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.platform-bank-auction-linkage-drawer .button-row button {
  width: auto;
  min-width: 112px;
  white-space: nowrap;
}

.platform-bank-auction-linkage-drawer .empty-state {
  min-height: 0;
  padding: 12px;
}

.platform-bank-auction-linkage-table-wrap table {
  min-width: 940px;
  table-layout: fixed;
}

.platform-bank-property-table-wrap,
.platform-bank-auction-linkage-table-wrap {
  scrollbar-gutter: stable both-edges;
}

.platform-bank-auction-linkage-table-wrap th,
.platform-bank-auction-linkage-table-wrap td {
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.28;
  vertical-align: middle;
  word-break: normal;
}

.platform-bank-auction-linkage-table-wrap th:nth-child(3),
.platform-bank-auction-linkage-table-wrap td:nth-child(3),
.platform-bank-auction-linkage-table-wrap th:nth-child(4),
.platform-bank-auction-linkage-table-wrap td:nth-child(4),
.platform-bank-auction-linkage-table-wrap th:nth-child(5),
.platform-bank-auction-linkage-table-wrap td:nth-child(5) {
  width: 92px;
}

.platform-bank-auction-linkage-table-wrap th:last-child,
.platform-bank-auction-linkage-table-wrap td:last-child {
  width: 138px;
  min-width: 138px;
  text-align: right;
}

.platform-bank-auction-linkage-table-wrap td strong,
.platform-bank-auction-linkage-table-wrap td small {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.platform-bank-auction-linkage-conclusion {
  border-color: rgba(27, 118, 94, 0.2);
}

.platform-bank-linkage-reasons {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5eded;
  border-radius: 8px;
  background: #fbfcfc;
}

.platform-bank-linkage-reasons strong,
.platform-bank-linkage-boundary {
  color: var(--muted);
  font-size: 13px;
}

.platform-bank-linkage-reasons ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.platform-bank-linkage-boundary {
  margin: 0;
  line-height: 1.6;
}

.platform-bank-linkage-candidate-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.platform-bank-linkage-candidate-tab {
  flex: 0 0 148px;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.platform-bank-linkage-candidate-tab.active {
  border-color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}

.platform-bank-linkage-candidate-tab span,
.platform-bank-linkage-candidate-tab small {
  color: var(--muted);
}

.auction-linkage-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auction-linkage-comparison-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.auction-linkage-comparison-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 15px;
}

.auction-linkage-compare-row {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f2;
}

.auction-linkage-compare-row span,
.auction-linkage-diff small {
  color: var(--muted);
  font-size: 12px;
}

.auction-linkage-compare-row strong {
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.auction-linkage-diff-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.auction-linkage-diff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}

.auction-linkage-diff small {
  grid-column: 1 / -1;
}

.auction-linkage-diff.is-match {
  border-left-color: var(--good);
}

.auction-linkage-diff.is-attention {
  border-left-color: #d99a00;
}

.auction-linkage-diff.is-conflict {
  border-left-color: var(--danger);
}

.auction-linkage-diff.is-missing {
  border-left-color: #9aa5a3;
}

@media (max-width: 760px) {
  .auction-linkage-comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .auction-featured-policy-status,
  .auction-featured-policy-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auction-featured-policy-dashboard,
  .auction-featured-policy-console-body,
  .auction-featured-policy-drawer-layout,
  .auction-featured-policy-drawer-layout.is-readonly {
    grid-template-columns: 1fr;
  }

  .auction-featured-policy-overview,
  .auction-featured-policy-results,
  .auction-featured-policy-monitor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .platform-subtab-nav,
  .auction-featured-policy-summary-grid,
  .auction-featured-policy-edit-entry,
  .auction-featured-policy-action-options,
  .auction-featured-policy-rule-card-grid,
  .auction-featured-policy-bottom-grid,
  .auction-featured-policy-recent-result-grid,
  .auction-featured-policy-preview,
  .auction-featured-policy-source-scope,
  .auction-featured-policy-split-block,
  .auction-featured-policy-risk-grid,
  .auction-featured-policy-monitor-grid,
  .auction-featured-policy-overview,
  .auction-featured-policy-flow,
  .auction-featured-policy-status,
  .auction-featured-policy-controls,
  .auction-featured-policy-mode-grid,
  .auction-featured-policy-results,
  .auction-featured-policy-sticky-actions {
    grid-template-columns: 1fr;
  }

  .auction-featured-policy-drawer-side {
    position: static;
  }

  .auction-featured-policy-actions {
    justify-content: flex-start;
  }
}

.platform-review-suggestion-groups,
.auction-featured-exception-groups {
  margin: 10px 0;
}

.platform-review-advice {
  margin-bottom: 12px;
}

.platform-review-workbench-panel,
.platform-review-detail-panel,
.platform-pool-workbench-panel,
.platform-pool-detail-panel,
.platform-public-workbench-panel,
.platform-public-detail-panel,
.platform-lead-workbench-panel,
.platform-lead-detail-panel {
  min-width: 0;
}

.platform-pool-detail-panel,
.platform-pool-todo-panel,
.platform-public-detail-panel,
.platform-public-todo-panel,
.platform-lead-detail-panel,
.platform-lead-todo-panel {
  margin-top: 16px;
}

.platform-public-permission-strip,
.platform-public-gate-grid,
.platform-public-main-grid,
.platform-public-conflict-grid,
.platform-public-exception-cards,
.platform-public-action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.platform-public-permission-strip {
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.platform-public-permission-strip p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.platform-public-filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.platform-public-filter-grid input,
.platform-public-filter-grid select {
  width: 100%;
}

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

@media (min-width: 1180px) {
  .platform-bank-filter-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .platform-public-filter-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .platform-lead-filter-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .auction-featured-lead-filter-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.platform-public-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.platform-public-pagination > div:first-child {
  display: grid;
  gap: 4px;
}

.platform-public-pagination span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.platform-public-pagination-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.platform-public-conflict-page-section {
  margin-top: 14px;
}

.platform-public-error {
  border-color: rgba(180, 35, 24, 0.35);
  background: #fffafa;
}

.admin-detail-summary {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-detail-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f2;
}

.admin-detail-title {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-detail-title span,
.admin-detail-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-detail-title strong {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-detail-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #eef2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.admin-detail-value {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-detail-section {
  display: grid;
  gap: 10px;
}

.admin-detail-note {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #eef2f2;
  border-radius: 8px;
  background: #fbfcfc;
}

.admin-detail-note p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.platform-public-section-title,
.platform-public-conflict-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.platform-public-gate-card,
.platform-public-conflict-card,
.platform-public-exception-card,
.platform-public-action-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.platform-public-gate-card.blocked {
  border-color: rgba(180, 35, 24, 0.35);
  background: #fffafa;
}

.platform-public-gate-result,
.platform-public-display-list {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.platform-public-gate-result small {
  color: var(--muted);
}

.platform-public-gate-items {
  display: grid;
  gap: 8px;
}

.platform-public-gate-items div {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef2f2;
}

.platform-public-gate-items span {
  color: var(--muted);
}

.platform-public-gate-items .ok {
  color: var(--good);
}

.platform-public-gate-items .bad {
  color: var(--danger);
}

.platform-public-gate-reasons {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: #f8faf9;
}

.platform-public-gate-reasons span,
.platform-public-gate-note {
  color: var(--muted);
  font-size: 13px;
}

.platform-public-gate-reasons ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.platform-public-action-card label,
.platform-public-exception-form label {
  display: grid;
  gap: 6px;
}

.platform-public-action-card textarea,
.platform-public-action-card select,
.platform-public-exception-form textarea,
.platform-public-exception-form input {
  width: 100%;
}

.platform-public-exception-form {
  display: grid;
  gap: 10px;
}

.platform-public-exception-form.compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.platform-public-exception-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.platform-public-conflict-card .definition-grid,
.platform-public-exception-card .definition-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.promotion-review-dashboard-hero,
.promotion-review-dashboard-grid > *,
.promotion-review-dashboard-grid .panel {
  min-width: 0;
}

.promotion-review-funnel {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.promotion-review-funnel-step {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.promotion-review-funnel-step span {
  align-items: center;
  background: var(--surface-strong);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.promotion-review-funnel-step b {
  font-size: 20px;
}

.promotion-review-funnel-step small,
.promotion-review-issue-list small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.promotion-review-table-wrap table {
  min-width: 760px;
}

.platform-review-batch-layout {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.platform-review-suggestion-overview,
.platform-review-bulk-hint {
  align-items: start;
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.platform-review-suggestion-overview {
  display: grid;
  gap: 10px;
}

.platform-review-batch-head,
.platform-review-bulk-hint {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.platform-review-batch-head {
  align-items: center;
}

.platform-review-bulk-hint {
  align-items: center;
}

.platform-review-bulk-hint > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.platform-review-batch-head span,
.platform-review-bulk-hint span,
.platform-review-bulk-hint small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.platform-review-suggestion-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.platform-review-suggestion-chip {
  appearance: none;
  display: inline-flex;
  flex: 0 0 128px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.platform-review-suggestion-chip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.platform-review-suggestion-chip strong {
  color: var(--primary-dark);
  font-size: 15px;
}

.platform-review-suggestion-chip:hover,
.platform-review-suggestion-chip.active {
  border-color: var(--primary);
  background: #edf7f4;
}

.platform-review-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.platform-review-batch-actions .table-btn {
  min-height: 32px;
  white-space: normal;
}

.platform-review-batch-actions .low-emphasis {
  opacity: 0.62;
}

.platform-review-row-more {
  position: relative;
}

.platform-review-row-more summary {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}

.platform-review-row-more summary::-webkit-details-marker {
  display: none;
}

.platform-review-row-more > div {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  min-width: 148px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(21, 39, 35, 0.14);
}

.platform-review-detail-toggle-row {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0;
}

.platform-review-detail-panel.collapsed .empty-state,
.platform-review-detail-panel.expanded .definition-grid {
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .admin-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .platform-review-batch-head,
  .platform-review-bulk-hint {
    align-items: flex-start;
    display: grid;
    justify-content: stretch;
  }

  .admin-detail-header {
    display: grid;
  }

  .admin-detail-tags {
    justify-content: flex-start;
  }

  .admin-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-public-pagination {
    align-items: flex-start;
    display: grid;
  }

  .platform-public-pagination-actions {
    justify-content: flex-start;
  }

  .platform-review-batch-actions,
  .platform-review-detail-toggle-row {
    justify-content: flex-start;
  }
}

.platform-filter-row {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.promotion-admin-boundary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.promotion-admin-boundary > div:first-child {
  display: grid;
  gap: 4px;
}

.promotion-admin-boundary span {
  color: var(--muted);
  line-height: 1.6;
}

.platform-filter-row label {
  min-width: 220px;
}

.promotion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.promotion-application-page {
  display: grid;
  gap: 16px;
}

.promotion-entry-grid,
.promotion-level-grid,
.promotion-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.promotion-entry-card,
.promotion-level-card,
.promotion-module-grid article {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.promotion-entry-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.promotion-entry-card p,
.promotion-level-card p,
.promotion-module-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.promotion-level-card span,
.promotion-public-link-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.promotion-level-card small {
  color: var(--primary-dark);
  font-weight: 800;
}

.promotion-home-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.focus-panel {
  border-color: rgba(18, 106, 91, 0.36);
  box-shadow: 0 10px 24px rgba(18, 106, 91, 0.1);
}

.promotion-public-link-list {
  display: grid;
  gap: 10px;
}

.promotion-public-link-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.promotion-public-link-list strong,
.promotion-public-link-list span {
  display: block;
}

.promotion-module-grid article div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.promotion-application-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 16px;
  align-items: end;
}

.promotion-application-hero h2 {
  margin: 4px 0 8px;
  font-size: 24px;
}

.promotion-application-hero p {
  margin: 0;
  color: #33413e;
}

.promotion-application-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
  gap: 16px;
  align-items: start;
}

.promotion-application-detail-panel {
  grid-column: 1 / -1;
}

.table-action-stack {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-section {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mini-section h3 {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.section-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.promotion-media-summary,
.promotion-media-form-grid,
.promotion-media-grid {
  display: grid;
  gap: 12px;
}

.promotion-media-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promotion-media-summary > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.promotion-media-summary span,
.promotion-media-meta span,
.promotion-media-meta small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.promotion-media-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
}

.promotion-media-form-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.promotion-media-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.promotion-media-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.promotion-media-card.is-removed {
  opacity: 0.68;
}

.promotion-media-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #f3f7f5;
}

.promotion-media-preview.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.promotion-media-meta,
.promotion-media-edit-form {
  display: grid;
  gap: 8px;
}

.promotion-media-meta strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.promotion-media-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.completeness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.completeness-grid div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.completeness-grid div.missing {
  border-color: #f0cf88;
  background: #fffaf0;
}

.completeness-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.completeness-grid strong {
  color: var(--primary-dark);
}

.completeness-grid small,
.completeness-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.completeness-grid div.missing strong {
  color: #8a5200;
}

.good-boundary {
  border-color: #b8dfcc;
  background: #f0faf5;
}

.warning-boundary {
  border-color: #f0cf88;
  background: #fffaf0;
}

.boundary-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #354542;
  line-height: 1.65;
}

.platform-placeholder h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.platform-placeholder p {
  color: var(--muted);
  line-height: 1.7;
}

.market-reference-card-list {
  display: grid;
  gap: 10px;
}

.market-reference-card-list > div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.market-reference-card-list strong {
  color: var(--ink);
}

.market-reference-card-list span,
.market-reference-card-list small {
  color: var(--muted);
  line-height: 1.5;
}

.data-asset-form {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.data-asset-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.data-asset-form-grid.compact-grid {
  gap: 8px;
}

.data-asset-form textarea {
  min-height: 70px;
  resize: vertical;
}

.data-asset-form [aria-invalid="true"] {
  border-color: #d93025;
  box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.12);
}

.bank-property-field-error {
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #33413e;
  font-size: 13px;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
}

.usage-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 8px;
}

.template-guide-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.template-guide-list article {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #33413e;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.main {
  min-width: 0;
  padding: 24px;
}

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

.topbar h1 {
  margin-bottom: 0;
  font-size: 26px;
}

.top-actions,
.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.context-strip {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.current-project-box,
.project-search-box {
  position: relative;
  display: grid;
  gap: 6px;
}

.project-search-box label {
  margin: 0;
}

.current-project-box > span,
.project-search-box label > span {
  min-height: 17px;
  color: #33413e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.project-search-box input {
  min-height: 48px;
  padding-right: 38px;
  background: #fff;
}

.project-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: grid;
  max-height: 290px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.project-search-results:empty {
  display: none;
}

.project-search-results button {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.project-search-results button:last-child {
  border-bottom: 0;
}

.project-search-results button:hover {
  background: #eef8f4;
}

.project-search-results span,
.project-search-empty {
  color: var(--muted);
  font-size: 12px;
}

.project-search-empty {
  padding: 12px;
}

.context-card,
.context-id {
  display: grid;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-strong);
}

.context-card small {
  color: var(--muted);
}

.current-project-card {
  min-height: 48px;
  align-content: center;
}

.current-project-card strong {
  overflow-wrap: anywhere;
}

.object-context-card {
  align-content: center;
  min-height: 48px;
  padding: 8px 10px;
}

.toast,
.busy-bar {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.toast.success {
  background: #e8f6ef;
  color: var(--good);
}

.toast.error {
  background: #fdeceb;
  color: var(--danger);
}

.toast.warning {
  background: #fff4e5;
  color: #8a5200;
}

.busy-bar {
  background: #fff4e5;
  color: #8a5200;
}

.panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.panel-title h2 {
  margin: 0;
  font-size: 18px;
}

.panel-title span,
.inline-note {
  color: var(--muted);
  font-size: 13px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 16px;
  margin-bottom: 16px;
}

.project-create-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.project-page {
  display: grid;
  gap: 18px;
}

.project-page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.project-page-head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.project-page-head span {
  color: var(--muted);
  font-size: 14px;
}

.project-create-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(24, 40, 37, 0.08);
}

.project-create-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0;
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfc;
}

.project-create-step {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
}

.project-create-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 20px;
  left: calc(100% - 62px);
  top: 50%;
  height: 1px;
  background: var(--line);
}

.project-create-step span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f2;
  color: #596663;
  font-weight: 800;
}

.project-create-step strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.project-create-step.active {
  color: var(--text);
}

.project-create-step.active span {
  background: var(--primary);
  color: #fff;
}

.project-create-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  padding: 28px 28px 26px;
}

.project-create-form {
  display: grid;
  gap: 20px;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.project-create-section {
  display: grid;
  gap: 14px;
}

.required-field > span::before,
.required-mark {
  color: #d92d20;
}

.required-field > span::before {
  content: "* ";
}

.readonly-action-field {
  position: relative;
}

.readonly-action-field small {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.project-type-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
}

.project-type-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.project-type-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.project-type-card:hover,
.project-type-card:has(input:checked) {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(18, 106, 91, 0.1);
  transform: translateY(-1px);
}

.project-type-card:has(input:checked) {
  background: #eefaf6;
  box-shadow:
    0 0 0 3px rgba(18, 106, 91, 0.14),
    0 14px 30px rgba(18, 106, 91, 0.16);
}

.project-type-card:has(input:checked)::after {
  content: "已选择";
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf7f4;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.project-type-card:has(input:checked) .project-type-icon {
  background: var(--primary);
  color: #fff;
}

.project-type-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #edf7f4;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
}

.project-type-card:nth-child(2) .project-type-icon {
  background: #fff4e5;
  color: var(--accent);
}

.project-type-card:nth-child(3) .project-type-icon {
  background: #eaf7ef;
  color: var(--good);
}

.project-type-card strong {
  font-size: 17px;
}

.project-type-card > span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.project-create-aside {
  display: grid;
  gap: 16px;
}

.project-tip-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

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

.tip-title strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-weight: 900;
}

.tip-icon.warm {
  background: #fff4e5;
  color: var(--accent);
}

.tip-icon.flow {
  background: #eef2ff;
  color: #3156a3;
}

.tip-icon.good {
  background: #eaf7ef;
  color: var(--good);
}

.project-tip-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #33413e;
  font-size: 13px;
  line-height: 1.55;
}

.mini-flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-flow-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.mini-flow-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2f2;
  color: #596663;
  font-weight: 800;
}

.mini-flow-list li.active {
  color: var(--text);
  font-weight: 700;
}

.mini-flow-list li.active span {
  background: var(--primary);
  color: #fff;
}

.recent-project-list {
  display: grid;
  gap: 10px;
}

.recent-project-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.recent-project-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.recent-project-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.recent-project-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-project-details {
  display: block;
}

.recent-project-details summary {
  margin: 0;
  padding-top: 2px;
  color: var(--primary-dark);
  font-size: 13px;
}

.recent-project-details .all-projects {
  max-height: 280px;
  overflow: auto;
  margin-top: 12px;
}

.project-create-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  align-items: center;
  padding-top: 2px;
  flex-wrap: wrap;
}

.project-form-notice {
  margin-right: 2px;
  padding: 7px 10px;
  border: 1px solid #d9e1df;
  border-radius: 6px;
  background: #f4f7f6;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.project-create-actions > span:first-child:not(.project-form-notice) {
  display: none;
}

.project-create-actions button {
  min-height: 42px;
}

.project-create-actions .secondary-btn,
.project-create-actions .ghost-btn {
  min-width: 96px;
}

.project-create-actions .primary-btn {
  min-width: 210px;
}

.asset-entry-page {
  display: grid;
  gap: 18px;
}

.asset-entry-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(24, 40, 37, 0.08);
}

.asset-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  padding: 18px 28px 0;
}

.asset-context-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.asset-context-grid span,
.asset-context-grid small {
  color: var(--muted);
  font-size: 12px;
}

.asset-context-grid strong {
  overflow-wrap: anywhere;
}

.asset-entry-warning {
  display: grid;
  gap: 4px;
  margin: 14px 28px 0;
  padding: 12px;
  border: 1px solid #f0cf88;
  border-radius: 8px;
  background: #fffaf0;
}

.asset-entry-warning p {
  margin: 0;
  color: #70470c;
  font-size: 13px;
}

.asset-entry-card .wizard-steps {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  margin: 18px 28px 0;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.asset-entry-card .wizard-steps button {
  position: relative;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 44px;
  border: 0;
  background: transparent;
}

.asset-entry-card .wizard-steps button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 10px;
  left: calc(100% - 34px);
  top: 50%;
  height: 1px;
  background: var(--line);
}

.asset-entry-card .wizard-steps span {
  width: 34px;
  height: 34px;
}

.asset-entry-shell {
  display: grid;
  gap: 0;
}

.asset-object-badge {
  padding: 16px 28px 0;
}

.asset-object-badge span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #edf7f4;
  color: var(--primary-dark);
  font-weight: 800;
}

.asset-entry-shell-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
  padding: 18px 28px 24px;
}

.asset-entry-main-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.asset-entry-side {
  display: grid;
  gap: 16px;
}

.asset-entry-section-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.asset-entry-section-title h3 {
  margin: 0;
  font-size: 18px;
}

.asset-entry-section-title span {
  color: var(--muted);
  font-size: 13px;
}

.asset-choice-card-grid {
  display: grid;
  gap: 16px;
}

.method-choice-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.object-choice-grid {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.asset-choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  min-height: 150px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.asset-choice-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  margin: 0;
  opacity: 0;
}

.asset-choice-card.active {
  border-color: var(--primary);
  background: #f3fbf8;
  box-shadow: 0 0 0 3px rgba(18, 106, 91, 0.12);
}

.asset-choice-card.disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.asset-choice-radio {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #b8c4c1;
  border-radius: 50%;
  background: #fff;
}

.asset-choice-card.active .asset-choice-radio {
  border: 5px solid var(--primary);
}

.asset-choice-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-left: 18px;
  border-radius: 10px;
  background: #edf7f4;
  color: var(--primary);
  font-size: 28px;
  font-weight: 900;
}

.asset-choice-card.active .asset-choice-icon {
  background: var(--primary);
  color: #fff;
}

.asset-choice-card strong {
  font-size: 18px;
}

.asset-choice-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.method-choice-grid .asset-choice-card {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px 20px;
  align-items: center;
  min-height: 170px;
  padding: 28px 34px 28px 52px;
}

.method-choice-grid .asset-choice-radio {
  left: 22px;
  top: 22px;
  width: 20px;
  height: 20px;
}

.method-choice-grid .asset-choice-card.active {
  background: #f4fbf8;
  box-shadow:
    0 0 0 3px rgba(18, 106, 91, 0.16),
    0 12px 28px rgba(18, 106, 91, 0.08);
}

.method-choice-grid .asset-choice-icon {
  grid-row: 1 / span 2;
  width: 66px;
  height: 66px;
  margin-left: 0;
  border-radius: 10px;
  font-size: 34px;
}

.method-choice-grid .asset-choice-card strong {
  align-self: end;
  font-size: 20px;
}

.method-choice-grid .asset-choice-card small {
  max-width: 330px;
  align-self: start;
  font-size: 14px;
}

.object-choice-grid .asset-choice-card {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px 16px;
  align-items: center;
  min-height: 176px;
  padding: 26px 28px 26px 52px;
}

.object-choice-grid .asset-choice-radio {
  left: 22px;
  top: 22px;
  width: 20px;
  height: 20px;
}

.object-choice-grid .asset-choice-card.active {
  background: #f4fbf8;
  box-shadow:
    0 0 0 3px rgba(18, 106, 91, 0.16),
    0 12px 28px rgba(18, 106, 91, 0.08);
}

.object-choice-grid .asset-choice-card.disabled {
  background: #fff;
  opacity: 0.42;
}

.object-choice-grid .asset-choice-icon {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  margin-left: 0;
  border-radius: 10px;
  font-size: 30px;
  line-height: 1;
}

.object-choice-grid .asset-choice-card[data-object="asset"] .asset-choice-icon {
  background: #edf7f4;
  color: #16806c;
}

.object-choice-grid .asset-choice-card[data-object="claim"] .asset-choice-icon {
  background: #fff4df;
  color: #9b621a;
}

.object-choice-grid .asset-choice-card[data-object="package"] .asset-choice-icon {
  background: #eef5fb;
  color: #3b76a8;
}

.object-choice-grid .asset-choice-card.active .asset-choice-icon {
  background: var(--primary);
  color: #fff;
}

.object-choice-grid .asset-choice-card strong {
  align-self: end;
  font-size: 21px;
  line-height: 1.18;
}

.object-choice-grid .asset-choice-card small {
  max-width: 300px;
  align-self: start;
  font-size: 14px;
}

.asset-guide-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.asset-guide-card h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.asset-guide-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: #33413e;
  font-size: 13px;
  line-height: 1.6;
}

.asset-guide-card label {
  gap: 6px;
}

.asset-entry-main-panel .form-section {
  padding: 14px;
  background: #fff;
}

.asset-entry-main-panel .inline-note {
  margin: 0;
}

.asset-entry-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.asset-entry-actions button {
  min-height: 42px;
  min-width: 160px;
}

.asset-entry-actions .primary-btn {
  min-width: 230px;
}

.asset-batch-form {
  display: grid;
  gap: 14px;
}

.project-shell-form,
.entry-main-form {
  align-content: start;
}

.project-form-grid,
.form-grid {
  display: grid;
  gap: 12px;
}

.project-form-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.form-grid.two-fields {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.business-region-table tr.is-archived {
  background: #f7f9f8;
  color: var(--muted);
}

.business-region-table td small {
  display: block;
  margin-top: 4px;
}

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

.project-type-section,
.form-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.form-section-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.form-section-title span {
  color: var(--muted);
  font-size: 12px;
}

.project-create-guidance {
  display: grid;
  gap: 8px;
}

.project-create-guidance article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.project-create-guidance span {
  color: var(--muted);
  font-size: 13px;
}

.segmented {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7f6;
}

.segmented button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.segmented button.active {
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(24, 40, 37, 0.08);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.wizard-steps button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: #52625f;
  cursor: pointer;
  text-align: left;
}

.wizard-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef2f2;
  color: var(--muted);
  font-weight: 800;
}

.wizard-steps strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.wizard-steps button.active {
  border-color: var(--primary);
  background: #edf7f4;
  color: var(--primary-dark);
}

.wizard-steps button.active span,
.wizard-steps button.done span {
  background: var(--primary);
  color: #fff;
}

.entry-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.entry-choice-grid button,
.entry-choice-grid label {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: #354542;
  cursor: pointer;
  text-align: left;
}

.entry-choice-grid button.active,
.entry-choice-grid label.active,
.entry-choice-grid label:has(input:checked) {
  border-color: var(--primary);
  background: #edf7f4;
}

.entry-choice-grid label.disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.entry-choice-grid input {
  width: auto;
  min-height: auto;
}

.entry-choice-grid span,
.object-lock small,
.missing-summary p,
.missing-summary li {
  color: var(--muted);
  font-size: 13px;
}

.object-lock {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.object-lock strong {
  font-size: 22px;
  color: var(--primary-dark);
}

.entry-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.entry-guidance-panel {
  position: sticky;
  top: 18px;
}

.wizard-action-bar,
.project-form-actions {
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}

.missing-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.missing-summary ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
}

.warning-summary {
  border-color: #f0cf88;
  background: #fffaf0;
}

.subform-stack,
.workflow-list,
.check-stack {
  display: grid;
  gap: 10px;
}

.inline-fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.inline-fieldset legend {
  padding: 0 6px;
  color: var(--primary-dark);
  font-weight: 700;
}

.workflow-list article,
.summary-strip div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.workflow-list article span,
.summary-strip small,
.filter-row,
.check-stack label {
  color: var(--muted);
  font-size: 13px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.summary-strip.platform-summary {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-gutter: stable;
}

.summary-strip.platform-summary > div {
  flex: 0 0 148px;
  min-height: 82px;
  align-content: start;
  padding: 10px 12px;
}

.summary-strip.platform-summary > .scoped-stat-link {
  flex: 0 0 180px;
}

.summary-strip.platform-summary span,
.summary-strip.platform-summary small {
  line-height: 1.35;
}

.promotion-summary {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.platform-ops-hero {
  margin-bottom: 16px;
}

.ops-todo-strip {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.ops-todo-card {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: inherit;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  text-align: left;
}

button.ops-todo-card {
  cursor: pointer;
}

button.ops-todo-card:hover {
  border-color: var(--primary);
  background: var(--surface-strong);
}

.ops-todo-card span,
.ops-todo-card small,
.ops-queue-item span,
.ops-queue-item small {
  color: var(--muted);
  font-size: 13px;
}

.ops-todo-card strong {
  color: var(--text);
  font-size: 22px;
}

.overview-summary-grid {
  align-items: stretch;
}

.ops-summary-panel {
  min-width: 0;
}

.ops-summary-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.ops-summary-jump-card {
  min-height: 96px;
  padding: 10px;
}

.ops-summary-jump-card strong {
  font-size: 20px;
  line-height: 1.2;
}

.ops-summary-jump-card em {
  color: var(--primary-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.business-line-guide-panel {
  display: grid;
  gap: 12px;
}

.business-line-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
}

.business-line-guide-card,
.scoped-stat-link {
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 78px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: inherit;
  text-align: left;
  text-decoration: none;
  word-break: normal;
  overflow-wrap: normal;
}

.business-line-guide-card {
  appearance: none;
  cursor: pointer;
}

.business-line-guide-card:hover,
.business-line-guide-card.active,
.scoped-stat-link:hover {
  border-color: var(--primary);
  background: #eef7f4;
}

.business-line-guide-card span,
.scoped-stat-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.business-line-guide-card strong,
.scoped-stat-link strong {
  color: var(--primary-dark);
  font-size: 16px;
  line-height: 1.15;
}

.business-line-guide-card small,
.business-line-guide-card em,
.scoped-stat-link small,
.scoped-stat-link em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.3;
}

.business-line-guide-card em,
.scoped-stat-link em {
  color: var(--primary-dark);
  font-weight: 700;
}

.business-line-card-strip {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.business-line-card-strip > .scoped-stat-link {
  min-height: 78px;
}

.summary-strip.business-line-interaction-card-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.business-line-interaction-card-strip > .scoped-stat-link {
  min-height: 74px;
}

.business-line-interaction-card-strip > .scoped-stat-link span,
.business-line-interaction-card-strip > .scoped-stat-link small,
.business-line-interaction-card-strip > .scoped-stat-link em {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-strip.business-line-lead-card-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.business-line-lead-coverage-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.summary-strip.business-line-lead-coverage-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1180px) {
  .summary-strip.business-line-card-strip {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
}

.scoped-interaction-trend-empty {
  display: grid;
  place-items: center;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.business-line-lead-management-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.business-line-lead-management-layout > .panel,
.business-line-lead-list-panel {
  min-width: 0;
}

.business-line-lead-list-panel .business-line-table-wrap,
.business-line-lead-list-panel .platform-lead-table-wrap,
.business-line-lead-list-panel .auction-featured-lead-table-wrap {
  width: 100%;
}

.business-line-detail-panel {
  scroll-margin-top: 16px;
}

.other-asset-promotion-panel {
  display: grid;
  gap: 12px;
}

.summary-strip.other-asset-promotion-summary {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.other-asset-promotion-table table {
  min-width: 860px;
  table-layout: fixed;
}

.other-asset-promotion-table th:nth-child(1),
.other-asset-promotion-table td:nth-child(1) {
  width: 34%;
}

.other-asset-promotion-table th:nth-child(2),
.other-asset-promotion-table td:nth-child(2) {
  width: 14%;
}

.other-asset-promotion-table th:nth-child(3),
.other-asset-promotion-table td:nth-child(3) {
  width: 18%;
}

.other-asset-promotion-table th:nth-child(4),
.other-asset-promotion-table td:nth-child(4) {
  width: 19%;
}

.other-asset-promotion-table th:nth-child(5),
.other-asset-promotion-table td:nth-child(5) {
  width: 116px;
}

.other-asset-promotion-title-cell strong,
.other-asset-promotion-title-cell small,
.other-asset-promotion-clamp {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.other-asset-promotion-title-cell small,
.other-asset-promotion-table td small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.other-asset-promotion-material-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.other-asset-promotion-actions {
  text-align: right;
  white-space: nowrap;
}

.other-asset-promotion-actions .compact-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.other-asset-promotion-report-stack {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.other-asset-promotion-reports {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.other-asset-supplement-panel {
  display: grid;
  gap: 10px;
}

.other-asset-supplement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.other-asset-supplement-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.other-asset-supplement-grid span,
.other-asset-supplement-grid small {
  color: var(--muted);
}

.other-asset-supplement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.other-asset-supplement-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.other-asset-precreate-media-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.other-asset-precreate-preview {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 96px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.other-asset-precreate-preview-thumb {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.other-asset-precreate-preview-placeholder {
  display: grid;
  align-items: center;
  min-height: 76px;
  padding: 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  background: #f3f7f6;
}

.other-asset-precreate-preview-placeholder.warning {
  color: #8a5200;
  background: #fff7e6;
}

.other-asset-precreate-preview-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.other-asset-precreate-preview-meta strong,
.other-asset-precreate-preview-meta span,
.other-asset-precreate-preview-meta small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.other-asset-precreate-preview-meta span,
.other-asset-precreate-preview-meta small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.other-asset-miniapp-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.other-asset-miniapp-preview-grid > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.other-asset-miniapp-preview-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.other-asset-miniapp-preview-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.other-asset-promotion-modal {
  position: fixed;
  inset: 0;
  z-index: 1165;
  display: flex;
  justify-content: flex-end;
}

.other-asset-promotion-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.36);
  cursor: default;
}

.other-asset-promotion-modal-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(860px, calc(100vw - 28px));
  max-width: 100%;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -18px 0 40px rgb(15 23 42 / 0.18);
}

.other-asset-promotion-modal-head,
.other-asset-promotion-modal-footer {
  display: flex;
  gap: 12px;
  border-color: var(--line);
}

.other-asset-promotion-modal-head {
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.other-asset-promotion-modal-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.other-asset-promotion-modal-head span,
.other-asset-promotion-modal-head small,
.other-asset-application-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.other-asset-promotion-modal-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.other-asset-promotion-modal-body {
  display: grid;
  gap: 14px;
}

.other-asset-promotion-modal-notice {
  padding: 10px 12px;
  border: 1px solid #f5c56a;
  border-radius: 8px;
  background: #fff8e8;
  color: #7c4a03;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.other-asset-promotion-modal-notice.error {
  border-color: #f5aaa8;
  background: #fff1f1;
  color: #9f2a25;
}

.other-asset-promotion-modal-notice.success {
  border-color: #9fd8bf;
  background: #eefbf5;
  color: #146442;
}

.other-asset-application-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other-asset-application-summary-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.other-asset-promotion-precreate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.other-asset-promotion-precreate-actions small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.other-asset-promotion-modal-footer {
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.other-assets-review-panel {
  width: 100%;
}

.other-assets-review-card-strip {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.other-assets-review-filter-bar {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  margin: 0 0 10px;
}

.other-assets-review-filter-bar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.other-assets-review-panel .promotion-project-table-wrap table {
  min-width: 940px;
  table-layout: fixed;
}

.other-assets-review-panel .promotion-project-table-wrap th:first-child,
.other-assets-review-panel .promotion-project-table-wrap td:first-child {
  width: 260px;
  min-width: 260px;
}

.other-assets-review-panel .promotion-project-table-wrap th:last-child,
.other-assets-review-panel .promotion-project-table-wrap td:last-child {
  width: 104px;
  min-width: 104px;
}

.promotion-project-title-cell strong,
.promotion-project-title-cell small {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.promotion-project-title-cell small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.promotion-project-actions {
  text-align: right;
  white-space: nowrap;
}

.promotion-project-actions .table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  white-space: nowrap;
}

.other-assets-review-drawer {
  position: fixed;
  inset: 0;
  z-index: 1160;
  display: flex;
  justify-content: flex-end;
}

.other-assets-review-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.36);
  cursor: default;
}

.other-assets-review-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(760px, calc(100vw - 28px));
  max-width: 100%;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -18px 0 40px rgb(15 23 42 / 0.18);
}

.other-assets-review-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.other-assets-review-drawer-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.other-assets-review-drawer-head span,
.other-assets-review-drawer-head small,
.other-assets-review-disposition-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.other-assets-review-drawer-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.other-assets-review-drawer-body {
  display: grid;
  gap: 14px;
}

.other-assets-review-disposition {
  display: grid;
  gap: 10px;
}

.other-assets-review-disposition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.other-assets-review-disposition-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.other-assets-review-disposition-grid strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.other-asset-platform-display-confirmation,
.other-asset-platform-review-actions {
  width: 100%;
}

.other-asset-confirmation-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.other-asset-confirmation-status-grid > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.other-asset-confirmation-status-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.other-asset-confirmation-status-grid strong {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.other-asset-platform-review-actions .secondary-btn,
.other-asset-platform-review-actions .ghost-btn {
  min-width: 92px;
  white-space: nowrap;
}

.other-assets-review-drawer-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.business-line-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-gutter: stable both-edges;
}

.business-line-table-wrap table {
  min-width: 860px;
  table-layout: fixed;
}

.business-line-lead-table-wrap table {
  min-width: 940px;
}

.business-line-interaction-detail-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.business-line-interaction-table-wrap table {
  min-width: 920px;
}

.business-line-display-table-wrap th:first-child,
.business-line-display-table-wrap td:first-child,
.business-line-lead-table-wrap th:first-child,
.business-line-lead-table-wrap td:first-child,
.business-line-interaction-table-wrap th:first-child,
.business-line-interaction-table-wrap td:first-child {
  width: 220px;
}

.business-line-lead-table-wrap th:last-child,
.business-line-lead-table-wrap td:last-child,
.business-line-interaction-table-wrap th:last-child,
.business-line-interaction-table-wrap td:last-child {
  text-align: right;
}

.business-line-display-table-wrap th:last-child,
.business-line-display-table-wrap td:last-child,
.business-line-interaction-table-wrap th:last-child,
.business-line-interaction-table-wrap td:last-child,
.platform-bank-property-review-table-wrap th:last-child,
.platform-bank-property-review-table-wrap td:last-child,
.platform-bank-property-pool-table-wrap th:last-child,
.platform-bank-property-pool-table-wrap td:last-child,
.bank-property-application-table-wrap th:last-child,
.bank-property-application-table-wrap td:last-child,
.auction-featured-review-table-wrap th:last-child,
.auction-featured-review-table-wrap td:last-child,
.auction-featured-governance-table-wrap th:last-child,
.auction-featured-governance-table-wrap td:last-child,
.auction-featured-publication-table-wrap th:last-child,
.auction-featured-publication-table-wrap td:last-child,
.auction-featured-public-project-table-wrap th:last-child,
.auction-featured-public-project-table-wrap td:last-child {
  width: 152px;
  min-width: 152px;
  text-align: right;
}

.business-line-display-table-wrap th:nth-child(6),
.business-line-display-table-wrap td:nth-child(6) {
  width: 172px;
  min-width: 172px;
}

.business-line-display-table-wrap th:last-child,
.business-line-display-table-wrap td:last-child {
  width: 132px;
  min-width: 132px;
}

.business-line-lead-table-wrap th:last-child,
.business-line-lead-table-wrap td:last-child {
  width: 152px;
  min-width: 152px;
}

.business-line-interaction-table-wrap th:first-child,
.business-line-interaction-table-wrap td:first-child {
  width: 220px;
}

.business-line-interaction-table-wrap th:last-child,
.business-line-interaction-table-wrap td:last-child {
  width: 138px;
  min-width: 138px;
}

.business-line-lead-table-wrap th:nth-child(2),
.business-line-lead-table-wrap td:nth-child(2) {
  width: 96px;
}

.business-line-lead-table-wrap th:nth-child(3),
.business-line-lead-table-wrap td:nth-child(3) {
  width: 210px;
}

.business-line-lead-table-wrap th:nth-child(4),
.business-line-lead-table-wrap td:nth-child(4),
.business-line-lead-table-wrap th:nth-child(5),
.business-line-lead-table-wrap td:nth-child(5),
.business-line-lead-table-wrap th:nth-child(6),
.business-line-lead-table-wrap td:nth-child(6) {
  width: 130px;
}

.business-line-interaction-table-wrap th:nth-child(n + 2):nth-child(-n + 7),
.business-line-interaction-table-wrap td:nth-child(n + 2):nth-child(-n + 7) {
  width: 72px;
  text-align: center;
}

.business-line-interaction-table-wrap th:nth-child(8),
.business-line-interaction-table-wrap td:nth-child(8) {
  width: 136px;
}

.business-line-table-wrap th,
.business-line-table-wrap td {
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.28;
  vertical-align: middle;
  word-break: normal;
  overflow-wrap: break-word;
}

.business-line-lead-table-wrap td {
  vertical-align: middle;
}

.business-line-lead-cell-clamp {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.business-line-lead-table-wrap td strong,
.business-line-lead-table-wrap td small,
.business-line-interaction-table-wrap td strong,
.business-line-interaction-table-wrap td small {
  display: block;
  min-width: 0;
}

.business-line-lead-table-wrap td small,
.business-line-interaction-table-wrap td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.business-line-table-wrap .pill,
.business-line-table-wrap .table-btn {
  white-space: nowrap;
}

.table-scroll-assist {
  display: flex;
  justify-content: flex-end;
  min-width: max-content;
  padding: 0 2px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.table-scroll-assist:last-child {
  padding: 4px 2px 0;
}

.business-line-lead-row {
  cursor: pointer;
}

.business-line-lead-detail-button {
  min-height: 32px;
  padding: 6px 10px;
}

.business-line-interaction-table-wrap td {
  vertical-align: middle;
}

.business-line-interaction-row-actions.compact-row-actions {
  justify-content: flex-end;
}

.business-line-lead-drawer {
  position: fixed;
  inset: 0;
  z-index: 1160;
  display: flex;
  justify-content: flex-end;
}

.business-line-lead-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.36);
  cursor: default;
}

.business-line-lead-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(500px, calc(100vw - 32px));
  max-width: 100%;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -18px 0 40px rgb(15 23 42 / 0.18);
}

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

.business-line-lead-drawer-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.business-line-lead-drawer-head span,
.business-line-lead-drawer-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.business-line-lead-drawer-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.business-line-lead-drawer-grid {
  display: grid;
  gap: 10px;
}

.business-line-lead-drawer-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.business-line-lead-drawer-grid strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.business-line-lead-drawer-note strong {
  white-space: pre-wrap;
}

.business-line-display-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  align-items: end;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.business-line-interaction-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 2fr) repeat(auto-fit, minmax(124px, 1fr));
  gap: 8px;
  align-items: end;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.business-line-display-filter-bar label,
.business-line-interaction-filter-bar label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.business-line-display-filter-bar label span,
.business-line-interaction-filter-bar label span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-line-display-filter-bar input,
.business-line-display-filter-bar select,
.business-line-interaction-filter-bar input,
.business-line-interaction-filter-bar select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
}

.business-line-display-keyword-field {
  min-width: 260px;
}

.business-line-display-filter-actions {
  display: flex;
  gap: 8px;
  align-items: end;
}

.business-line-display-filter-actions .primary-btn,
.business-line-display-filter-actions .table-btn {
  flex: 1 0 auto;
  min-height: 34px;
  white-space: nowrap;
}

.business-line-display-pagination {
  margin-top: 10px;
}

.business-line-display-drawer {
  position: fixed;
  inset: 0;
  z-index: 1160;
  display: flex;
  justify-content: flex-end;
}

.business-line-display-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.36);
  cursor: default;
}

.business-line-display-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(520px, calc(100vw - 32px));
  max-width: 100%;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -18px 0 40px rgb(15 23 42 / 0.18);
}

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

.business-line-display-drawer-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.business-line-display-drawer-head span,
.business-line-display-drawer-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.business-line-display-drawer-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.business-line-display-drawer-grid {
  display: grid;
  gap: 10px;
}

.business-line-display-drawer-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.business-line-display-drawer-grid strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.business-line-display-drawer-note strong {
  white-space: pre-wrap;
}

.business-line-interaction-drawer {
  position: fixed;
  inset: 0;
  z-index: 1160;
  display: flex;
  justify-content: flex-end;
}

.business-line-interaction-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(15 23 42 / 0.36);
  cursor: default;
}

.business-line-interaction-drawer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(500px, calc(100vw - 32px));
  max-width: 100%;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: var(--surface);
  box-shadow: -18px 0 40px rgb(15 23 42 / 0.18);
}

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

.business-line-interaction-drawer-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.business-line-interaction-drawer-head span,
.business-line-interaction-drawer-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.business-line-interaction-drawer-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.business-line-interaction-drawer-grid {
  display: grid;
  gap: 10px;
}

.business-line-interaction-drawer-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.business-line-interaction-drawer-grid strong {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.business-line-interaction-drawer-note strong {
  white-space: pre-wrap;
}

.business-line-drawer-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.business-line-drawer-actions > div:first-child {
  display: grid;
  gap: 3px;
}

.business-line-drawer-actions > div:first-child strong {
  color: var(--text);
  font-size: 14px;
}

.business-line-drawer-actions > div:first-child small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.business-line-drawer-actions > div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.business-line-drawer-actions .table-btn,
.business-line-drawer-actions .primary-btn {
  min-height: 32px;
  white-space: nowrap;
}

.platform-bank-property-pool-table-wrap th:first-child,
.platform-bank-property-pool-table-wrap td:first-child,
.platform-bank-property-review-table-wrap th:first-child,
.platform-bank-property-review-table-wrap td:first-child,
.auction-featured-review-table-wrap th:first-child,
.auction-featured-review-table-wrap td:first-child {
  width: 44px;
  min-width: 44px;
}

.platform-bank-property-pool-table-wrap th:nth-child(2),
.platform-bank-property-pool-table-wrap td:nth-child(2),
.platform-bank-property-review-table-wrap th:nth-child(2),
.platform-bank-property-review-table-wrap td:nth-child(2),
.auction-featured-review-table-wrap th:nth-child(2),
.auction-featured-review-table-wrap td:nth-child(2) {
  background: transparent;
}

.business-line-display-table-wrap table,
.platform-bank-property-pool-table-wrap table {
  min-width: 1120px;
}

.business-line-display-table-wrap th:first-child,
.business-line-display-table-wrap td:first-child,
.platform-bank-property-pool-table-wrap th:nth-child(2),
.platform-bank-property-pool-table-wrap td:nth-child(2) {
  width: 280px;
  min-width: 280px;
}

.bank-property-application-table-wrap table {
  min-width: 920px;
  table-layout: fixed;
}

.platform-bank-property-review-table-wrap table {
  min-width: 1080px;
}

.business-line-display-table-wrap td,
.business-line-lead-table-wrap td,
.platform-bank-property-pool-table-wrap td,
.bank-property-application-table-wrap td {
  vertical-align: middle;
  word-break: normal;
  overflow-wrap: normal;
}

.business-line-display-table-wrap td:first-child strong,
.business-line-display-table-wrap td:first-child small,
.business-line-lead-table-wrap td:first-child strong,
.business-line-lead-table-wrap td:first-child small,
.platform-bank-property-pool-table-wrap td:nth-child(2) strong,
.platform-bank-property-pool-table-wrap td:nth-child(2) small,
.bank-property-application-table-wrap td:nth-child(2) strong,
.bank-property-application-table-wrap td:nth-child(2) small {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.business-line-display-table-wrap td small,
.platform-bank-property-pool-table-wrap td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.compact-row-actions {
  display: grid;
  justify-content: flex-end;
  justify-items: end;
  min-width: 0;
  white-space: nowrap;
}

.compact-row-action-line {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.compact-row-actions > button,
.compact-row-actions > .table-btn,
.compact-row-actions > .primary-btn,
.compact-row-actions > .secondary-btn,
.compact-row-actions > .danger-btn,
.compact-row-action-line > button,
.compact-row-action-line > .table-btn,
.compact-row-action-line > .primary-btn,
.compact-row-action-line > .secondary-btn,
.compact-row-action-line > .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 32px;
  max-width: 96px;
  min-height: 32px;
  padding: 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
}

.platform-review-row-actions.compact-row-actions,
.bank-property-row-actions.compact-row-actions,
.business-line-display-row-actions.compact-row-actions,
.business-line-interaction-row-actions.compact-row-actions,
.business-line-lead-row-actions.compact-row-actions,
.auction-featured-row-actions.compact-row-actions {
  flex-wrap: nowrap;
  overflow: visible;
}

.platform-review-row-actions.compact-row-actions .table-btn,
.platform-review-row-actions.compact-row-actions .primary-btn,
.platform-review-row-actions.compact-row-actions .secondary-btn,
.platform-review-row-actions.compact-row-actions .danger-btn,
.bank-property-row-actions.compact-row-actions .table-btn,
.business-line-lead-row-actions.compact-row-actions .table-btn,
.business-line-display-row-actions.compact-row-actions .table-btn,
.business-line-display-row-actions.compact-row-actions .primary-btn {
  white-space: nowrap;
}

.compact-row-more {
  position: static;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
}

.compact-row-more-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  min-width: 52px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.compact-row-more-toggle[aria-expanded="true"] {
  border-color: var(--primary);
  background: #eef7f4;
}

.compact-row-more-floating {
  position: fixed;
  z-index: 9000;
  display: grid;
  gap: 6px;
  min-width: 164px;
  max-height: min(320px, calc(100vh - 24px));
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
}

.compact-row-more-menu-inner {
  display: grid;
  gap: 6px;
}

.compact-row-more-floating .table-btn,
.compact-row-more-floating .primary-btn,
.compact-row-more-floating .secondary-btn,
.compact-row-more-floating .danger-btn {
  width: 100%;
  max-width: none;
  justify-content: flex-start;
  white-space: nowrap;
}

.business-line-display-row-actions.compact-row-actions .compact-row-action-line,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line {
  align-items: center;
  height: 32px;
  min-height: 32px;
  overflow: visible;
  line-height: 1;
}

.business-line-display-row-actions.compact-row-actions .compact-row-action-line {
  width: 124px;
}

.business-line-display-row-actions.compact-row-actions .compact-row-action-line > button,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .table-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .primary-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .secondary-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .danger-btn,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line > button,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line > .table-btn,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line > .primary-btn,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line > .secondary-btn,
.business-line-interaction-row-actions.compact-row-actions .compact-row-action-line > .danger-btn,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line > button,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line > .table-btn,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line > .primary-btn,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line > .secondary-btn,
.business-line-lead-row-actions.compact-row-actions .compact-row-action-line > .danger-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-more-toggle,
.business-line-interaction-row-actions.compact-row-actions .compact-row-more-toggle,
.business-line-lead-row-actions.compact-row-actions .compact-row-more-toggle {
  box-sizing: border-box;
  height: 32px;
  min-height: 32px;
  line-height: 1;
}

.business-line-display-row-actions.compact-row-actions .compact-row-action-line > button,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .table-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .primary-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .secondary-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-action-line > .danger-btn,
.business-line-display-row-actions.compact-row-actions .compact-row-more-toggle {
  max-width: 72px;
  min-width: 52px;
}

.business-line-display-row-actions.compact-row-actions .compact-row-more,
.business-line-interaction-row-actions.compact-row-actions .compact-row-more,
.business-line-lead-row-actions.compact-row-actions .compact-row-more {
  align-self: center;
  display: inline-flex;
  height: 32px;
  min-height: 32px;
  overflow: visible;
  line-height: 1;
}

.ops-priority-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ops-queue-panel {
  min-width: 0;
}

.overview-table-limited {
  max-height: 360px;
  overflow: auto;
}

.overview-table-limited table {
  min-width: 1080px;
  table-layout: fixed;
}

.overview-table-more td {
  background: #fbfcfc;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.ops-queue-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.ops-queue-item {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px;
}

.ops-queue-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ops-queue-item strong,
.ops-queue-item span,
.ops-queue-item small {
  overflow-wrap: anywhere;
}

.ops-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
}

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

.ops-row-actions .table-btn {
  min-height: 32px;
  white-space: nowrap;
}

.promotion-analytics-panel {
  min-width: 0;
}

.promotion-analytics-summary {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.promotion-analytics-summary > div {
  min-width: 0;
}

.promotion-analytics-summary strong,
.promotion-analytics-summary small {
  overflow-wrap: anywhere;
}

.promotion-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.analytics-mini-section,
.analytics-tenant-section {
  min-width: 0;
}

.analytics-list {
  display: grid;
  gap: 8px;
}

.analytics-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.analytics-list span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.analytics-list strong {
  flex: 0 0 auto;
}

.promotion-effect-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.promotion-effect-project-meta div,
.promotion-effect-record-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.promotion-effect-project-meta span,
.promotion-effect-record-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.promotion-effect-project-meta strong,
.promotion-effect-record-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--text);
}

.promotion-effect-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.promotion-effect-record-card {
  display: grid;
  gap: 7px;
}

.promotion-effect-record-card div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.promotion-effect-record-card p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.promotion-effect-record-card small {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .promotion-analytics-summary,
  .promotion-analytics-grid,
  .promotion-effect-project-meta,
  .promotion-effect-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .business-line-lead-management-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-strip.business-line-interaction-card-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .business-line-lead-drawer-panel,
  .business-line-display-drawer-panel,
  .business-line-interaction-drawer-panel {
    width: 100vw;
  }
}

@media (max-width: 900px) {
  .summary-strip.business-line-card-strip,
  .ops-summary-card-grid,
  .summary-strip.business-line-lead-card-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .summary-strip.business-line-card-strip,
  .ops-summary-card-grid,
  .summary-strip.business-line-lead-card-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-strip.business-line-interaction-card-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.summary-strip strong {
  font-size: 16px;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.subject-center-return-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 106, 91, 0.18);
  border-radius: 8px;
  background: #f4fbf9;
}

.subject-center-return-bar div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.subject-center-return-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.subject-center-return-bar strong {
  overflow-wrap: anywhere;
  color: var(--primary-dark);
}

.subject-center-page,
.subject-center-card-list,
.subject-center-card-detail,
.subject-center-stage-grid,
.subject-center-lineage {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.subject-center-project-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.subject-center-project-panel h2 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.24;
}

.subject-center-project-panel p,
.subject-center-project-meta small {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.subject-center-project-state {
  margin: 0 0 6px;
  color: var(--primary-dark) !important;
  font-weight: 800;
}

.subject-center-project-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.subject-center-project-meta div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  min-width: 0;
}

.subject-center-project-meta span,
.subject-center-info-block span,
.subject-center-source-fields span,
.subject-center-stage span,
.subject-center-card-head span,
.subject-center-row-status b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.subject-center-project-meta strong {
  overflow-wrap: anywhere;
  color: var(--primary-dark);
  font-size: 18px;
}

.subject-center-summary {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.subject-center-list-panel {
  min-width: 0;
}

.subject-center-card {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  overflow: hidden;
}

.subject-center-card.expanded,
.subject-center-card:hover {
  border-color: rgba(18, 106, 91, 0.45);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.subject-center-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.subject-center-card-head h3 {
  margin: 4px 0 5px;
  font-size: 18px;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.subject-center-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.subject-center-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.subject-center-break-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.subject-center-row-status {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
  min-width: 0;
}

.subject-center-row-status span {
  display: grid;
  gap: 2px;
  min-height: 48px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.subject-center-row-status .status-final,
.subject-center-stage.status-final,
.subject-center-break-pill.status-final {
  border-color: rgba(15, 123, 79, 0.26);
  background: #f1fbf6;
}

.subject-center-row-status .status-review,
.subject-center-stage.status-review,
.subject-center-break-pill.status-review {
  border-color: rgba(179, 107, 30, 0.3);
  background: #fff8ed;
}

.subject-center-break-pill.status-draft {
  background: #fbfcfc;
}

.subject-center-card-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7faf9;
  color: var(--muted);
}

.subject-center-card-foot strong {
  color: var(--primary-dark);
}

.subject-center-card-foot span {
  overflow-wrap: anywhere;
}

.subject-center-card-detail {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.subject-center-detail-grid,
.subject-center-source-fields,
.subject-center-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.subject-center-info-block,
.subject-center-source-fields div,
.subject-center-stage {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.subject-center-info-block div {
  display: grid;
  gap: 3px;
}

.subject-center-info-block small {
  color: var(--muted);
  font-size: 12px;
}

.subject-center-info-block strong,
.subject-center-source-fields strong {
  overflow-wrap: anywhere;
  color: var(--text);
}

.subject-center-source-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subject-center-stage-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.subject-center-stage {
  align-content: start;
}

.subject-center-stage strong {
  display: block;
  margin-top: 4px;
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.28;
}

.subject-center-stage ul {
  display: grid;
  gap: 5px;
  min-height: 92px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.subject-center-stage .table-btn {
  justify-self: start;
  min-height: 32px;
}

.ai-candidate-panel,
.ai-candidate-layout,
.ai-candidate-list,
.ai-candidate-detail-card,
.ai-candidate-safe-summary,
.ai-candidate-action-panel,
.ai-candidate-adjust-form,
.ai-candidate-processed {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ai-candidate-panel {
  padding: 16px;
  border: 1px solid rgba(18, 106, 91, 0.18);
  border-radius: 8px;
  background: #f8fbfa;
}

.ai-candidate-boundary {
  background: #fff;
}

.ai-candidate-summary-strip {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.ai-candidate-layout {
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  align-items: start;
}

.ai-candidate-list {
  align-content: start;
}

.ai-candidate-list-item {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 78px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.ai-candidate-list-item:hover,
.ai-candidate-list-item.active {
  border-color: rgba(18, 106, 91, 0.46);
  background: #f1fbf7;
}

.ai-candidate-list-item strong,
.ai-candidate-detail-head h3,
.ai-candidate-safe-summary strong {
  overflow-wrap: anywhere;
}

.ai-candidate-list-item span,
.ai-candidate-list-item small,
.ai-candidate-detail-head span,
.ai-candidate-detail-head p,
.ai-candidate-safe-summary span,
.ai-candidate-processed span,
.ai-candidate-processed small {
  color: var(--muted);
  line-height: 1.5;
}

.ai-candidate-detail-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ai-candidate-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.ai-candidate-detail-head h3 {
  margin: 4px 0;
  font-size: 20px;
  line-height: 1.25;
}

.ai-candidate-detail-head b {
  align-self: start;
  min-width: 108px;
  padding: 7px 9px;
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
}

.ai-candidate-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-candidate-summary-grid,
.ai-candidate-adjust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-candidate-summary-grid div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.ai-candidate-summary-grid strong {
  color: var(--text);
  line-height: 1.55;
  white-space: pre-wrap;
}

.ai-candidate-incomplete-notice {
  padding: 10px 12px;
  border: 1px solid rgba(166, 105, 21, 0.28);
  border-radius: 8px;
  background: #fff8ec;
  color: #7a4b12;
  font-weight: 800;
  line-height: 1.65;
}

.ai-candidate-action-panel,
.ai-candidate-processed {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.ai-candidate-guidance {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(18, 106, 91, 0.24);
  border-radius: 8px;
  background: #f4faf7;
}

.ai-candidate-guidance strong {
  color: var(--primary-dark);
}

.ai-candidate-guidance p {
  margin: 0;
  color: #33413e;
  line-height: 1.6;
}

.ai-candidate-guidance b {
  color: var(--text);
}

.ai-candidate-adjust-form {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.ai-candidate-adjust-form textarea,
.ai-candidate-review-note textarea {
  resize: vertical;
}

.ai-candidate-empty-state {
  display: grid;
  gap: 6px;
  text-align: left;
}

.ai-candidate-empty-state strong {
  color: var(--primary-dark);
}

.ai-candidate-empty-state span,
.ai-candidate-empty-state small {
  color: var(--muted);
  line-height: 1.6;
}

.ai-missing-hint-summary {
  display: grid;
  gap: 8px;
}

.ai-missing-hint-summary p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.ai-missing-hint-summary ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
}

.ai-missing-hint-summary li {
  padding-left: 2px;
  line-height: 1.55;
}

.ai-missing-hint-summary li strong {
  display: inline;
  color: var(--primary-dark);
}

.ai-missing-hint-summary li span {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .subject-center-project-meta,
  .subject-center-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ai-candidate-layout,
  .ai-candidate-meta-grid,
  .ai-candidate-summary-strip,
  .ai-candidate-summary-grid,
  .ai-candidate-adjust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .subject-center-project-meta,
  .subject-center-summary,
  .subject-center-card-head,
  .subject-center-detail-grid,
  .subject-center-source-fields {
    grid-template-columns: 1fr;
  }

  .subject-center-card-actions {
    justify-content: flex-start;
  }

  .subject-center-return-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.due-groups {
  display: grid;
  gap: 16px;
}

.due-workbench-page {
  display: grid;
  gap: 16px;
}

.due-workbench-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
  gap: 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.due-workbench-hero span,
.due-workbench-hero small {
  color: var(--muted);
  font-size: 13px;
}

.due-workbench-hero h2 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.due-workbench-hero p {
  margin: 0 0 4px;
  color: #33413e;
}

.due-workbench-hero strong {
  display: block;
  margin: 4px 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.due-status-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
}

.due-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  min-height: 136px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-left-color: var(--primary);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.due-status-card span,
.due-status-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.due-status-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.due-status-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf7f4;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

.due-status-card.risk-red i {
  background: #fdeceb;
  color: #b42318;
}

.due-status-card.risk-orange i {
  background: #fff4e5;
  color: #c56a00;
}

.due-status-card.risk-green i {
  background: #e8f6ef;
  color: #0f7b4f;
}

.due-progress-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(260px, 0.75fr) minmax(0, 1.8fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.due-stage,
.due-progress-meter,
.due-progress-stats div {
  display: grid;
  gap: 5px;
}

.due-stage span,
.due-stage small,
.due-progress-meter span,
.due-progress-stats span,
.due-progress-stats small {
  color: var(--muted);
  font-size: 12px;
}

.due-stage strong,
.due-progress-meter strong,
.due-progress-stats strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.due-progress-meter progress {
  width: 100%;
  height: 10px;
  accent-color: var(--primary);
}

.due-progress-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 10px;
}

.due-progress-stats div {
  padding: 10px;
  border-left: 1px solid var(--line);
}

.due-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
}

.due-module-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.due-module-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.due-module-card span,
.due-module-card p,
.due-module-meta {
  color: var(--muted);
  font-size: 12px;
}

.due-module-card p {
  margin: 0;
  line-height: 1.5;
}

.due-module-card progress {
  width: 100%;
  height: 8px;
  accent-color: var(--primary);
}

.due-module-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.due-module-detail-page {
  display: grid;
  gap: 16px;
  max-width: 100%;
  min-width: 0;
}

.due-module-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  flex-wrap: wrap;
}

.due-module-detail-hero p,
.due-module-detail-hero span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.due-module-detail-hero h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.due-module-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.file-review-page .due-module-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.file-review-status-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 55, 48, 0.04);
}

.file-review-status-card div {
  display: grid;
  gap: 4px;
}

.file-review-status-card span {
  color: #31443f;
  font-size: 13px;
  font-weight: 700;
}

.file-review-status-card strong {
  color: var(--primary-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.file-review-status-card small {
  color: var(--muted);
  font-size: 12px;
}

.file-review-status-card.alert strong {
  color: #d92d20;
}

.file-review-progress-ring {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) calc(var(--percent) * 1%), #e6efec 0);
}

.file-review-progress-ring i {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
}

.file-review-status-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.file-review-status-icon.folder {
  background: linear-gradient(135deg, #77b7ff, #2b78dd);
}

.file-review-status-icon.warn {
  background: linear-gradient(135deg, #ffb35b, #f27522);
}

.file-review-status-icon.doc {
  background: linear-gradient(135deg, #1f9b7a, #0b6d58);
}

.file-review-status-icon.building {
  background: linear-gradient(135deg, #36b39a, #08705d);
}

.file-review-status-icon.pin {
  border-radius: 50%;
  background: linear-gradient(135deg, #2eb28f, #08705d);
}

.file-review-status-icon.case {
  background: linear-gradient(135deg, #36b39a, #08705d);
}

.file-review-status-icon.alert {
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7b5c, #d92d20);
}

.due-module-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
  max-width: 100%;
  min-width: 0;
}

.due-module-detail-main,
.due-module-detail-side {
  display: grid;
  gap: 16px;
  max-width: 100%;
  min-width: 0;
}

.due-module-detail-side {
  position: sticky;
  top: 18px;
}

.due-module-object-list {
  display: grid;
  gap: 8px;
}

.due-module-object {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.8fr);
  gap: 6px 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.due-module-object small {
  grid-column: 1 / -1;
}

.due-module-object span,
.due-module-object small {
  color: var(--muted);
  font-size: 12px;
}

.file-review-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-review-head,
.file-review-row {
  display: grid;
  grid-template-columns: 42px minmax(110px, 0.65fr) minmax(220px, 1.5fr) 150px 110px 116px;
  gap: 10px;
  align-items: center;
}

.file-review-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.file-review-row {
  min-height: 36px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.file-review-row:last-child {
  border-bottom: 0;
}

.file-review-row strong {
  color: var(--primary-dark);
}

.file-review-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.file-review-row em {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.file-review-row em.ok {
  background: #eaf7f1;
  color: var(--primary);
}

.file-review-row em.warn {
  background: #fff4e5;
  color: #b35c00;
}

.subject-investigation-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.property-search-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-inspection-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.litigation-execution-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lease-occupancy-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tax-fee-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.disposal-feasibility-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subject-investigation-head,
.subject-investigation-row,
.property-search-head,
.property-search-row,
.site-inspection-head,
.site-inspection-row,
.litigation-execution-head,
.litigation-execution-row,
.lease-occupancy-head,
.lease-occupancy-row,
.tax-fee-head,
.tax-fee-row,
.disposal-feasibility-head,
.disposal-feasibility-row {
  display: grid;
  grid-template-columns: 42px minmax(180px, 1.2fr) 100px minmax(170px, 1fr) 110px 116px;
  gap: 10px;
  align-items: center;
}

.property-search-head,
.property-search-row {
  grid-template-columns: 42px minmax(170px, 1.1fr) minmax(140px, 0.85fr) minmax(190px, 1.25fr) 110px 116px;
}

.site-inspection-head,
.site-inspection-row {
  grid-template-columns: 42px minmax(160px, 1fr) minmax(220px, 1.4fr) minmax(130px, 0.8fr) 110px 116px;
}

.litigation-execution-head,
.litigation-execution-row {
  grid-template-columns: 42px minmax(160px, 1fr) minmax(190px, 1.2fr) minmax(120px, 0.8fr) 110px 132px;
}

.lease-occupancy-head,
.lease-occupancy-row {
  grid-template-columns: 42px minmax(150px, 1fr) minmax(210px, 1.25fr) minmax(150px, 0.9fr) 110px 116px;
}

.tax-fee-head,
.tax-fee-row {
  grid-template-columns: 60px minmax(220px, 1fr) 140px 140px 150px;
}

.disposal-feasibility-head,
.disposal-feasibility-row {
  grid-template-columns: 42px minmax(220px, 1fr) minmax(140px, 0.8fr) minmax(170px, 0.9fr) 170px;
}

.subject-investigation-head,
.property-search-head,
.site-inspection-head,
.litigation-execution-head,
.lease-occupancy-head,
.tax-fee-head,
.disposal-feasibility-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.subject-investigation-row,
.property-search-row,
.site-inspection-row,
.litigation-execution-row,
.lease-occupancy-row,
.tax-fee-row,
.disposal-feasibility-row {
  min-height: 38px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.subject-investigation-row:last-child,
.property-search-row:last-child,
.site-inspection-row:last-child,
.litigation-execution-row:last-child,
.lease-occupancy-row:last-child,
.tax-fee-row:last-child,
.disposal-feasibility-row:last-child {
  border-bottom: 0;
}

.subject-investigation-row strong,
.subject-investigation-row span,
.property-search-row strong,
.property-search-row span,
.site-inspection-row strong,
.site-inspection-row span,
.litigation-execution-row strong,
.litigation-execution-row span,
.lease-occupancy-row strong,
.lease-occupancy-row span,
.tax-fee-row strong,
.tax-fee-row span,
.disposal-feasibility-row strong,
.disposal-feasibility-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.subject-investigation-row em,
.subject-investigation-row b,
.property-search-row b,
.site-inspection-row b,
.litigation-execution-row b,
.lease-occupancy-row b,
.tax-fee-row b,
.disposal-feasibility-row b {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf7f1;
  color: var(--primary);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.subject-investigation-row b,
.property-search-row b,
.site-inspection-row b,
.litigation-execution-row b,
.lease-occupancy-row b,
.tax-fee-row b,
.disposal-feasibility-row b {
  background: #edf4ff;
  color: #2b6fca;
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.link-btn + .link-btn::before {
  content: "|";
  margin-right: 8px;
  color: var(--line);
  font-weight: 400;
}

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

.file-review-form .full-row {
  grid-column: 1 / -1;
}

.file-review-form .date-span {
  grid-column: span 2;
}

.file-review-form label > span b {
  color: #d92d20;
}

.file-review-unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
}

.file-review-unit-input input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.file-review-unit-input em {
  display: grid;
  place-items: center;
  height: 42px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #fbfcfc;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.file-review-date-range {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) 18px minmax(132px, 1fr);
  align-items: center;
  gap: 6px;
}

.file-review-date-range i {
  color: var(--muted);
  text-align: center;
  font-style: normal;
  font-weight: 800;
}

.file-review-radio-line {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.file-review-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #42514d;
  font-weight: 700;
}

.file-review-radio-line input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.file-review-conclusion-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.file-review-conclusion-options label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #42514d;
  cursor: pointer;
  font-weight: 700;
}

.file-review-conclusion-options input {
  width: 14px;
  height: 14px;
  margin-right: 7px;
  accent-color: var(--primary);
}

.file-review-conclusion-options label.active,
.file-review-conclusion-options label:has(input:checked) {
  border-color: var(--primary);
  background: #edf7f4;
  color: var(--primary-dark);
}

.file-review-record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.file-review-record-grid label {
  position: relative;
  height: 100%;
}

.file-review-record-grid textarea {
  min-height: 116px;
  height: 100%;
}

.file-review-record-grid label small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.file-review-record-options {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.file-review-record-options > div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 6px 0;
}

.file-review-record-options > div > span {
  color: #42514d;
  font-size: 12px;
  font-weight: 800;
}

.file-review-record-options b {
  color: #d92d20;
}

.file-review-record-options .file-review-conclusion-options {
  gap: 18px;
}

.file-review-record-options .file-review-conclusion-options label {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
}

.file-review-record-options .file-review-conclusion-options label.active,
.file-review-record-options .file-review-conclusion-options label:has(input:checked) {
  background: transparent;
  color: var(--primary-dark);
}

.subject-investigation-record-grid .file-review-record-options {
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
}

.subject-investigation-record-grid .file-review-record-options > div {
  align-content: start;
  min-height: 0;
  padding: 4px 0;
}

.subject-investigation-record-grid .file-review-conclusion-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  white-space: normal;
}

.subject-investigation-record-grid .file-review-conclusion-options label {
  min-height: 26px;
  align-items: center;
}

.site-inspection-record-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
}

.site-inspection-record-grid .file-review-record-options {
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
}

.site-inspection-record-grid .file-review-record-options > div {
  align-content: start;
  min-height: 0;
  padding: 4px 0;
}

.site-inspection-record-grid .file-review-conclusion-options {
  flex-wrap: nowrap;
  gap: 18px;
  white-space: nowrap;
}

.litigation-execution-record-grid .file-review-record-options {
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
}

.litigation-execution-record-grid .file-review-record-options > div {
  align-content: start;
  min-height: 0;
  padding: 4px 0;
}

.litigation-execution-record-grid .file-review-conclusion-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  white-space: normal;
}

.lease-occupancy-record-grid .file-review-record-options {
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
}

.lease-occupancy-record-grid .file-review-record-options > div {
  align-content: start;
  min-height: 0;
  padding: 4px 0;
}

.lease-occupancy-record-grid .file-review-conclusion-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  white-space: normal;
}

.tax-fee-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tax-fee-upload-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 14px;
  border: 1px dashed #c8d5d2;
  border-radius: 8px;
  background: #fbfcfc;
  text-align: center;
}

.tax-fee-upload-card strong {
  color: var(--text);
  font-size: 13px;
}

.tax-fee-upload-card strong b {
  color: #d92d20;
  font-style: normal;
}

.tax-fee-upload-card small {
  color: var(--muted);
  font-size: 11px;
}

.tax-fee-upload-card > span {
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.tax-fee-upload-card input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.tax-fee-upload-card button {
  width: 100%;
  min-height: 30px;
  pointer-events: none;
  font-size: 12px;
}

.tax-fee-record-grid {
  display: grid;
  gap: 14px;
}

.tax-fee-record-options {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}

.tax-fee-record-options > div {
  display: grid;
  gap: 8px;
}

.tax-fee-record-options > div > span {
  color: #42514d;
  font-size: 12px;
  font-weight: 800;
}

.tax-fee-record-options b {
  color: #d92d20;
}

.tax-fee-record-options .file-review-conclusion-options {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.tax-fee-record-options .file-review-conclusion-options label {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 13px;
}

.tax-fee-record-grid label {
  position: relative;
}

.tax-fee-record-grid textarea {
  min-height: 92px;
}

.tax-fee-record-grid label small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.tax-fee-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.disposal-estimate-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.disposal-estimate-strip div {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}

.disposal-estimate-strip div:last-child {
  border-right: 0;
}

.disposal-estimate-strip span,
.disposal-estimate-strip small {
  color: var(--muted);
  font-size: 11px;
}

.disposal-estimate-strip strong {
  color: var(--primary-dark);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.disposal-feasibility-record-grid .file-review-record-options {
  grid-template-rows: auto auto;
  align-content: start;
  gap: 18px;
}

.disposal-feasibility-record-grid .file-review-record-options > div {
  align-content: start;
  min-height: 0;
  padding: 4px 0;
}

.disposal-feasibility-record-grid .file-review-conclusion-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  white-space: normal;
}

.file-review-risk-list {
  display: grid;
  gap: 8px;
}

.file-review-risk-card {
  position: relative;
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 9px 10px 9px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.file-review-risk-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d92d20;
}

.file-review-risk-card strong {
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.35;
}

.file-review-risk-card span {
  color: #b42318;
  font-size: 11px;
  font-weight: 800;
}

.file-review-risk-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.file-review-upload-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.file-review-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed #9fb2ad;
  border-radius: 8px;
  background: #fbfcfc;
  text-align: center;
}

.file-review-dropzone span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef6f3;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

.file-review-dropzone strong {
  color: var(--primary-dark);
  font-size: 13px;
}

.file-review-dropzone small {
  color: var(--muted);
  font-size: 12px;
}

.file-review-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-review-dropzone button {
  position: relative;
  z-index: 1;
}

.file-review-uploaded {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.file-review-uploaded > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.file-review-uploaded > div:first-child strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.file-review-uploaded > div:first-child span {
  color: var(--muted);
  font-size: 12px;
}

.file-review-uploaded-list {
  display: grid;
  gap: 4px;
}

.file-review-uploaded-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 72px 126px 28px 28px;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  padding: 5px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.file-review-uploaded-row > span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.file-review-uploaded-row > span.pdf {
  background: #df3b30;
}

.file-review-uploaded-row > span.image {
  background: #4caf50;
}

.file-review-uploaded-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #22322f;
  font-size: 12px;
}

.file-review-uploaded-row small {
  color: var(--muted);
  font-size: 11px;
}

.due-todo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.due-todo-list {
  display: grid;
  gap: 8px;
}

.due-todo-list h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 15px;
}

.due-todo-list article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.due-todo-list span,
.due-todo-list small {
  color: var(--muted);
  font-size: 12px;
}

.due-todo-list-mode {
  display: grid;
  gap: 10px;
}

.due-todo-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.due-todo-tabs button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.due-todo-tabs button.active,
.due-todo-tabs button:hover {
  border-color: var(--primary);
  background: #edf7f4;
  color: var(--primary-dark);
}

.due-todo-rows {
  display: grid;
  gap: 6px;
}

.due-todo-section {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.due-todo-section + .due-todo-section {
  border-top: 1px solid var(--line);
}

.due-todo-section > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.due-todo-section > div:first-child strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.due-todo-section > div:first-child span {
  color: var(--muted);
  font-size: 12px;
}

.due-todo-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 92px 74px 64px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--line);
}

.due-todo-row > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff4e5;
  color: #c56a00;
  font-size: 12px;
  font-weight: 800;
}

.due-todo-row div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.due-todo-row strong,
.due-todo-row small {
  overflow-wrap: anywhere;
  word-break: normal;
}

.due-todo-row small,
.due-todo-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.due-todo-row b {
  color: #b42318;
  font-size: 12px;
  font-weight: 800;
}

.due-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
}

.due-ai-reserve-list {
  display: grid;
  gap: 8px;
}

.due-ai-reserve-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.due-ai-reserve-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.due-ai-reserve-list strong {
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.due-ai-reserve-list small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

.due-verification-table {
  display: grid;
  gap: 8px;
}

.due-verification-head,
.due-verification-main {
  display: grid;
  grid-template-columns: minmax(150px, 1.25fr) minmax(82px, 0.65fr) minmax(130px, 1fr) minmax(150px, 1.15fr) minmax(90px, 0.65fr) minmax(90px, 0.75fr) minmax(92px, 0.65fr) minmax(120px, 0.85fr);
  gap: 8px;
  align-items: center;
}

.due-verification-head {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.due-verification-row {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}

.due-anchor-notice {
  margin: 0 0 12px;
}

.due-anchor-highlight {
  border-color: rgba(18, 106, 91, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(18, 106, 91, 0.12);
  background: #f2fbf7 !important;
}

.due-verification-main span {
  color: #33413e;
  font-size: 12px;
  line-height: 1.45;
}

.due-row-actions {
  display: flex;
}

.due-row-actions .table-btn {
  width: 100%;
}

.due-action-anchor-list,
.due-action-anchor-rows {
  display: grid;
  gap: 10px;
}

.due-action-anchor-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.due-action-anchor-list > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.due-action-anchor-row {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fff;
}

.due-action-anchor-row span,
.due-action-anchor-row small {
  color: var(--muted);
  line-height: 1.5;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

td strong,
td small {
  display: block;
}

td small {
  margin-top: 3px;
  color: var(--muted);
}

.selected-row {
  background: #edf7f4;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f2;
  color: #354542;
  font-size: 12px;
  font-weight: 700;
}

.danger-pill {
  background: #fff0ed;
  color: var(--danger);
}

.warning-pill {
  background: #fff7e6;
  color: #8a5a00;
}

.muted-pill {
  background: #f4f6f6;
  color: var(--muted);
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf7f4;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.compact-action-btn {
  min-width: 88px;
  justify-content: center;
  white-space: nowrap;
}

.danger-text {
  color: var(--danger);
}

.empty-cell,
.empty-state {
  color: var(--muted);
  text-align: center;
}

.empty-state {
  padding: 34px 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.asset-lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
}

.asset-lists h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.asset-lists ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.asset-lists li,
.list-item,
.history-item,
.missing-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.asset-lists li {
  display: grid;
  gap: 3px;
}

.asset-lists small,
.list-item span,
.history-item span,
.missing-card span,
.missing-card small {
  color: var(--muted);
  font-size: 12px;
}

.missing-card {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  border-left-width: 4px;
}

.missing-card p {
  margin: 0;
  color: #33413e;
  font-size: 13px;
}

.risk-red {
  border-left-color: #b42318;
}

.risk-orange {
  border-left-color: #c56a00;
}

.risk-yellow {
  border-left-color: #d2a10d;
}

.risk-gray {
  border-left-color: #8b9491;
}

.readonly-total {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.readonly-total strong {
  color: var(--primary-dark);
  font-size: 20px;
}

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

.business-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.business-summary.compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.business-summary div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.business-summary span,
.business-summary small {
  color: var(--muted);
  font-size: 12px;
}

.business-summary strong {
  overflow-wrap: anywhere;
}

.package-report-page {
  display: grid;
  gap: 16px;
}

.package-report-hero {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.package-report-hero p,
.package-report-hero span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.package-report-hero h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.package-report-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.package-report-metric {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.package-report-metric span,
.package-report-metric small,
.package-scope-card span,
.package-scope-card p,
.package-candidate-card span,
.package-rollup-list span,
.package-rollup-list small {
  color: var(--muted);
  font-size: 12px;
}

.package-report-metric strong {
  color: var(--primary-dark);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.package-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.package-overview-grid > .panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.package-overview-grid > .panel .panel-title {
  min-height: 42px;
  align-items: center;
}

.package-overview-grid > .panel .panel-title h2 {
  line-height: 1.25;
}

.package-overview-grid > .panel .panel-title span {
  flex: 0 0 auto;
  line-height: 1.25;
  text-align: right;
}

.package-overview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.package-overview-list div {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-overview-list span,
.package-overview-list small {
  color: var(--muted);
  font-size: 12px;
}

.package-overview-list strong {
  color: var(--primary-dark);
  overflow-wrap: anywhere;
}

.package-report-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.package-report-main-column,
.package-report-side-column {
  display: grid;
  gap: 16px;
}

.package-report-side-column {
  position: sticky;
  top: 18px;
}

.package-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.package-scope-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  min-height: 124px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-scope-card.active {
  border-color: var(--primary);
  background: #edf7f4;
  box-shadow: 0 0 0 2px rgba(18, 106, 91, 0.08);
}

.package-scope-card i {
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.package-scope-card strong {
  display: block;
  margin-bottom: 4px;
}

.package-scope-card p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.package-claim-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-claim-head,
.package-claim-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(120px, 0.85fr) minmax(110px, 0.75fr) minmax(130px, 0.9fr) minmax(120px, 0.85fr) 82px minmax(130px, 0.9fr) 96px 140px;
  gap: 10px;
  align-items: center;
}

.package-claim-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.package-claim-row {
  min-height: 48px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.package-claim-row:last-child {
  border-bottom: 0;
}

.package-claim-row strong,
.package-claim-row span,
.package-claim-row label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.package-claim-row label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--primary-dark);
  font-weight: 800;
}

.package-claim-row input {
  width: auto;
  min-height: auto;
  accent-color: var(--primary);
}

.package-claim-row b {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2f2;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.package-candidate-list,
.package-rollup-list,
.package-key-claim-list {
  display: grid;
  gap: 10px;
}

.package-key-claim-list article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(150px, 0.8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-key-claim-list article > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #edf7f4;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.package-key-claim-list small,
.package-key-claim-list em {
  color: var(--muted);
  font-size: 12px;
}

.package-key-claim-list em {
  font-style: normal;
  font-weight: 800;
}

.package-candidate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-rollup-list div {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-rollup-list strong {
  color: var(--primary-dark);
  overflow-wrap: anywhere;
}

.package-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.package-distribution {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.package-distribution > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 0.8fr) 42px;
  gap: 8px;
  align-items: center;
}

.package-distribution span,
.package-distribution small {
  color: var(--muted);
  font-size: 12px;
}

.package-distribution i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ecea;
}

.package-distribution em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.package-report-checks {
  gap: 8px;
}

.report-archive-page {
  display: grid;
  gap: 16px;
}

.report-archive-filter {
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.report-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 0.8fr));
  gap: 14px;
  align-items: end;
}

.report-filter-grid .wide-field {
  grid-column: span 2;
}

.report-filter-actions {
  display: flex;
  gap: 10px;
  align-items: end;
}

.report-filter-actions button {
  min-width: 92px;
}

.report-archive-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.report-archive-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.report-archive-stat span,
.report-archive-stat small,
.report-archive-detail-list span,
.report-boundary-box p {
  color: var(--muted);
  font-size: 12px;
}

.report-archive-stat strong {
  color: var(--primary-dark);
  font-size: 24px;
}

.report-archive-stat i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eaf7f1;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.report-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.36fr);
  gap: 16px;
  align-items: start;
}

.report-archive-main-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.report-archive-list-panel {
  min-width: 0;
}

.report-archive-table {
  display: grid;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-archive-head,
.report-archive-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(150px, 1fr) 110px 120px 74px 130px 84px 90px minmax(240px, 1.4fr);
  gap: 10px;
  align-items: center;
  min-width: 1120px;
}

.report-archive-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-archive-row {
  min-height: 52px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.report-archive-row:last-child {
  border-bottom: 0;
}

.report-archive-row.active {
  background: #edf7f4;
}

.report-archive-row strong,
.report-archive-row span,
.report-row-actions {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-archive-row b,
.report-version-row b {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
}

.status-final {
  background: #eaf7f1;
  color: var(--primary);
}

.status-draft {
  background: #fff4e5;
  color: #b35c00;
}

.status-review {
  background: #efe9ff;
  color: #6d46b9;
}

.status-archived {
  background: #eef2f2;
  color: var(--muted);
}

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

.report-row-actions .link-btn:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.report-archive-pager {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.report-archive-pager select,
.report-archive-pager input {
  width: 82px;
  min-height: 32px;
  padding: 5px 8px;
}

.report-archive-pager input {
  width: 48px;
  text-align: center;
}

.report-archive-pager button {
  min-width: 32px;
  min-height: 32px;
  padding: 0 8px;
}

.report-archive-preview {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  align-self: start;
  align-content: start;
}

.report-preview-box {
  display: grid;
  gap: 10px;
  min-height: 430px;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 106, 91, 0.12), transparent 35%),
    #fbfcfc;
}

.report-preview-box strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.report-preview-box span {
  color: var(--muted);
  font-size: 13px;
}

.report-preview-sections {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.report-preview-sections article {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-preview-sections b {
  color: var(--primary-dark);
  font-size: 13px;
}

.report-preview-sections small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.report-archive-detail-list {
  display: grid;
  gap: 10px;
}

.report-archive-detail-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.report-archive-detail-list strong {
  overflow-wrap: anywhere;
}

.report-boundary-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.report-boundary-box p {
  margin: 0;
  line-height: 1.55;
}

.report-version-table {
  display: grid;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-version-head,
.report-version-row {
  display: grid;
  grid-template-columns: 100px 100px 110px 150px minmax(240px, 1fr) 180px;
  gap: 12px;
  align-items: center;
  min-width: 880px;
}

.report-version-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.report-version-row {
  position: relative;
  min-height: 46px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.report-version-row:last-child {
  border-bottom: 0;
}

.report-version-row strong {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.report-version-row strong::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 28px;
  bottom: -28px;
  width: 1px;
  background: var(--line);
}

.report-version-row:last-child strong::before {
  display: none;
}

.report-version-row strong i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.initial-review-page {
  display: grid;
  gap: 16px;
}

.initial-review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 16px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.initial-review-hero span,
.initial-review-hero small {
  color: var(--muted);
  font-size: 13px;
}

.initial-review-hero h2 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.initial-review-hero p {
  margin: 0;
  color: #33413e;
}

.initial-review-hero strong {
  display: block;
  margin: 4px 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.initial-conclusion-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
}

.initial-conclusion-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: start;
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  border-left-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.initial-conclusion-card span,
.initial-conclusion-card small {
  color: var(--muted);
  font-size: 12px;
}

.initial-conclusion-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--primary-dark);
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.initial-conclusion-card i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf7f4;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.initial-conclusion-card.risk-red {
  border-left-color: #b42318;
}

.initial-conclusion-card.risk-orange {
  border-left-color: #c56a00;
}

.initial-conclusion-card.risk-green {
  border-left-color: #0f7b4f;
}

.initial-progress-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(260px, 0.75fr) minmax(0, 1.8fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.initial-stage,
.initial-progress-meter,
.initial-progress-stats div {
  display: grid;
  gap: 5px;
}

.initial-stage span,
.initial-stage small,
.initial-progress-meter span,
.initial-progress-stats span,
.initial-progress-stats small {
  color: var(--muted);
  font-size: 12px;
}

.initial-stage strong,
.initial-progress-meter strong,
.initial-progress-stats strong {
  color: var(--primary-dark);
  font-size: 18px;
}

.initial-progress-meter progress {
  width: 100%;
  height: 10px;
  accent-color: var(--primary);
}

.initial-progress-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 10px;
}

.initial-progress-stats div {
  padding: 10px;
  border-left: 1px solid var(--line);
}

.initial-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.initial-main-column,
.initial-side-column {
  display: grid;
  gap: 16px;
}

.initial-side-column {
  position: sticky;
  top: 18px;
}

.initial-note-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #33413e;
  font-size: 13px;
  line-height: 1.65;
}

.initial-note-list b {
  color: #b42318;
}

.missing-impact-list {
  display: grid;
  gap: 10px;
}

.initial-report-conclusion {
  display: grid;
  gap: 12px;
}

.initial-report-conclusion p {
  margin: 0;
  color: #33413e;
  font-size: 14px;
  line-height: 1.75;
}

.risk-report-group {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.risk-report-group:last-child {
  margin-bottom: 0;
}

.risk-report-group h3,
.followup-suggestion h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 16px;
}

.risk-report-list {
  display: grid;
  gap: 10px;
}

.risk-report-item {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.risk-report-item > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.risk-report-item p {
  margin: 0;
  color: #33413e;
  font-size: 13px;
  line-height: 1.55;
}

.risk-report-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.followup-suggestion {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.followup-suggestion ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #33413e;
  font-size: 13px;
  line-height: 1.6;
}

.risk-diagnosis-list,
.guidance-list,
.analysis-steps,
.value-range-grid {
  display: grid;
  gap: 12px;
}

.risk-diagnosis-card,
.guidance-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.risk-diagnosis-card > div,
.guidance-card > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.risk-diagnosis-card p,
.guidance-card p {
  margin: 0;
  color: #33413e;
  font-size: 13px;
  line-height: 1.55;
}

.risk-diagnosis-card span,
.guidance-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.analysis-steps article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.analysis-steps article > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.analysis-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.value-range-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.value-range-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.value-range-grid span,
.value-range-grid small {
  color: var(--muted);
  font-size: 12px;
}

.value-range-grid strong {
  color: var(--primary-dark);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.valuation-page {
  display: grid;
  gap: 16px;
}

.valuation-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.valuation-hero span,
.valuation-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.valuation-hero h2 {
  margin: 6px 0 8px;
  font-size: 26px;
}

.valuation-hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.valuation-hero-actions form {
  margin: 0;
}

.valuation-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.valuation-steps div {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  font-weight: 800;
}

.valuation-steps div:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(50% + 76px);
  right: -50%;
  top: 50%;
  height: 2px;
  background: var(--line);
}

.valuation-steps div.done:not(:last-child)::after {
  background: var(--primary);
}

.valuation-steps i {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eaf7f1;
  color: var(--primary);
  font-style: normal;
  font-size: 13px;
}

.valuation-steps .current i {
  background: var(--primary-dark);
  color: #fff;
}

.valuation-steps .done {
  color: var(--primary-dark);
}

.valuation-steps .done i {
  background: var(--primary-dark);
  color: #fff;
}

.valuation-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.valuation-metric-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.valuation-metric-card span,
.valuation-metric-card small {
  color: var(--muted);
  font-size: 12px;
}

.valuation-metric-card strong {
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.valuation-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.valuation-section-grid-wide {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.15fr);
}

.valuation-section-card {
  display: grid;
  gap: 14px;
}

.valuation-section-card .panel-title {
  min-height: 34px;
}

.valuation-two-pane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.74fr);
  gap: 12px;
}

.valuation-two-pane article,
.valuation-cost-grid article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.valuation-two-pane h3 {
  margin: 0;
  font-size: 14px;
}

.valuation-mini-table {
  display: grid;
  gap: 8px;
}

.valuation-mini-table div,
.valuation-cost-summary div,
.valuation-recovery-table > div:not(.valuation-recovery-head) {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.valuation-mini-table span,
.valuation-cost-grid span,
.valuation-cost-grid small,
.valuation-cost-summary span,
.valuation-recovery-table span {
  color: var(--muted);
  font-size: 12px;
}

.valuation-mini-table strong,
.valuation-cost-summary strong,
.valuation-recovery-table strong {
  color: var(--primary-dark);
  overflow-wrap: anywhere;
}

.valuation-cost-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.valuation-cost-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.valuation-recovery-table {
  display: grid;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.valuation-recovery-table > div {
  display: grid;
  grid-template-columns: 130px minmax(220px, 1fr) 130px;
  gap: 12px;
  align-items: center;
}

.valuation-recovery-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.valuation-recovery-table > div:not(.valuation-recovery-head) {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.valuation-recovery-table > div:last-child {
  border-bottom: 0;
}

.valuation-conclusion-card {
  display: grid;
  gap: 14px;
}

.valuation-conclusion-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(260px, 0.7fr);
  gap: 14px;
}

.valuation-conclusion-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.valuation-conclusion-grid h3 {
  margin: 0;
  font-size: 15px;
}

.valuation-conclusion-grid p {
  margin: 0;
  color: #33413e;
  line-height: 1.65;
}

.valuation-run-settings form {
  margin-top: 12px;
}

.project-evaluation-page {
  display: grid;
  gap: 16px;
}

.project-evaluation-hero {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.project-evaluation-hero span,
.project-evaluation-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.project-evaluation-hero h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  font-size: 28px;
}

.project-evaluation-hero b {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf7f1;
  color: var(--primary);
  font-size: 13px;
}

.project-evaluation-metrics {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.project-eval-metric {
  display: grid;
  gap: 6px;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.project-eval-metric span,
.project-eval-metric small {
  color: var(--muted);
  font-size: 12px;
}

.project-eval-metric strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.project-evaluation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.project-evaluation-main,
.project-evaluation-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.project-evaluation-side {
  position: sticky;
  top: 18px;
}

.project-eval-section,
.project-eval-side-card {
  display: grid;
  gap: 12px;
}

.project-eval-table {
  display: grid;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-eval-head,
.project-eval-row {
  display: grid;
  grid-template-columns: 34px minmax(112px, 1.25fr) minmax(64px, 0.7fr) minmax(92px, 0.9fr) minmax(92px, 0.9fr) minmax(58px, 0.62fr) minmax(58px, 0.62fr) 42px;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.project-eval-head {
  padding: 9px 10px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.project-eval-row {
  min-height: 42px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.project-eval-row:last-child {
  border-bottom: 0;
}

.project-eval-row strong,
.project-eval-row span,
.project-eval-head span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.project-eval-row .link-btn {
  padding: 0;
  font-size: 11px;
}

.project-recovery-grid,
.project-factor-grid,
.project-conclusion-grid,
.project-side-kpis {
  display: grid;
  gap: 10px;
}

.project-recovery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-factor-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-conclusion-grid {
  grid-template-columns: 170px 170px minmax(0, 1fr);
}

.project-side-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-recovery-grid article,
.project-factor-grid article,
.project-conclusion-grid article,
.project-side-kpis article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.project-conclusion-grid .wide {
  min-height: 96px;
}

.project-recovery-grid span,
.project-factor-grid span,
.project-conclusion-grid span,
.project-side-kpis span,
.project-side-list span {
  color: var(--muted);
  font-size: 12px;
}

.project-recovery-grid strong,
.project-factor-grid strong,
.project-conclusion-grid strong,
.project-side-kpis strong {
  color: var(--primary-dark);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.project-conclusion-grid p {
  margin: 0;
  color: #33413e;
  line-height: 1.6;
}

.project-side-list,
.project-step-list {
  display: grid;
  gap: 8px;
}

.project-evaluation-progress .project-eval-side-card {
  gap: 10px;
}

.project-evaluation-progress .project-step-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  padding: 4px 0 2px;
}

.project-side-list article {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.project-step-list article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.project-evaluation-progress .project-step-list article {
  position: relative;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon status";
  gap: 2px 10px;
  padding-right: 18px;
}

.project-evaluation-progress .project-step-list article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 40px;
  right: 18px;
  height: 2px;
  background: #d9e4e1;
}

.project-step-list i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-style: normal;
  font-size: 12px;
}

.project-evaluation-progress .project-step-list i {
  grid-area: icon;
  position: relative;
  z-index: 1;
}

.project-evaluation-progress .project-step-list strong {
  grid-area: title;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.project-step-list span {
  color: var(--muted);
  font-size: 12px;
}

.project-evaluation-progress .project-step-list span {
  grid-area: status;
}

.project-evaluation-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(24, 40, 37, 0.05);
}

.project-evaluation-action-note {
  flex: 1 0 100%;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.project-review-page {
  display: grid;
  gap: 16px;
}

.project-review-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.project-review-metric {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.project-review-metric span,
.project-review-metric small,
.project-review-table span,
.project-review-risk-table span,
.project-review-side-card span,
.project-review-stagebar span,
.project-review-steps span {
  color: var(--muted);
  font-size: 12px;
}

.project-review-metric strong {
  color: var(--primary-dark);
  font-size: 22px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.project-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.project-review-main,
.project-review-side,
.project-review-section,
.project-review-side-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.project-review-side {
  position: sticky;
  top: 18px;
}

.project-review-scope,
.project-review-stagebar,
.project-review-feedback {
  display: grid;
  gap: 10px;
}

.project-review-scope {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-review-scope article,
.project-review-feedback article,
.project-review-side-list article,
.project-review-steps article {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.project-review-scope article.active {
  border-color: var(--primary);
  background: #eef8f4;
}

.project-review-table,
.project-review-risk-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-review-table-head,
.project-review-table-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) 92px;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
}

.project-review-risk-head,
.project-review-risk-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(110px, 0.9fr) minmax(110px, 0.9fr) minmax(150px, 1.2fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
}

.project-review-table-head,
.project-review-risk-head {
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-review-table-row,
.project-review-risk-row {
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.project-review-table-row > *,
.project-review-risk-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.positive-text {
  color: #087b50;
  font-weight: 800;
}

.negative-text {
  color: #c2412d;
  font-weight: 800;
}

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

.project-review-form .span-2,
.project-review-form button {
  grid-column: span 2;
}

.project-review-update {
  padding-top: 8px;
}

.project-review-stagebar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-review-stagebar article {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
}

.project-review-stagebar article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 44px;
  right: 16px;
  height: 2px;
  background: #d9e4e1;
}

.project-review-stagebar i,
.project-review-steps i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbe8e5;
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 800;
}

.project-review-stagebar .active i,
.project-review-steps i {
  background: var(--primary-dark);
  color: #fff;
}

.project-review-timeline {
  display: grid;
  gap: 8px;
}

.project-review-side-card.tinted {
  background: #eef8f4;
}

.project-review-side-list,
.project-review-steps,
.project-review-bullets {
  display: grid;
  gap: 8px;
}

.project-review-bullets {
  margin: 0;
  padding-left: 18px;
}

.project-review-steps article {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
}

.project-review-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(24, 40, 37, 0.05);
}

.material-checklist,
.due-workbench-list {
  display: grid;
  gap: 12px;
}

.material-check-item,
.due-work-item {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 8px;
  background: #fbfcfc;
}

.material-check-item {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.1fr);
  align-items: center;
}

.material-check-item span,
.due-work-head span {
  color: var(--muted);
  font-size: 12px;
}

.inline-upload-form,
.inline-action-form,
.due-inline-form,
.stacked-form {
  display: grid;
  gap: 10px;
}

.inline-upload-form {
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
}

.inline-upload-form input[type="file"] {
  min-width: 0;
}

.inline-action-form {
  margin-top: 12px;
}

.due-work-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.due-work-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.due-compact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 10px;
}

.due-compact-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #33413e;
  font-size: 13px;
}

.due-compact-row b {
  color: var(--muted);
  font-size: 12px;
}

.due-inline-form {
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.7fr) minmax(150px, 0.8fr) minmax(180px, 1fr);
  align-items: end;
}

.due-inline-form .check-row,
.due-inline-form button {
  grid-column: 1 / -1;
}

.due-evidence-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.8fr);
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.due-evidence-row .inline-note {
  grid-column: 1 / -1;
}

.report-preview-label {
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

details > form,
details > .panel,
details > .timeline-list,
details > .due-workbench-list {
  margin-top: 10px;
}

.check-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.check-row label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.check-row input {
  width: auto;
  min-height: auto;
}

.warning-check {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #f0cf88;
  border-radius: 8px;
  background: #fffaf0;
}

.check-stack input {
  width: auto;
  min-height: auto;
  margin-right: 8px;
}

.action-panel {
  align-content: start;
}

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.list-item {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.list-item p {
  margin: 0;
  color: #33413e;
  font-size: 13px;
}

.material-list {
  display: grid;
  gap: 10px;
}

.material-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.material-archive-page {
  display: grid;
  gap: 16px;
}

.material-filter-panel {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.material-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: start;
}

.material-upload-drawer {
  position: relative;
}

.material-upload-drawer summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.material-upload-drawer summary::-webkit-details-marker {
  display: none;
}

.material-upload-drawer > form {
  position: absolute;
  right: 0;
  z-index: 20;
  width: min(420px, 80vw);
  margin-top: 10px;
  box-shadow: 0 18px 40px rgba(10, 34, 29, 0.16);
}

.material-filter-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) minmax(150px, 0.78fr) minmax(130px, 0.68fr) minmax(150px, 0.78fr) minmax(270px, 1.45fr) minmax(90px, 0.42fr);
  gap: 12px;
  align-items: end;
}

.material-filter-grid label {
  display: grid;
  gap: 6px;
}

.material-filter-grid .wide-field {
  grid-column: auto;
}

.material-filter-grid input,
.material-filter-grid select,
.material-filter-grid button {
  min-height: 36px;
}

.material-filter-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.material-stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.material-stat-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(24, 40, 37, 0.04);
}

.material-stat-card div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.material-stat-card span,
.material-stat-card small {
  color: var(--muted);
  font-size: 12px;
}

.material-stat-card strong {
  color: var(--text);
  font-size: 24px;
}

.material-stat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eaf7f1;
  color: var(--primary);
  font-style: normal;
  font-weight: 900;
}

.material-stat-icon.contract {
  background: #edf7f4;
}

.material-stat-icon.folder {
  background: #efeaff;
  color: #6c52cc;
}

.material-stat-icon.image {
  background: #fff0e7;
  color: #d76824;
}

.material-stat-icon.court {
  background: #eef4ff;
  color: #3465c8;
}

.material-stat-icon.ai {
  background: #e8f7ee;
  color: #16885f;
}

.material-archive-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.26fr) minmax(0, 1fr) minmax(320px, 0.34fr);
  gap: 14px;
  align-items: start;
}

.material-category-panel,
.material-list-panel,
.material-detail-panel {
  min-width: 0;
}

.compact-search input {
  min-height: 34px;
}

.material-category-tree {
  display: grid;
  gap: 6px;
}

.material-category-tree button {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #33413e;
  text-align: left;
  cursor: pointer;
}

.material-category-tree button.active,
.material-category-tree button:hover {
  background: #eaf7f1;
  color: var(--primary-dark);
}

.material-category-tree strong {
  color: var(--muted);
  font-size: 12px;
}

.material-table {
  display: grid;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.material-table-head,
.material-table-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) minmax(120px, 0.9fr) 90px 140px 92px 90px 150px;
  gap: 10px;
  align-items: center;
  min-width: 980px;
}

.material-table-head {
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.material-table-row {
  min-height: 54px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.material-table-row:last-child {
  border-bottom: 0;
}

.material-table-row.active {
  background: #edf7f4;
}

.material-table-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.material-table-row > span:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}

.material-table-row em {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f2f5f4;
  color: var(--muted);
  font-style: normal;
}

.file-ext {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #eef2f2;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.file-ext.pdf {
  background: #fff0ee;
  color: #d4442f;
}

.file-ext.word {
  background: #eef4ff;
  color: #2f63c9;
}

.file-ext.sheet {
  background: #eaf7f1;
  color: var(--primary);
}

.file-ext.image {
  background: #fff0e7;
  color: #d76824;
}

.file-ext.zip {
  background: #eef0ff;
  color: #6257b8;
}

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

.material-detail-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.material-detail-file {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
}

.material-detail-file small {
  grid-column: 2;
  color: var(--muted);
}

.material-detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.material-detail-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.material-detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.material-detail-list dd {
  margin: 0;
  color: #33413e;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.material-detail-ai {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.material-detail-ai .panel-title h3 {
  margin: 0;
  font-size: 16px;
}

.material-ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
}

.material-ai-grid article,
.material-detail-ai article {
  display: grid;
  gap: 6px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.material-ai-grid span,
.material-detail-ai span {
  color: #33413e;
  font-size: 13px;
}

.result-kpis,
.report-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.result-kpis div,
.report-meta div {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.result-kpis strong {
  font-size: 20px;
}

pre {
  max-height: 360px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111b19;
  color: #edf7f4;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.factor-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: grid;
  gap: 6px;
}

.snapshot-list {
  display: grid;
  gap: 10px;
}

.snapshot-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px;
  border-color: var(--line);
  background: #fff;
  text-align: left;
}

.snapshot-item.active,
.snapshot-item:hover {
  border-color: var(--primary);
  background: #edf7f4;
}

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

.section-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.section-list article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.section-list h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.section-list p {
  margin: 0;
  color: #354542;
  white-space: pre-wrap;
}

.warning-line {
  color: #8a4d0f !important;
  font-weight: 700;
}

.mini-table {
  margin-top: 10px;
  overflow-x: auto;
}

.mini-table strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.mini-table table {
  min-width: 100%;
}

.section-list small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

details {
  display: grid;
  gap: 10px;
}

summary {
  margin-bottom: 10px;
  color: var(--primary-dark);
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .asset-grid,
  .asset-lists,
  .platform-capability-grid,
  .platform-supervision-grid,
  .promotion-application-layout,
  .material-archive-layout,
  .material-filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1280px) {
  .project-create-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-create-form {
    padding-right: 0;
    border-right: 0;
  }

  .project-create-aside {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .project-create-steps {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    padding: 22px 28px;
  }

  .project-create-step:not(:last-child)::after {
    display: none;
  }

  .asset-entry-shell-body {
    grid-template-columns: 1fr;
  }

  .asset-entry-side {
    order: 2;
  }

  .method-choice-grid {
    grid-template-columns: 1fr;
  }

  .object-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .method-choice-grid .asset-choice-card,
  .object-choice-grid .asset-choice-card {
    min-height: 132px;
    padding: 22px 24px 22px 48px;
  }

  .method-choice-grid .asset-choice-card strong,
  .object-choice-grid .asset-choice-card strong {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .asset-entry-card .wizard-steps button:not(:last-child)::after {
    display: none;
  }

  .due-module-detail-grid {
    grid-template-columns: 1fr;
  }

  .due-module-detail-side {
    position: static;
  }

  .due-module-detail-main,
  .due-module-detail-side,
  .due-module-detail-main .panel,
  .due-module-detail-side .panel {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .institution-nav {
    grid-template-columns: 1fr;
    max-height: 54vh;
  }

  .nav-group-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-btn {
    text-align: center;
  }

  .context-strip,
  .platform-hero,
  .auction-review-filter-grid,
  .auction-review-layout,
  .auction-review-summary-grid,
  .auction-review-field-grid,
  .auction-featured-boundary,
  .auction-featured-filter-grid,
  .auction-featured-layout,
  .auction-featured-batch-bar,
  .auction-featured-score-grid,
  .auction-featured-summary-grid,
  .auction-featured-reason-grid,
  .promotion-application-hero,
  .promotion-entry-card,
  .promotion-public-link-list article,
  .platform-grid,
  .platform-filter-bar,
  .platform-placeholder-grid,
  .report-access-diagnostics-filter,
  .report-access-conclusion-body,
  .report-access-diagnostics-grid,
  .report-access-detail-grid,
  .report-access-info-list div,
  .inline-fields,
  .public-promotion-hero,
  .public-promotion-grid,
  .public-discovery-filter-grid,
  .public-discovery-subscription-form,
  .project-create-layout,
  .project-create-body,
  .asset-context-grid,
  .asset-entry-shell-body,
  .initial-review-hero,
  .package-report-hero,
  .report-filter-grid,
  .report-archive-layout,
  .material-filter-grid,
  .material-archive-layout,
  .valuation-hero,
  .valuation-section-grid,
  .valuation-section-grid-wide,
  .valuation-two-pane,
  .valuation-conclusion-grid,
  .project-evaluation-layout,
  .project-recovery-grid,
  .project-factor-grid,
  .project-conclusion-grid,
  .project-review-layout,
  .project-review-scope,
  .project-review-form,
  .project-review-table-head,
  .project-review-table-row,
  .project-review-risk-head,
  .project-review-risk-row,
  .initial-progress-panel,
  .initial-main-grid,
  .package-report-main-grid,
  .package-overview-grid,
  .due-workbench-hero,
  .due-progress-panel,
  .due-module-detail-grid,
  .due-module-object,
  .method-choice-grid,
  .object-choice-grid,
  .project-form-grid,
  .entry-detail-layout,
  .form-grid.two-fields,
  .two-column,
  .split-list,
  .summary-strip,
  .package-scope-grid,
  .package-overview-list,
  .package-claim-head,
  .package-claim-row,
  .package-candidate-card,
  .package-key-claim-list article,
  .package-analysis-grid,
  .report-archive-head,
  .report-archive-row,
  .report-version-head,
  .report-version-row,
  .project-eval-head,
  .project-eval-row,
  .material-table-head,
  .material-table-row,
  .material-check-item,
  .due-compact-row,
  .due-inline-form,
  .due-evidence-row,
  .due-verification-head,
  .due-verification-main,
  .file-review-head,
  .file-review-row,
  .subject-investigation-head,
  .subject-investigation-row,
  .property-search-head,
  .property-search-row,
  .site-inspection-head,
  .site-inspection-row,
  .litigation-execution-head,
  .litigation-execution-row,
  .lease-occupancy-head,
  .lease-occupancy-row,
  .tax-fee-head,
  .tax-fee-row,
  .disposal-feasibility-head,
  .disposal-feasibility-row,
  .file-review-form,
  .file-review-upload-layout,
  .tax-fee-upload-grid,
  .tax-fee-record-options,
  .disposal-estimate-strip,
  .file-review-uploaded-row,
  .file-review-record-grid,
  .data-asset-form-grid,
  .promotion-media-summary,
  .promotion-media-form-grid,
  .promotion-media-grid,
  .usage-scope-grid,
  .public-kpi-grid,
  .public-discovery-metrics,
  .due-todo-row {
    grid-template-columns: 1fr;
  }

  .platform-workspace,
  .platform-sidebar,
  .platform-main,
  .platform-page,
  .panel,
  .auction-review-detail,
  .auction-review-table-wrap {
    min-width: 0;
  }

  .public-discovery-shell {
    padding: 16px 14px 176px;
  }

  .public-discovery-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 288px;
    padding: 24px 22px;
  }

  .public-discovery-hero-copy {
    max-width: 620px;
  }

  .public-discovery-hero h1 {
    font-size: 40px;
  }

  .public-discovery-hero-visual {
    position: absolute;
    right: 12px;
    bottom: 54px;
    width: 230px;
    min-height: 188px;
    opacity: 0.72;
  }

  .public-discovery-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-discovery-subscription-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-discovery-card {
    grid-template-columns: 156px minmax(0, 1fr);
  }

  .public-discovery-metrics {
    grid-template-columns: repeat(2, minmax(84px, 1fr));
  }

  .public-promotion-shell {
    padding-bottom: 78px;
  }

  .public-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 50;
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(18, 106, 91, 0.24);
  }

  .project-create-form {
    padding-right: 0;
    border-right: 0;
  }

  .project-create-steps,
  .project-type-card-grid,
  .asset-entry-card .wizard-steps {
    grid-template-columns: 1fr;
  }

  .asset-entry-shell-body {
    padding: 18px;
  }

  .asset-entry-side {
    order: 2;
  }

  .initial-conclusion-grid,
  .package-report-summary-grid,
  .initial-progress-stats,
  .due-status-grid,
  .due-module-status-grid,
  .due-progress-stats,
  .due-module-grid,
  .due-todo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .initial-side-column {
    position: static;
  }

  .package-report-side-column,
  .report-archive-preview,
  .material-detail-panel,
  .project-evaluation-side,
  .project-review-side,
  .due-module-detail-side {
    position: static;
  }

  .login-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }
}

@media (max-width: 1120px) {
  .bank-property-form-meta,
  .bank-property-entry-form .bank-property-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bank-property-import-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .main {
    padding: 16px;
  }

  .admin-form-grid,
  .compact-detail-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-flow-steps,
  .bank-property-entry-subnav,
  .bank-property-import-toolbar,
  .bank-property-import-inline-form,
  .bank-property-compact-summary,
  .bank-property-row-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bank-property-import-inline-form label,
  .bank-property-import-inline-form button,
  .bank-property-entry-subnav .bank-property-entry-mode-tabs,
  .bank-property-row-actions .table-btn,
  .bank-property-row-actions .primary-btn,
  .bank-property-row-actions .secondary-btn {
    width: 100%;
  }

  .bank-property-task-row,
  .bank-property-feedback-row,
  .bank-property-status-row,
  .bank-property-feedback-card,
  .bank-property-promotion-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-task-row {
    gap: 10px;
  }

  .bank-property-form-meta,
  .bank-property-entry-form .bank-property-business-grid,
  .bank-property-import-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-region-address-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-final-actions,
  .bank-property-local-draft-recovery,
  .bank-property-restored-draft-notice,
  .bank-property-import-draft-actions,
  .bank-property-import-draft-head {
    align-items: stretch;
    flex-direction: column;
  }

  .bank-property-import-draft-panel {
    width: 100vw;
    padding: 14px;
  }

  .bank-property-import-detail-drawer {
    padding: 0;
  }

  .bank-property-import-detail-panel {
    align-self: stretch;
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .bank-property-import-detail-header,
  .bank-property-import-detail-footer {
    padding: 14px;
  }

  .bank-property-import-detail-body {
    padding: 14px 14px 22px;
  }

  .bank-property-import-detail-actions {
    justify-content: stretch;
  }

  .bank-property-import-detail-actions .table-btn,
  .bank-property-import-detail-actions .secondary-btn,
  .bank-property-import-detail-actions .primary-btn {
    width: 100%;
  }

  .institution-drawer {
    padding: 0;
  }

  .institution-drawer__panel {
    align-self: stretch;
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .institution-drawer__header,
  .institution-drawer__footer {
    padding: 14px;
  }

  .institution-drawer__body {
    padding: 14px 14px 22px;
  }

  .institution-drawer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .institution-drawer__actions {
    justify-content: stretch;
  }

  .institution-drawer__actions .primary-btn,
  .institution-drawer__actions .secondary-btn {
    width: 100%;
  }

  .bank-property-import-draft-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-submit-blocker-rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-attachment-status-area {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-status-actions {
    align-items: center;
    flex-direction: row;
  }

  .bank-property-status-actions .table-btn {
    width: auto;
  }

  .bank-property-status-hint {
    flex-basis: 100%;
    white-space: normal;
  }

  .bank-property-readiness-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-property-readiness-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .bank-property-public-preview-entry {
    align-items: stretch;
    flex-direction: column;
  }

  .bank-property-business-section {
    padding: 10px;
  }

  .bank-property-task-main strong,
  .bank-property-task-row strong,
  .bank-property-compact-summary strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .public-discovery-shell {
    justify-items: center;
    gap: 12px;
    overflow-x: hidden;
    padding: 10px 8px calc(190px + env(safe-area-inset-bottom));
  }

  .public-discovery-canvas {
    gap: 12px;
    width: min(430px, 100%);
    max-width: 100%;
    min-width: 0;
  }

  .public-discovery-hero,
  .public-discovery-controls,
  .public-discovery-list,
  .public-discovery-subscribe {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .public-discovery-hero {
    min-height: 208px;
    padding: 18px 16px 22px;
  }

  .public-discovery-brand {
    max-width: 260px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .public-discovery-brand img {
    width: 26px;
    height: 26px;
  }

  .public-discovery-hero h1 {
    max-width: 260px;
    margin-bottom: 9px;
    font-size: 34px;
  }

  .public-discovery-hero p {
    max-width: 292px;
    font-size: 15px;
    line-height: 1.55;
  }

  .public-discovery-hero-visual {
    right: -6px;
    bottom: auto;
    top: 10px;
    width: 252px;
    min-height: 0;
    opacity: 0.72;
  }

  .public-discovery-controls {
    gap: 10px;
  }

  .public-discovery-search {
    width: 100%;
    min-width: 0;
  }

  .public-discovery-search input {
    min-height: 52px;
    padding-right: 14px;
    padding-left: 52px;
    border-radius: 8px;
    font-size: 15px;
  }

  .public-discovery-search i {
    left: 17px;
    font-size: 24px;
  }

  .public-discovery-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
    overflow: visible;
    margin-inline: 0;
    padding: 2px 0 5px;
  }

  .public-discovery-categories button {
    width: 100%;
    min-width: auto;
    min-height: 42px;
    padding: 0 4px;
    white-space: nowrap;
    font-size: 13px;
  }

  .public-discovery-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    overflow: visible;
    padding: 1px 0 6px;
    scrollbar-width: none;
  }

  .public-discovery-filter-grid::-webkit-scrollbar {
    display: none;
  }

  .public-discovery-filter-grid label {
    min-width: 0;
    min-height: 42px;
  }

  .public-discovery-filter-grid select {
    min-height: 42px;
  }

  .public-discovery-filter-grid label > span {
    left: 7px;
    max-width: calc(100% - 12px);
    gap: 3px;
    font-size: 11px;
  }

  .public-discovery-filter-grid i {
    width: 13px;
    height: 13px;
    font-size: 12px;
  }

  .public-discovery-filter-grid select {
    padding: 0 12px;
    color: transparent;
  }

  .public-discovery-filter-grid select option {
    color: var(--text);
  }

  .public-discovery-filter-chip::after {
    display: none;
  }

  .public-discovery-card {
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .public-discovery-card-media {
    aspect-ratio: 1 / 1.08;
  }

  .public-discovery-image-placeholder {
    gap: 5px;
    padding: 8px;
    font-size: 12px;
    line-height: 1.35;
  }

  .public-discovery-image-placeholder span {
    width: 30px;
    height: 30px;
  }

  .public-discovery-type-badge {
    padding: 5px 7px;
    font-size: 10px;
  }

  .public-discovery-card-body {
    gap: 7px;
  }

  .public-discovery-card-head {
    display: grid;
    gap: 5px;
  }

  .public-discovery-card-head small {
    display: none;
  }

  .public-discovery-card .public-tag-row {
    gap: 5px;
    max-width: 100%;
  }

  .public-discovery-card .public-tag-row span {
    padding: 4px 5px;
    font-size: 10px;
  }

  .public-discovery-card h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
  }

  .public-discovery-card p {
    display: none;
    font-size: 13px;
  }

  .public-discovery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2px 0;
  }

  .public-discovery-metrics div {
    padding: 3px 6px 3px 0;
    margin-right: 6px;
  }

  .public-discovery-metrics span {
    font-size: 10px;
  }

  .public-discovery-metrics strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .public-discovery-card-actions {
    justify-content: stretch;
  }

  .public-discovery-card .primary-btn {
    min-width: 0;
    min-height: 32px;
    padding: 0 9px;
    font-size: 13px;
  }

  .public-discovery-subscribe {
    padding: 14px;
  }

  .public-discovery-subscription-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .public-discovery-subscription-form label:nth-of-type(n + 3),
  .public-discovery-subscription-form .inline-fields,
  .public-discovery-subscription-form .checkbox-line,
  .public-discovery-subscription-form button {
    grid-column: 1 / -1;
  }

  .public-discovery-subscription-form input {
    min-height: 46px;
  }

  .public-discovery-sticky {
    right: auto;
    left: 50%;
    width: min(414px, calc(100vw - 16px));
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    padding: 8px;
    transform: translateX(-50%);
  }

  .public-discovery-sticky a {
    min-height: 50px;
    padding: 6px 8px;
  }

  .public-discovery-sticky .primary-btn strong {
    font-size: 17px;
  }

  .public-discovery-sticky .primary-btn span {
    font-size: 11px;
  }

  .public-discovery-sticky .secondary-btn {
    font-size: 13px;
    font-weight: 900;
  }

  .public-discovery-section-title {
    display: grid;
  }

  .public-bottom-tabs {
    right: auto;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(414px, calc(100vw - 16px));
    padding: 5px 8px;
    transform: translateX(-50%);
  }

  .public-bottom-tabs button {
    min-height: 48px;
  }

  .topbar {
    display: grid;
  }

  nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-kpis,
  .report-meta,
  .initial-conclusion-grid,
  .package-report-summary-grid,
  .report-archive-stats,
  .material-stat-grid,
  .material-ai-grid,
  .valuation-steps,
  .valuation-metric-grid,
  .project-evaluation-metrics,
  .project-review-metrics,
  .project-review-stagebar,
  .project-side-kpis,
  .valuation-cost-grid,
  .valuation-cost-summary,
  .initial-progress-stats,
  .due-status-grid,
  .due-module-status-grid,
  .due-progress-stats,
  .due-module-grid,
  .due-todo-grid,
  .due-quick-actions {
    grid-template-columns: 1fr;
  }

  .asset-entry-actions {
    display: grid;
    padding: 14px 16px;
  }

  .asset-entry-actions button {
    width: 100%;
  }

  .project-page-head,
  .project-create-actions,
  .recent-project-item {
    display: grid;
  }

  .project-create-body,
  .project-create-steps,
  .project-create-actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .valuation-hero-actions,
  .valuation-recovery-table > div,
  .project-review-actions {
    display: grid;
  }

  .project-review-form .span-2,
  .project-review-form button {
    grid-column: auto;
  }
}

@media (min-width: 561px) and (max-width: 620px) {
  .public-discovery-shell {
    justify-items: center;
    gap: 12px;
    overflow-x: hidden;
    padding: 10px 10px calc(190px + env(safe-area-inset-bottom));
  }

  .public-discovery-hero,
  .public-discovery-controls,
  .public-discovery-list,
  .public-discovery-subscribe {
    width: min(430px, 100%);
  }

  .public-discovery-hero {
    min-height: 208px;
    padding: 18px 16px 22px;
  }

  .public-discovery-brand {
    max-width: 260px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .public-discovery-brand img {
    width: 26px;
    height: 26px;
  }

  .public-discovery-hero h1 {
    max-width: 260px;
    margin-bottom: 9px;
    font-size: 34px;
  }

  .public-discovery-hero p {
    max-width: 292px;
    font-size: 15px;
    line-height: 1.55;
  }

  .public-discovery-hero-visual {
    right: -18px;
    bottom: auto;
    top: 10px;
    width: 270px;
    min-height: 0;
    opacity: 0.74;
  }

  .public-discovery-controls {
    gap: 10px;
  }

  .public-discovery-search {
    width: 100%;
    min-width: 0;
  }

  .public-discovery-search input {
    min-height: 56px;
    border-radius: 8px;
    font-size: 16px;
  }

  .public-discovery-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    overflow: visible;
    margin-inline: 0;
    padding: 2px 1px 6px;
  }

  .public-discovery-categories button {
    width: 100%;
    min-width: auto;
    min-height: 44px;
    padding: 0 6px;
    white-space: nowrap;
    font-size: 14px;
  }

  .public-discovery-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
    overflow: visible;
    padding: 1px 1px 6px;
    scrollbar-width: none;
  }

  .public-discovery-filter-grid::-webkit-scrollbar {
    display: none;
  }

  .public-discovery-filter-grid label {
    min-width: 0;
    min-height: 42px;
  }

  .public-discovery-filter-grid select {
    min-height: 42px;
    padding: 0 12px;
    color: transparent;
  }

  .public-discovery-filter-grid select option {
    color: var(--text);
  }

  .public-discovery-filter-grid label > span {
    left: 8px;
    max-width: calc(100% - 12px);
    gap: 4px;
    font-size: 12px;
  }

  .public-discovery-filter-grid i {
    width: 14px;
    height: 14px;
    font-size: 13px;
  }

  .public-discovery-filter-chip::after {
    display: none;
  }

  .public-discovery-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 11px;
    padding: 11px;
  }

  .public-discovery-card-media {
    aspect-ratio: 1 / 1.08;
  }

  .public-discovery-type-badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .public-discovery-card-body {
    gap: 7px;
  }

  .public-discovery-card-head {
    display: grid;
    gap: 5px;
  }

  .public-discovery-card-head small {
    display: none;
  }

  .public-discovery-card .public-tag-row {
    gap: 5px;
    max-width: 100%;
  }

  .public-discovery-card .public-tag-row span {
    padding: 4px 6px;
    font-size: 11px;
  }

  .public-discovery-card h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
  }

  .public-discovery-card p {
    display: none;
    font-size: 13px;
  }

  .public-discovery-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 2px 0;
  }

  .public-discovery-metrics div {
    padding: 3px 6px 3px 0;
    margin-right: 6px;
  }

  .public-discovery-metrics span {
    font-size: 10px;
  }

  .public-discovery-metrics strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
  }

  .public-discovery-card-actions {
    justify-content: stretch;
  }

  .public-discovery-card .primary-btn {
    min-width: 0;
    min-height: 34px;
    padding: 0 10px;
  }

  .public-discovery-subscribe {
    padding: 14px;
  }

  .public-discovery-subscription-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .public-discovery-subscription-form label:nth-of-type(n + 3),
  .public-discovery-subscription-form .inline-fields,
  .public-discovery-subscription-form .checkbox-line,
  .public-discovery-subscription-form button {
    grid-column: 1 / -1;
  }

  .public-discovery-subscription-form input {
    min-height: 46px;
  }

  .public-discovery-sticky {
    right: auto;
    left: 50%;
    width: min(410px, calc(100vw - 20px));
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    padding: 8px;
    transform: translateX(-50%);
  }

  .public-discovery-sticky a {
    min-height: 50px;
    padding: 6px 8px;
  }

  .public-discovery-sticky .primary-btn strong {
    font-size: 17px;
  }

  .public-discovery-sticky .primary-btn span {
    font-size: 11px;
  }

  .public-discovery-sticky .secondary-btn {
    font-size: 13px;
    font-weight: 900;
  }

  .public-discovery-section-title {
    display: grid;
  }

  .public-bottom-tabs {
    right: auto;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(410px, calc(100vw - 20px));
    padding: 5px 8px;
    transform: translateX(-50%);
  }

  .public-bottom-tabs button {
    min-height: 48px;
  }
}

.public-promotion-shell {
  --detail-accent: var(--primary);
  --detail-soft: #edf8f4;
  --detail-soft-border: rgba(18, 106, 91, 0.16);
  min-height: 100vh;
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  overflow-x: hidden;
  padding: 0 10px calc(142px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, #fbfefe 0%, #f6faf8 42%, #eff5f3 100%),
    #f6f9f8;
}

.public-promotion-shell.public-detail-property {
  --detail-accent: #167f68;
  --detail-soft: #edf8f4;
  --detail-soft-border: rgba(22, 127, 104, 0.16);
}

.public-promotion-shell.public-detail-auction {
  --detail-accent: #e66722;
  --detail-soft: #fff3e9;
  --detail-soft-border: rgba(230, 103, 34, 0.2);
}

.public-promotion-shell.public-detail-debt {
  --detail-accent: #138c72;
  --detail-soft: #e9f8f2;
  --detail-soft-border: rgba(19, 140, 114, 0.18);
}

.public-detail-topbar,
.public-detail-gallery,
.public-detail-title-card,
.public-detail-metric-strip,
.public-detail-section,
.public-promotion-bottom,
.public-promotion-empty {
  width: min(430px, 100%);
  min-width: 0;
  margin-inline: auto;
}

.public-detail-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 8px 0;
  background: color-mix(in srgb, #fbfefe 88%, transparent);
  backdrop-filter: blur(12px);
}

.public-detail-topbar strong {
  justify-self: center;
  color: #172522;
  font-size: 20px;
}

.public-detail-back,
.public-detail-top-actions button,
.public-detail-title-row > button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #263b37;
  text-decoration: none;
}

.public-detail-back {
  width: 42px;
  height: 42px;
  font-size: 42px;
  line-height: 1;
}

.public-detail-top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.public-detail-top-actions button {
  min-height: 34px;
  padding: 0 2px;
  color: #3d4d49;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.public-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 8px;
}

.public-detail-gallery-empty {
  grid-template-columns: 1fr;
}

.public-detail-main-image,
.public-detail-thumb-column {
  min-width: 0;
}

.public-detail-main-image {
  position: relative;
  overflow: hidden;
  min-height: 208px;
  border-radius: 8px;
  background: var(--detail-soft);
}

.public-detail-main-image img,
.public-detail-thumb-column img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #eef2f2;
}

.public-detail-thumb-column {
  display: grid;
  gap: 8px;
}

.public-detail-thumb-column img {
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.public-detail-image-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(18, 22, 21, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.public-detail-image-placeholder {
  display: grid;
  gap: 8px;
  place-items: center;
  align-content: center;
  min-height: 196px;
  padding: 18px;
  color: color-mix(in srgb, var(--detail-accent) 70%, #53625f);
  text-align: center;
}

.public-detail-image-placeholder span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--detail-soft-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.public-detail-image-placeholder strong,
.public-detail-image-placeholder small {
  display: block;
}

.public-detail-title-card,
.public-detail-metric-strip,
.public-detail-section,
.public-promotion-bottom {
  border: 1px solid rgba(20, 45, 39, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 40, 37, 0.07);
}

.public-detail-title-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-color: transparent;
  box-shadow: none;
}

.public-detail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: start;
}

.public-detail-type-pill {
  display: inline-grid;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--detail-soft);
  color: var(--detail-accent);
  font-size: 13px;
  font-weight: 900;
}

.public-detail-title-card h1 {
  margin: 8px 0 0;
  color: #172522;
  font-size: 24px;
  line-height: 1.25;
}

.public-detail-title-row > button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(20, 45, 39, 0.12);
  border-radius: 50%;
  color: #6a7774;
  font-size: 25px;
}

.public-detail-tags {
  margin-top: 0;
}

.public-detail-tags span {
  border-color: var(--detail-soft-border);
  background: var(--detail-soft);
  color: var(--detail-accent);
}

.public-detail-metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  padding: 12px 0;
}

.public-detail-metric-strip div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 0 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.public-detail-metric-strip div:last-child {
  border-right: 0;
}

.public-detail-metric-strip span,
.public-detail-basic-grid span,
.public-detail-field-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-detail-metric-strip strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #15221f;
  font-size: 18px;
  line-height: 1.25;
}

.public-detail-metric-strip strong.accent {
  color: var(--detail-accent);
}

.public-detail-section {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.public-detail-section p {
  margin: 0;
  color: #31413d;
  font-size: 15px;
  line-height: 1.75;
}

.public-detail-section-title {
  display: grid;
  gap: 2px;
}

.public-detail-section-title h2 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: #13231f;
  font-size: 20px;
  line-height: 1.25;
}

.public-detail-section-title h2 span {
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: var(--detail-accent);
}

.public-detail-section-title small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-detail-basic-grid,
.public-detail-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.public-detail-basic-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  text-align: center;
}

.public-detail-basic-grid i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-inline: auto;
  color: var(--detail-accent);
  font-style: normal;
  font-size: 18px;
}

.public-detail-basic-grid strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #172522;
  font-size: 14px;
  line-height: 1.3;
}

.public-detail-highlight-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 6px 8px;
  border: 1px solid var(--detail-soft-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--detail-soft) 82%, #ffffff);
  color: var(--detail-accent);
  font-weight: 900;
  text-align: center;
}

.public-detail-typed-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.public-detail-typed-card > img,
.public-detail-typed-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  background: var(--detail-soft);
}

.public-detail-typed-placeholder {
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.public-detail-typed-card h3 {
  margin: 0 0 10px;
  color: #172522;
  font-size: 17px;
  line-height: 1.35;
}

.public-detail-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.public-detail-field-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.public-detail-field-grid div:nth-child(2n) {
  border-right: 0;
}

.public-detail-field-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.public-detail-field-grid strong {
  overflow-wrap: anywhere;
  color: #172522;
  font-size: 14px;
  line-height: 1.35;
}

.public-auction-summary {
  border-color: color-mix(in srgb, var(--detail-accent) 18%, rgba(20, 45, 39, 0.08));
}

.public-auction-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--detail-soft-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--detail-soft) 64%, #ffffff);
}

.public-auction-head div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.public-auction-head span,
.public-auction-head small,
.public-auction-field-grid span,
.public-auction-price-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.public-auction-head strong {
  overflow-wrap: anywhere;
  color: #172522;
  font-size: 17px;
  line-height: 1.35;
}

.public-auction-head b {
  display: inline-grid;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--detail-accent);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.public-auction-chip-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.public-auction-chip-row::-webkit-scrollbar {
  display: none;
}

.public-auction-chip-row span {
  flex: 0 0 auto;
  max-width: 180px;
  overflow: hidden;
  padding: 6px 9px;
  border: 1px solid var(--detail-soft-border);
  border-radius: 999px;
  background: #fff;
  color: var(--detail-accent);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-auction-price-grid,
.public-auction-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-auction-price-grid div,
.public-auction-field-grid div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.public-auction-price-grid strong {
  overflow-wrap: anywhere;
  color: var(--detail-accent);
  font-size: 18px;
  line-height: 1.25;
}

.public-auction-field-grid strong {
  overflow-wrap: anywhere;
  color: #172522;
  font-size: 14px;
  line-height: 1.35;
}

.public-auction-disclaimer {
  padding: 10px 12px;
  border: 1px solid rgba(217, 145, 62, 0.18);
  border-radius: 8px;
  background: #fffaf3;
  color: #5b4530 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.public-auction-actions {
  display: flex;
  justify-content: flex-end;
}

.public-auction-actions a {
  display: inline-grid;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--detail-accent);
  border-radius: 8px;
  color: var(--detail-accent);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.public-detail-report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.public-detail-report-grid a,
.public-detail-material-row {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--detail-soft-border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--detail-soft) 52%, #ffffff);
  color: #172522;
  text-decoration: none;
}

.public-detail-report-grid a {
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
}

.public-detail-report-grid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--detail-accent);
  color: #fff;
  font-style: normal;
  font-weight: 900;
}

.public-detail-report-grid strong,
.public-detail-material-row strong {
  display: block;
  color: #172522;
  font-size: 15px;
}

.public-detail-report-grid small,
.public-detail-material-row small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  line-height: 1.45;
}

.public-detail-report-grid em {
  grid-column: 1 / -1;
  justify-self: end;
  color: var(--detail-accent);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.public-detail-material-row {
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  align-items: center;
  background: #fff;
}

.public-detail-material-row > span {
  color: var(--detail-accent);
  font-size: 22px;
}

.public-detail-material-row b {
  color: var(--primary-dark);
  font-size: 22px;
}

.public-detail-form-section .public-lead-form {
  padding: 0;
}

.public-detail-form-section .public-subscription-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.public-detail-bottom-cta {
  position: fixed;
  right: auto;
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(116px, 0.82fr) minmax(0, 1.4fr);
  gap: 8px;
  width: min(430px, calc(100vw - 20px));
  padding: 8px;
  border: 1px solid rgba(20, 45, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(24, 40, 37, 0.14);
  transform: translateX(-50%);
}

.public-detail-bottom-cta a {
  display: grid;
  place-items: center;
  min-height: 54px;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
}

.public-detail-bottom-cta .secondary-btn {
  border: 1px solid var(--detail-accent);
  background: #fff;
  color: var(--detail-accent);
  font-weight: 900;
}

.public-detail-bottom-cta .primary-btn {
  border: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--detail-accent) 86%, #20c997), var(--detail-accent));
  color: #fff;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--detail-accent) 24%, transparent);
}

.public-detail-bottom-cta strong {
  font-size: 17px;
}

.public-detail-bottom-cta span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.88;
}

@media (max-width: 390px) {
  .public-promotion-shell {
    padding-inline: 8px;
    padding-bottom: calc(150px + env(safe-area-inset-bottom));
  }

  .public-detail-topbar {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .public-detail-top-actions button {
    font-size: 13px;
  }

  .public-detail-gallery {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .public-detail-main-image {
    min-height: 192px;
  }

  .public-detail-title-card h1 {
    font-size: 22px;
  }

  .public-detail-metric-strip strong {
    font-size: 16px;
  }

  .public-detail-basic-grid,
  .public-detail-highlight-grid {
    gap: 7px;
  }

  .public-detail-basic-grid div {
    padding: 9px 4px;
  }

  .public-detail-basic-grid strong {
    font-size: 13px;
  }

  .public-detail-typed-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
  }

  .public-detail-field-grid strong {
    font-size: 13px;
  }

  .public-detail-bottom-cta {
    grid-template-columns: minmax(96px, 0.72fr) minmax(0, 1.28fr);
    width: min(414px, calc(100vw - 16px));
  }

  .public-detail-bottom-cta span {
    font-size: 10px;
  }
}

.co-sale-property-page {
  display: grid;
  gap: 16px;
}

.co-sale-property-boundary {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(36, 102, 92, 0.18);
  border-radius: 8px;
  background: #f5fbf9;
  color: #163630;
}

.co-sale-property-boundary strong {
  font-size: 14px;
}

.co-sale-property-boundary p {
  margin: 0;
  color: #42605a;
  line-height: 1.65;
}

.co-sale-property-page .admin-page-head p {
  margin: 0;
  line-height: 1.65;
}

.co-sale-property-layout {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(360px, 0.78fr);
  gap: 16px;
  align-items: start;
}

.co-sale-property-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.platform-co-sale-property-layout {
  grid-template-columns: minmax(460px, 1.15fr) minmax(360px, 0.85fr);
}

.platform-co-sale-property-layout.co-sale-property-layout-single {
  grid-template-columns: minmax(0, 1fr);
}

.co-sale-property-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1120px);
  gap: 16px;
  width: 100%;
  max-width: 1120px;
}

.co-sale-property-form {
  display: grid;
  gap: 18px;
  width: 100%;
}

.co-sale-property-draft-state {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(46, 125, 98, 0.24);
  border-radius: 8px;
  background: #f3faf7;
}

.co-sale-property-draft-state > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.co-sale-property-draft-state button {
  white-space: nowrap;
}

.co-sale-property-draft-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  margin-left: auto;
  min-width: max-content;
}

.co-sale-property-draft-state > .co-sale-property-draft-actions {
  display: flex;
  min-width: max-content;
}

.co-sale-property-draft-actions button {
  min-height: 36px;
  min-width: 86px;
}

.co-sale-property-draft-state.is-pending {
  border-color: rgba(180, 111, 24, 0.22);
  background: #fff9ef;
}

.co-sale-property-draft-state span,
.co-sale-property-draft-state small {
  color: var(--muted);
}

.co-sale-property-draft-state strong {
  color: #174f42;
  font-size: 16px;
}

.co-sale-property-form-panel,
.co-sale-property-detail-panel {
  min-width: 0;
}

.co-sale-property-form-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.co-sale-property-form-panel-title {
  margin-bottom: 10px;
  padding: 0 2px;
}

.co-sale-property-form-panel-title strong {
  font-size: 15px;
  color: #1d3732;
}

.co-sale-property-form-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(138, 165, 158, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(21, 70, 60, 0.05);
}

.co-sale-property-form-section .form-section-title {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(138, 165, 158, 0.18);
}

.co-sale-property-form-section .form-section-title strong {
  font-size: 16px;
}

.co-sale-property-section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
}

.co-sale-property-section-grid .wide-field,
.co-sale-location-grid,
.co-sale-property-upload-area {
  grid-column: 1 / -1;
}

.co-sale-property-section-grid label {
  min-width: 0;
}

.co-sale-property-section-grid textarea {
  min-height: 84px;
}

.co-sale-location-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
  min-width: 0;
}

.co-sale-location-grid label {
  min-width: 0;
}

.co-sale-location-source {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.45;
}

.co-sale-property-field-groups {
  display: grid;
  gap: 14px;
}

.co-sale-property-field-group {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(138, 165, 158, 0.18);
  border-radius: 8px;
  background: #fbfdfd;
}

.co-sale-property-field-group h3 {
  margin: 0;
  color: #193b35;
  font-size: 14px;
  line-height: 1.35;
}

.co-sale-property-field-group > p {
  margin: -4px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.co-sale-property-list-panel {
  min-width: 0;
}

.co-sale-property-detail-panel {
  grid-column: auto;
}

.platform-co-sale-property-layout .co-sale-property-detail-panel {
  grid-column: auto;
}

.co-sale-property-upload-required {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 111, 24, 0.2);
  border-radius: 8px;
  background: #fff9ef;
  color: #5f3b0c;
}

.co-sale-property-upload-required p {
  margin: 0;
  color: #7a5b2c;
  line-height: 1.6;
}

.co-sale-property-upload-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(143, 205, 187, 0.28);
  border-radius: 8px;
  background: #fff;
}

.co-sale-property-upload-area {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(143, 205, 187, 0.22);
  border-radius: 8px;
  background: #f8fcfb;
}

.co-sale-property-upload-area .form-section-title.compact {
  margin: 0;
  padding: 0 0 8px;
}

.co-sale-property-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.co-sale-property-upload-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.co-sale-property-upload-card-head span {
  color: var(--muted);
  font-size: 12px;
}

.co-sale-property-upload-dropzone {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed #bad7cf;
  border-radius: 8px;
  background: #f8fcfb;
}

.co-sale-property-upload-dropzone button,
.co-sale-property-upload-dropzone .co-sale-property-file-button {
  width: fit-content;
}

.co-sale-property-file-button input {
  display: none;
}

.co-sale-property-upload-dropzone small,
.co-sale-property-upload-list small,
.co-sale-property-vr-note {
  color: var(--muted);
  line-height: 1.5;
}

.co-sale-property-upload-list {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-upload-list span {
  color: var(--muted);
  font-size: 12px;
}

.co-sale-property-vr-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.co-sale-property-vr-form .wide-field,
.co-sale-property-broker-inline-row input,
.co-sale-property-broker-inline-row select {
  min-width: 0;
}

.co-sale-property-upload-result-list {
  display: grid;
  gap: 8px;
}

.co-sale-property-upload-result {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-upload-result img,
.co-sale-property-upload-thumb,
.co-sale-property-upload-thumb-placeholder {
  width: 72px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  background: #e7f0ee;
}

.co-sale-property-upload-thumb {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: zoom-in;
}

.co-sale-property-upload-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.co-sale-property-upload-thumb-placeholder {
  display: grid;
  place-items: center;
  color: #16675a;
  font-weight: 800;
}

.co-sale-property-upload-thumb-placeholder.is-action {
  padding: 4px;
  border: 0;
  color: #245f55;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.co-sale-property-upload-thumb-placeholder.is-action:disabled {
  cursor: wait;
  opacity: 0.82;
}

.co-sale-property-upload-result div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.co-sale-property-upload-result button {
  white-space: nowrap;
}

.co-sale-property-upload-result .co-sale-property-upload-thumb-placeholder.is-action {
  white-space: normal;
}

.co-sale-property-upload-result strong,
.co-sale-property-upload-result span,
.co-sale-property-upload-result small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-sale-property-upload-result span,
.co-sale-property-upload-result small {
  color: var(--muted);
}

.co-sale-property-form-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f5f7fb;
  color: #465466;
  line-height: 1.55;
}

.co-sale-property-static-field {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 11px 12px;
  border: 1px solid rgba(102, 141, 132, 0.2);
  border-radius: 8px;
  background: #f6faf9;
}

.co-sale-property-static-field span,
.co-sale-property-static-field small {
  color: var(--muted);
}

.co-sale-property-static-field strong {
  color: #16675a;
}

.co-sale-property-toggle-line {
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(102, 141, 132, 0.2);
  border-radius: 8px;
  background: #fbfdfd;
}

.co-sale-property-promotion-compact {
  display: grid;
  gap: 10px;
}

.co-sale-property-promotion-default {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 1px solid rgba(102, 141, 132, 0.18);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-promotion-default strong {
  color: #1d3732;
}

.co-sale-property-promotion-default small,
.co-sale-property-light-note {
  color: var(--muted);
}

.co-sale-property-reward-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(180px, 0.4fr);
  gap: 10px;
  align-items: end;
}

.co-sale-property-reward-row.is-simple {
  grid-template-columns: minmax(220px, 360px);
}

.co-sale-property-reward-row .co-sale-property-toggle-line {
  min-height: 46px;
  padding: 8px 10px;
}

.co-sale-property-light-note,
.co-sale-property-fixed-note {
  line-height: 1.5;
}

.co-sale-property-fixed-note {
  padding: 8px 10px;
  border: 1px solid rgba(102, 141, 132, 0.18);
  border-radius: 8px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: 13px;
}

.co-sale-property-broker-picker {
  display: grid;
  gap: 10px;
  min-height: 236px;
  align-content: start;
  padding: 12px;
  border: 1px solid rgba(102, 141, 132, 0.22);
  border-radius: 8px;
  background: #f8fcfb;
}

.co-sale-property-broker-picker-head {
  display: grid;
  gap: 4px;
}

.co-sale-property-broker-picker-head span,
.co-sale-property-broker-picker-head small {
  color: var(--muted);
}

.co-sale-property-broker-picker-head strong {
  color: #16675a;
}

.co-sale-property-broker-inline-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) auto minmax(280px, 1fr);
  gap: 10px;
  align-items: end;
}

.co-sale-property-broker-inline-row label {
  min-width: 0;
}

.co-sale-property-broker-inline-row button {
  min-height: 42px;
  white-space: nowrap;
}

.co-sale-property-broker-search-btn {
  width: 76px;
  min-width: 76px;
  line-height: 1.2;
}

.co-sale-property-broker-message {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.co-sale-property-selected-broker {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(46, 125, 98, 0.24);
  border-radius: 8px;
  background: #f3faf7;
}

.co-sale-property-selected-broker span,
.co-sale-property-selected-broker small {
  color: var(--muted);
}

.co-sale-property-selected-broker strong {
  color: #174f42;
}

.co-sale-property-broker-diagnostics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
  align-content: start;
}

.co-sale-property-broker-diagnostics span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6f4;
  color: #28534a;
  font-size: 12px;
}

.co-sale-property-broker-diagnostics.is-empty span {
  visibility: hidden;
}

.co-sale-property-advanced-field {
  margin: 0;
  min-height: 24px;
}

.co-sale-property-empty-action {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px;
  border: 1px dashed rgba(102, 141, 132, 0.28);
  border-radius: 8px;
  background: #fbfdfd;
}

.co-sale-property-empty-action strong {
  color: #1d3732;
  font-size: 16px;
}

.co-sale-property-empty-action p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.co-sale-property-status-tags {
  display: flex;
  gap: 8px;
  margin: 4px 0 12px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: thin;
  white-space: nowrap;
}

.co-sale-property-status-tag {
  display: inline-flex;
  flex: 1 0 max-content;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: max-content;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(102, 141, 132, 0.28);
  border-radius: 8px;
  background: #fff;
  color: #334b46;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.co-sale-property-status-tag:hover {
  border-color: rgba(22, 103, 90, 0.42);
  background: #f6fbfa;
}

.co-sale-property-status-tag.active {
  border-color: rgba(22, 103, 90, 0.76);
  background: #e9f7f3;
  color: #14584d;
}

.co-sale-property-status-tag strong {
  font-size: 13px;
}

.co-sale-property-status-tag span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.co-sale-property-status-tag.active span {
  color: #14584d;
}

.co-sale-property-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.co-sale-property-preview-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.62);
}

.co-sale-property-preview-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.32);
}

.co-sale-property-preview-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.co-sale-property-preview-head strong {
  min-width: 0;
  overflow: hidden;
  color: #1d3732;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-sale-property-preview-dialog img {
  width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: 6px;
  object-fit: contain;
  background: #f3f6f5;
}

@media (max-width: 1180px) {
  .co-sale-property-layout {
    grid-template-columns: 1fr;
  }

  .co-sale-property-section-grid,
  .co-sale-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .co-sale-property-draft-state {
    align-items: flex-start;
    flex-direction: column;
  }

  .co-sale-property-draft-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
    min-width: 0;
    width: 100%;
  }

  .co-sale-property-draft-state > .co-sale-property-draft-actions {
    min-width: 0;
  }

  .co-sale-property-section-grid,
  .co-sale-location-grid,
  .co-sale-property-upload-grid,
  .co-sale-property-vr-form,
  .co-sale-property-broker-inline-row,
  .co-sale-property-reward-row {
    grid-template-columns: 1fr;
  }

  .co-sale-property-upload-result {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .co-sale-property-upload-result button {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

.co-sale-property-filter-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(220px, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.co-sale-property-filter-row.is-search-only {
  grid-template-columns: minmax(220px, 520px);
}

.co-sale-property-search-field {
  min-width: 0;
}

.co-sale-property-lead-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

.co-sale-property-lead-filter-row label {
  min-width: 0;
}

.co-sale-property-lead-search-btn {
  min-height: 42px;
  padding: 0 14px;
  white-space: nowrap;
}

.co-sale-property-analytics-summary {
  grid-template-columns: repeat(5, minmax(116px, 1fr));
  margin-bottom: 12px;
}

.co-sale-property-analytics-summary > div {
  min-height: 76px;
  align-content: center;
}

.co-sale-property-analytics-summary span {
  color: #2f4f4a;
  font-weight: 800;
}

.co-sale-property-analytics-summary strong {
  font-size: 24px;
}

.co-sale-property-analytics-filter-row {
  grid-template-columns: repeat(5, minmax(128px, 1fr)) auto;
}

.co-sale-property-trend-panel {
  margin-bottom: 12px;
}

.co-sale-property-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.co-sale-property-trend-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #365650;
  font-size: 12px;
  font-weight: 700;
}

.co-sale-property-trend-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.co-sale-property-trend-chart {
  --trend-plot-height: 220px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  height: 284px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.co-sale-property-trend-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--trend-plot-height);
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.co-sale-property-trend-plot {
  position: relative;
  display: grid;
  grid-template-rows: var(--trend-plot-height) 36px;
  min-width: calc(var(--trend-count) * 22px);
  height: 100%;
}

.co-sale-property-trend-grid {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--trend-plot-height);
  pointer-events: none;
}

.co-sale-property-trend-grid i {
  display: block;
  border-top: 1px dashed #e2ebe8;
}

.co-sale-property-trend-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-row: 1 / 3;
  grid-template-columns: repeat(var(--trend-count), minmax(12px, 1fr));
  gap: 4px;
  height: 100%;
}

.co-sale-property-trend-column {
  display: grid;
  grid-template-rows: var(--trend-plot-height) 28px;
  align-items: end;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: help;
}

.co-sale-property-trend-stack {
  display: flex;
  flex-direction: column-reverse;
  justify-self: center;
  width: min(18px, 100%);
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: transparent;
}

.co-sale-property-trend-stack i {
  display: block;
  min-height: 2px;
}

.co-sale-property-trend-column small {
  justify-self: center;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.co-sale-property-trend-column:hover .co-sale-property-trend-stack,
.co-sale-property-trend-column:focus-visible .co-sale-property-trend-stack {
  outline: 2px solid rgba(47, 124, 111, 0.24);
  outline-offset: 2px;
}

.co-sale-property-trend-empty {
  position: absolute;
  top: 84px;
  left: 50%;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-size: 12px;
  transform: translateX(-50%);
}

.co-sale-property-trend-legend .trend-view i,
.co-sale-property-trend-stack .trend-view {
  background: #2f7c6f;
}

.co-sale-property-trend-legend .trend-share i,
.co-sale-property-trend-stack .trend-share {
  background: #4c78a8;
}

.co-sale-property-trend-legend .trend-consult i,
.co-sale-property-trend-stack .trend-consult {
  background: #e4a72f;
}

.co-sale-property-trend-legend .trend-message i,
.co-sale-property-trend-stack .trend-message {
  background: #d45d79;
}

.co-sale-property-trend-legend .trend-visit i,
.co-sale-property-trend-stack .trend-visit {
  background: #7d68b3;
}

.co-sale-property-trend-legend .trend-contact i,
.co-sale-property-trend-stack .trend-contact {
  background: #6f8d3d;
}

.co-sale-property-table-wrap table {
  min-width: 980px;
}

.co-sale-property-table-wrap .co-sale-property-analytics-table {
  min-width: 1320px;
}

.co-sale-property-analytics-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.co-sale-property-lead-table-wrap table {
  min-width: 1120px;
}

.co-sale-property-status-cell,
.co-sale-property-time-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.co-sale-property-status-cell small,
.co-sale-property-time-cell span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.co-sale-property-status-cell small {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-sale-property-time-cell span {
  white-space: nowrap;
}

.co-sale-property-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.co-sale-property-row-actions button {
  min-height: 30px;
  padding: 0 9px;
  white-space: nowrap;
}

.co-sale-property-lead-contact {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.co-sale-property-lead-contact small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.co-sale-status {
  display: inline-grid;
  min-height: 28px;
  align-items: center;
  justify-self: start;
  padding: 0 10px;
  border-radius: 8px;
  background: #eef2f4;
  color: #39464d;
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-drawer {
  position: fixed;
  inset: 0;
  z-index: 1150;
  pointer-events: none;
}

.co-sale-property-drawer-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.36);
  pointer-events: auto;
}

.co-sale-property-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(720px, calc(100vw - 56px));
  background: #f7faf9;
  box-shadow: -18px 0 48px rgba(15, 23, 42, 0.22);
  pointer-events: auto;
}

.co-sale-property-drawer-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.co-sale-property-drawer-head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.co-sale-property-drawer-head > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.co-sale-property-drawer-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-drawer-head h2 {
  margin: 0;
  overflow: hidden;
  color: #183b35;
  font-size: 18px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-sale-property-drawer-body {
  min-height: 0;
  overflow: auto;
  padding: 16px;
}

.co-sale-property-analytics-drawer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.co-sale-property-analytics-drawer-meta > div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.co-sale-property-analytics-drawer-meta span {
  color: var(--muted);
  font-size: 12px;
}

.co-sale-property-analytics-drawer-meta strong {
  min-width: 0;
  overflow: hidden;
  color: #183b35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.co-sale-property-analytics-drawer-table {
  margin-bottom: 12px;
}

.co-sale-property-analytics-drawer-table table {
  min-width: 0;
}

.co-sale-property-drawer-review-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
}

.co-sale-property-drawer-review-actions button {
  min-height: 32px;
  padding: 0 12px;
}

.co-sale-property-drawer-action-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.co-sale-status.status-success {
  background: #e8f7ef;
  color: #1d7a45;
}

.co-sale-status.status-review,
.co-sale-status.status-info {
  background: #eaf3ff;
  color: #215f9f;
}

.co-sale-status.status-danger {
  background: #fff0ed;
  color: #b6432d;
}

.co-sale-status.status-archived {
  background: #f1f1f1;
  color: #687076;
}

.co-sale-property-detail {
  display: grid;
  gap: 14px;
}

.co-sale-property-media-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.co-sale-property-media-item,
.co-sale-property-media-empty {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.co-sale-property-media-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
}

.co-sale-property-vr-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.co-sale-property-vr-card:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.co-sale-property-media-item img,
.co-sale-property-media-preview-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #eef2f4;
}

.co-sale-property-media-item img {
  object-fit: cover;
}

.co-sale-property-media-preview-placeholder {
  display: grid;
  place-items: center;
  border: 0;
  color: #245f55;
  font-weight: 800;
  cursor: pointer;
}

.co-sale-property-media-preview-placeholder:disabled {
  cursor: wait;
  opacity: 0.82;
}

.co-sale-property-media-item span,
.co-sale-property-media-item small {
  overflow-wrap: anywhere;
}

.co-sale-property-detail-section {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.co-sale-property-detail-section h3 {
  margin: 0;
  font-size: 15px;
}

.co-sale-property-detail-section p {
  margin: 0;
  color: #3e4f49;
  line-height: 1.6;
  white-space: pre-wrap;
}

.co-sale-property-review-records {
  display: grid;
  gap: 10px;
}

.co-sale-property-review-record {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(102, 141, 132, 0.18);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-review-record > div:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.co-sale-property-review-record strong {
  color: #183b35;
}

.co-sale-property-review-record span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-review-record dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.co-sale-property-review-record dl div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.co-sale-property-review-record dt {
  color: var(--muted);
  font-size: 12px;
}

.co-sale-property-review-record dd {
  margin: 0;
  color: #263f39;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.co-sale-property-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.co-sale-property-drawer-actions button {
  min-height: 34px;
}

.co-sale-property-lead-detail {
  gap: 12px;
}

.co-sale-property-lead-drawer-head {
  align-items: flex-start;
}

.co-sale-property-lead-drawer-head > .co-sale-property-lead-drawer-title {
  gap: 8px;
}

.co-sale-property-lead-drawer-head > button {
  flex: 0 0 auto;
}

.co-sale-property-lead-drawer-badges,
.co-sale-property-lead-customer-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.co-sale-property-lead-drawer-badges > span:not(.co-sale-status),
.co-sale-property-lead-customer-summary span {
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #f2f6f5;
  color: #34544c;
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-lead-customer-summary span {
  background: #fff;
  color: #52615c;
}

.co-sale-property-lead-section {
  gap: 12px;
}

.co-sale-property-lead-section-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.co-sale-property-lead-section-head > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-lead-priority-grid,
.co-sale-property-lead-handle-meta,
.co-sale-property-lead-lock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.co-sale-property-lead-priority-grid div,
.co-sale-property-lead-handle-meta div,
.co-sale-property-lead-lock-grid div,
.co-sale-property-lead-property-meta div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(102, 141, 132, 0.18);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-lead-priority-grid span,
.co-sale-property-lead-handle-meta span,
.co-sale-property-lead-lock-grid span,
.co-sale-property-lead-property-meta span,
.co-sale-property-lead-message-card span,
.co-sale-property-lead-note-label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-lead-priority-grid strong,
.co-sale-property-lead-handle-meta strong,
.co-sale-property-lead-lock-grid strong,
.co-sale-property-lead-property-meta strong {
  color: #1d3732;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.co-sale-property-lead-message-card,
.co-sale-property-lead-property-card,
.co-sale-property-lead-note-label {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(46, 125, 98, 0.2);
  border-radius: 8px;
  background: #f8fcfb;
}

.co-sale-property-lead-message-card p {
  margin: 0;
  min-height: 54px;
  color: #253f39;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.co-sale-property-lead-property-card > strong {
  color: #183b35;
  font-size: 16px;
  line-height: 1.35;
}

.co-sale-property-lead-property-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-lead-property-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.co-sale-property-lead-note-section textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
}

.co-sale-property-lead-lock-error {
  padding: 9px 10px;
  border: 1px solid rgba(176, 69, 69, 0.24);
  border-radius: 8px;
  background: #fff7f6;
  color: #8a2f2b;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.co-sale-property-lead-lock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.co-sale-property-lead-lock-actions button {
  min-height: 34px;
}

.co-sale-property-lead-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.co-sale-property-lead-drawer-actions button {
  min-height: 34px;
}

.co-sale-property-lock-toggle {
  justify-content: flex-start;
  padding: 9px 10px;
}

.co-sale-property-lock-binding-collapsed,
.co-sale-property-lock-binding-state {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(102, 141, 132, 0.18);
  border-radius: 8px;
  background: #fbfcfc;
}

.co-sale-property-lock-binding-collapsed {
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px 12px;
}

.co-sale-property-lock-binding-collapsed span,
.co-sale-property-lock-binding-state span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.co-sale-property-lock-binding-collapsed strong,
.co-sale-property-lock-binding-state strong {
  color: #1d3732;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.co-sale-property-lock-binding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.co-sale-property-lock-binding-actions small {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .co-sale-property-layout,
  .platform-co-sale-property-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-co-sale-property-layout .co-sale-property-detail-panel {
    grid-column: 1;
  }

  .co-sale-property-lead-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .co-sale-property-analytics-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .co-sale-property-analytics-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .co-sale-property-lead-search-btn {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .co-sale-property-drawer-panel {
    width: 100vw;
  }

  .co-sale-property-drawer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .co-sale-property-drawer-head > div:last-child {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .co-sale-property-drawer-head h2 {
    white-space: normal;
  }

  .co-sale-property-review-record dl {
    grid-template-columns: 1fr;
  }

  .co-sale-property-lead-filter-row {
    grid-template-columns: 1fr;
  }

  .co-sale-property-analytics-summary,
  .co-sale-property-analytics-filter-row,
  .co-sale-property-lock-binding-collapsed,
  .co-sale-property-analytics-drawer-meta {
    grid-template-columns: 1fr;
  }

  .co-sale-property-trend-chart {
    grid-template-columns: 38px minmax(560px, 1fr);
  }

  .co-sale-property-lead-priority-grid,
  .co-sale-property-lead-handle-meta,
  .co-sale-property-lead-lock-grid,
  .co-sale-property-lead-property-meta {
    grid-template-columns: 1fr;
  }
}
