:root {
  color-scheme: light;
  --red: #e8201a;
  --red-dark: #b81414;
  --orange: #ff7a1a;
  --gold: #ffd166;
  --teal: #0f9f8f;
  --blue: #2867d8;
  --green: #20a657;
  --ink: #241b1a;
  --muted: #716665;
  --line: #ead6cf;
  --paper: #fff8f3;
  --soft: #fff0e8;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(158, 34, 25, 0.14);
  --bottom-space: 86px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  background: #f6eee9;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}

body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  height: 100dvh;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  background: var(--paper);
  box-shadow: 0 0 40px rgba(57, 28, 20, 0.12);
}

.app-main {
  min-height: 100%;
  padding-bottom: var(--bottom-space);
  touch-action: pan-y;
}

.screen {
  touch-action: pan-y;
  animation: fade-in 180ms ease;
}

@keyframes fade-in {
  from {
    opacity: 0.65;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-top {
  padding: 8px 14px 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 230, 77, 0.62), transparent 20%),
    radial-gradient(circle at 90% 18%, rgba(255, 162, 0, 0.5), transparent 24%),
    linear-gradient(145deg, #fb2519 0%, #d61212 48%, #ff6818 100%);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 2px solid rgba(255, 223, 210, 0.85);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 7px 22px rgba(140, 22, 20, 0.2);
}

.search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px 12px;
  color: var(--ink);
  background: transparent;
  font-weight: 650;
}

.search-row input::placeholder {
  color: #b33731;
}

.search-row button,
.primary-btn {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), #ff3b2d);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(216, 30, 28, 0.24);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 8px;
  border: 1px solid rgba(255, 213, 194, 0.9);
  border-radius: 12px;
  padding: 5px 7px;
  background: #fffdf9;
  box-shadow: 0 8px 24px rgba(128, 30, 24, 0.18);
}

.quick-tile {
  display: grid;
  grid-template-columns: 30px 1fr;
  grid-template-rows: auto auto;
  column-gap: 7px;
  align-items: center;
  min-height: 43px;
  border: 0;
  border-right: 1px solid #ecd6cf;
  padding: 3px 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.quick-tile:last-child {
  border-right: 0;
}

.quick-icon {
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  margin: 0;
  border-radius: 9px;
  color: var(--white);
  background: linear-gradient(145deg, #ff2a18, #ff8f22);
  font-size: 16px;
  box-shadow: 0 7px 14px rgba(232, 32, 26, 0.18);
}

.quick-tile:nth-child(2) .quick-icon {
  background: linear-gradient(145deg, #1d65ff, #50d0ff);
}

.quick-tile:nth-child(3) .quick-icon {
  background: linear-gradient(145deg, #18d832, #a9ff2e);
}

.quick-tile strong {
  display: block;
  font-size: 13px;
  line-height: 1.08;
}

.quick-tile span:last-child {
  display: block;
  margin-top: 4px;
  color: #7f5750;
  font-size: 9px;
  font-weight: 700;
}

.value-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 31px;
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(145, 16, 14, 0.28);
}

.value-strip span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.up-double-mark,
.double-arrow-mark {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 27px;
  margin-left: 7px;
  filter: drop-shadow(0 4px 7px rgba(120, 0, 0, 0.26));
}

.up-double-mark::before,
.up-double-mark::after,
.double-arrow-mark i {
  position: absolute;
  display: block;
  content: "";
  width: 29px;
  height: 18px;
  background: #fff;
  clip-path: polygon(0 46%, 60% 46%, 60% 8%, 100% 50%, 60% 92%, 60% 58%, 0 58%);
  transform: rotate(-21deg);
}

.up-double-mark::before,
.double-arrow-mark i:first-child {
  left: 2px;
  top: 10px;
}

.up-double-mark::after,
.double-arrow-mark i:last-child {
  left: 26px;
  top: 2px;
}

.down-wide-mark {
  display: inline-block;
  width: 42px;
  height: 26px;
  margin-left: 7px;
  background: #fff6a8;
  clip-path: polygon(12% 0, 88% 0, 76% 45%, 100% 45%, 50% 100%, 0 45%, 24% 45%);
  filter: drop-shadow(0 4px 8px rgba(155, 18, 12, 0.28));
}

.case-banner {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  margin-top: 2px;
  border: 3px solid #fff2e9;
  border-radius: 14px;
  background: #2d1512;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.case-banner img {
  position: absolute;
  inset: 0;
  width: 63%;
  height: 100%;
  object-fit: cover;
}

.case-copy {
  position: relative;
  z-index: 1;
  min-height: 132px;
  margin-left: 40%;
  padding: 14px 12px 10px 21px;
  background: linear-gradient(90deg, rgba(255, 248, 243, 0.78), #fff9f2 34%, #fff1e2 100%);
}

.case-copy h1 {
  display: grid;
  gap: 2px;
  margin: 0 0 5px;
  color: #c61919;
  line-height: 1.16;
}

.case-copy h1 span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 21px;
}

.case-copy h1 em {
  border-radius: 5px;
  padding: 3px 6px;
  color: #13853f;
  background: #e9f9ee;
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.case-stat-label {
  color: #174b9d;
  font-size: 11px;
  font-weight: 900;
}

.case-copy h1 strong {
  color: #c61919;
  font-size: 19px;
  line-height: 1.12;
}

.case-stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(82px, 0.55fr);
  gap: 5px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  color: #9c211d;
  background: #ffe7dd;
  font-size: 13px;
  font-weight: 750;
}

.case-stat-row > div {
  display: grid;
  gap: 3px;
  border-radius: 7px;
  padding: 5px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.asset-stat {
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe8ff;
}

.case-stat-main {
  display: grid;
  place-items: center;
  align-items: center;
  min-height: 34px;
}

.case-stat-main strong {
  color: #245dbb;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.case-stat-main b {
  color: #245dbb;
  font-size: 19px;
  line-height: 1;
}

.case-stat-row .project-stat {
  align-content: center;
  justify-items: center;
  color: #245dbb;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe8ff;
}

.case-stat-row .project-stat strong {
  color: #245dbb;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.case-stat-row .project-stat b {
  display: block;
  width: 100%;
  border-radius: 4px;
  padding: 3px 2px;
  color: #245dbb;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe8ff;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-align: center;
}

.case-win {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 20px;
  border-radius: 4px;
  color: #245dbb;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dbe8ff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.case-double-arrow {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 15px;
}

.case-double-arrow::before,
.case-double-arrow::after {
  position: absolute;
  width: 18px;
  height: 7px;
  border-top: 4px solid #245dbb;
  border-right: 4px solid #245dbb;
  content: "";
  transform: rotate(-25deg);
}

.case-double-arrow::before {
  left: 1px;
  bottom: 1px;
}

.case-double-arrow::after {
  right: 0;
  top: 0;
}

.case-stat-row small {
  color: #9b3b34;
  font-size: 8px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.metric-card {
  min-height: 48px;
  border-radius: 8px;
  padding: 7px 7px;
  color: #5f2c24;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 186, 0.82);
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 16px;
  line-height: 1.1;
}

.metric-card span {
  display: block;
  font-size: 11px;
  line-height: 1.25;
}

.section {
  padding: 8px 14px;
}

.section + .section {
  padding-top: 0;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: #ca1717;
  font-size: 14px;
  line-height: 1.2;
}

.section-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ff2c18, #ff8a14);
}

.section-mark::after {
  content: "";
  width: 7px;
  height: 10px;
  border-radius: 55% 45% 55% 45%;
  background: #fff8d5;
  transform: rotate(12deg);
}

.category-panel.cool .section-title {
  color: #1f5bbb;
}

.category-panel.cool .section-mark {
  background: linear-gradient(145deg, #1599ff, #1d5bff);
}

.slope-arrow {
  display: inline-block;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(-10deg);
}

.up-double-small {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 17px;
  margin-left: 1px;
  filter: drop-shadow(0 2px 3px rgba(203, 25, 17, 0.22));
}

.up-double-small::before,
.up-double-small::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 10px;
  background: linear-gradient(135deg, #ff2b1b, #ff7a19);
  clip-path: polygon(0 46%, 60% 46%, 60% 8%, 100% 50%, 60% 92%, 60% 58%, 0 58%);
  transform: rotate(-21deg);
}

.up-double-small::before {
  left: 1px;
  top: 7px;
}

.up-double-small::after {
  left: 14px;
  top: 2px;
}

.category-panel.cool .up-double-small {
  filter: drop-shadow(0 2px 3px rgba(20, 85, 190, 0.22));
}

.category-panel.cool .up-double-small::before,
.category-panel.cool .up-double-small::after {
  background: linear-gradient(135deg, #1c73ff, #1ed0ff);
}

.down-wide-small {
  display: inline-block;
  width: 21px;
  height: 15px;
  background: #1f5bbb;
  clip-path: polygon(28% 0, 72% 0, 72% 45%, 100% 45%, 50% 100%, 0 45%, 28% 45%);
}

.section-title small {
  color: var(--blue);
  font-size: 12px;
}

.section-title-sub {
  color: #6f5b57;
  font-size: 12px;
  font-weight: 700;
}

.category-panel.hot .section-title small {
  color: #c71919;
}

.more-link {
  flex: 0 0 auto;
  border: 0;
  padding: 3px 0;
  color: #9e2f2c;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.category-item {
  display: grid;
  grid-template-rows: 24px auto;
  gap: 1px;
  place-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.cat-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), #77ccff);
  font-size: 14px;
  box-shadow: 0 5px 12px rgba(40, 103, 216, 0.18);
}

.cat-icon.white {
  color: var(--red);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #f2d9cf, 0 5px 12px rgba(132, 51, 38, 0.08);
}

.cat-icon.green {
  background: linear-gradient(145deg, var(--green), #8ee365);
}

.cat-icon.gold {
  background: linear-gradient(145deg, #f4a500, #ffe477);
}

.cat-icon.teal {
  background: linear-gradient(145deg, var(--teal), #69d9ce);
}

.category-item span:last-child {
  width: 100%;
  min-height: 15px;
  color: #382b2a;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.panel {
  border-top: 1px solid rgba(224, 180, 168, 0.48);
  border-bottom: 1px solid rgba(224, 180, 168, 0.48);
  background: #fffaf6;
}

.category-panel {
  margin: 4px 14px;
  border: 0;
  border-radius: 12px;
  padding: 5px 7px 4px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(132, 51, 38, 0.08);
}

.section.category-panel + .section.category-panel {
  margin-top: 0;
}

.card-list {
  display: grid;
  gap: 12px;
}

.home-resource-section {
  padding-top: 4px;
}

.compact-section-head {
  margin-bottom: 8px;
}

.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.listing-card {
  overflow: hidden;
  border: 1px solid #efd5ca;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(132, 51, 38, 0.08);
}

.listing-card.is-clickable {
  cursor: pointer;
}

.listing-card.is-clickable:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(132, 51, 38, 0.13);
}

.listing-card.compact {
  display: block;
}

.listing-media {
  position: relative;
  min-height: 132px;
  background: linear-gradient(145deg, #2a1412, #d33122);
}

.home-resource-grid .listing-media {
  min-height: 118px;
}

.listing-media img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  display: block;
}

.home-resource-grid .listing-media img {
  min-height: 118px;
}

.media-gradient {
  display: grid;
  place-items: center;
  min-height: 132px;
  color: var(--white);
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.62), transparent 16%),
    linear-gradient(145deg, #0f9f8f, #2867d8);
  font-size: 34px;
  font-weight: 900;
}

.card-label {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 6px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.home-resource-grid .card-label {
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  font-size: 11px;
}

.listing-body {
  padding: 11px;
}

.home-resource-grid .listing-body {
  padding: 10px;
}

.listing-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.listing-title h3 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
}

.home-resource-grid .listing-title h3 {
  font-size: 17px;
}

.home-resource-grid .chip.green {
  display: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.home-resource-grid .chip-row {
  gap: 4px;
  margin: 6px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 6px;
  padding: 3px 7px;
  color: #bf2c25;
  background: #fff0e9;
  font-size: 12px;
  font-weight: 750;
}

.home-resource-grid .chip {
  min-height: 18px;
  padding: 2px 5px;
  font-size: 11px;
}

.chip.blue {
  color: #245dbb;
  background: #edf4ff;
}

.chip.green {
  color: #157d48;
  background: #eaf8ee;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin-top: 9px;
}

.home-resource-grid .detail-grid {
  grid-template-columns: 1fr 1fr;
  gap: 5px 7px;
  margin-top: 6px;
}

.home-resource-grid .detail-grid .field {
  font-size: 9.5px;
}

.home-resource-grid .detail-grid .field:nth-child(n + 5) {
  display: none;
}

.detail-grid .cover-line {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 6px;
  align-items: baseline;
  color: #7a4138;
  font-size: 12px;
  line-height: 1.25;
}

.detail-grid .cover-line span {
  color: #9b4b40;
  font-weight: 760;
}

.detail-grid .cover-line strong {
  color: #1f1d1b;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.detail-grid .cover-line:has(span:empty),
.resource-cover-fields .cover-line:has(span:empty) {
  grid-template-columns: 1fr;
}

.detail-grid .cover-line:has(span:empty) span,
.resource-cover-fields .cover-line:has(span:empty) span {
  display: none;
}

.detail-grid.full {
  grid-template-columns: 1fr;
}

.detail-summary-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #f0ddd5;
  border-radius: 8px;
  padding: 9px;
  background: #fffaf7;
}

.detail-summary-card img {
  width: 86px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-summary-card:not(:has(img)) {
  grid-template-columns: 1fr;
}

.detail-summary-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.detail-summary-card strong {
  color: var(--ink);
  font-size: 17px;
}

.detail-summary-card span {
  color: #b7211d;
  font-size: 12px;
  font-weight: 850;
}

.detail-summary-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.detail-operation-state {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.detail-operation-state span {
  border: 1px solid #9bbbec;
  border-radius: 999px;
  padding: 4px 9px;
  color: #174b9d;
  background: #eef5ff;
  font-size: 11px;
  font-weight: 900;
}

.detail-photo-gallery {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #f0ddd5;
  border-radius: 10px;
  padding: 10px;
  background: #fffaf7;
}

.detail-photo-row {
  display: grid;
  gap: 7px;
}

.detail-photo-row strong {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid #ead7ce;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
}

.detail-photo-row.protected strong {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.detail-photo-row.public strong {
  border-color: #ead7ce;
  color: var(--ink);
  background: var(--white);
}

.detail-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
}

.detail-photo-strip figure {
  flex: 0 0 72%;
  min-width: 0;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff4ee;
  scroll-snap-align: start;
}

.detail-photo-strip img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.auth-cover {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 100%;
  height: 138px;
  color: #7a544d;
  background:
    conic-gradient(from 90deg at 1px 1px, #f5e8e2 90deg, #fffaf7 0) 0 0 / 14px 14px,
    conic-gradient(from 90deg at 1px 1px, #e8d8d1 90deg, #f8efeb 0) 7px 7px / 18px 18px;
  filter: saturate(0.7);
}

.auth-cover b {
  border: 1px solid rgba(122, 84, 77, 0.18);
  border-radius: 8px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 18px rgba(90, 61, 53, 0.08);
  font-size: 17px;
}

.filled-form-section {
  margin-top: 10px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  overflow: hidden;
  background: #fffaf7;
}

.filled-form-section summary {
  min-height: 42px;
  padding: 11px 12px;
  color: #b7211d;
  font-weight: 900;
  cursor: pointer;
}

.filled-form-body {
  display: grid;
  gap: 8px;
  border-top: 1px solid #ead7ce;
  padding: 10px;
  background: var(--white);
}

.edit-form-section {
  margin-top: 0;
}

.edit-prefilled-field {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid #f1dfd7;
  padding-bottom: 9px;
}

.edit-prefilled-field:last-child {
  border-bottom: 0;
}

.edit-prefilled-field input,
.edit-prefilled-field textarea,
.edit-upload-existing input {
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 9px 10px;
  color: #4d2d29;
  background: #fffaf7;
  font: inherit;
}

.edit-prefilled-field textarea {
  resize: vertical;
}

.edit-upload-existing {
  display: grid;
  gap: 7px;
}

.edit-upload-existing span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.filled-field {
  display: grid;
  gap: 7px;
  border: 1px solid #f0ddd5;
  border-radius: 8px;
  padding: 9px;
  background: #fffaf7;
}

.filled-field p {
  margin: 0;
  color: #4d2d29;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.field {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.field strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.field-guide-note {
  display: block;
  margin-top: 7px;
  color: #b21d18;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.field-guide-note.salary-guide-muted {
  color: #7d625b;
}

.equity-ratio-tip {
  color: #ca1717;
  font-weight: 800;
}

.strike-price {
  position: relative;
  display: inline-block;
}

.strike-price::after {
  position: absolute;
  right: -2px;
  left: -2px;
  top: 50%;
  content: "";
  height: 2px;
  background: var(--red);
  transform: translateY(-50%) rotate(-2deg);
}

.home-resource-grid .field strong {
  font-size: 11px;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
  color: #7d3330;
  font-size: 13px;
}

.price-line strong {
  color: var(--red);
  font-size: 28px;
  line-height: 1;
}

.cost-down {
  display: grid;
  place-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 9px;
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.88), transparent 23%),
    linear-gradient(145deg, #ff7a1a, #e8201a 58%, #a90f0f);
  font-size: 15px;
  font-weight: 900;
}

.cost-down span {
  display: block;
  font-size: 12px;
  line-height: 1;
}

.cost-down strong {
  display: block;
  font-size: 22px;
  line-height: 1.08;
}

.home-resource-grid .cost-down {
  min-height: 38px;
  margin-top: 7px;
}

.home-resource-grid .cost-down strong {
  font-size: 19px;
}

.owner-line {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: #2d2422;
  font-weight: 750;
}

.home-resource-grid .owner-line {
  margin-top: 7px;
  font-size: 11px;
}

.owner-line span {
  overflow-wrap: anywhere;
}

.verified {
  color: #d8007b;
  background: #fff1f8;
}

.owner-line .verified {
  margin-left: 6px;
}

.card-actions,
.action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.home-resource-grid .card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.home-resource-grid .card-actions .ghost-btn {
  grid-column: 1 / -1;
  min-height: 26px;
}

.home-resource-grid .card-actions .secondary-btn {
  min-height: 30px;
}

.resource-orange-card {
  overflow: hidden;
  border: 1px solid #f5d7cf;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(194, 43, 28, 0.13), 0 5px 14px rgba(255, 198, 162, 0.32);
}

.home-resource-grid .resource-orange-card .listing-media {
  height: 138px;
  min-height: 138px;
}

.resource-orange-card .listing-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.2));
}

.home-resource-grid .resource-orange-card .listing-media img,
.home-resource-grid .resource-orange-card .media-gradient {
  height: 138px;
  min-height: 138px;
}

.resource-ribbon {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: -22px;
  width: 82px;
  padding: 3px 0;
  color: var(--white);
  background: linear-gradient(135deg, #ff7a1a, #e8201a);
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  transform: rotate(-34deg);
}

.home-resource-grid .resource-orange-card .listing-body {
  position: relative;
  height: auto;
  min-height: 238px;
  padding: 10px 72px 9px 10px;
  color: #b01614;
  background:
    linear-gradient(180deg, rgba(255, 247, 240, 0.86), rgba(255, 255, 255, 0.98) 34%),
    #fff;
  box-shadow: inset 0 3px 0 #ef2a1c, inset 0 -1px 0 #ffe5dd;
}

.resource-mainline {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.resource-mainline h3 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: #17100e;
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}

.title-trust-badges {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}

.title-trust-badges b {
  border-radius: 999px;
  padding: 2px 5px;
  color: #fff;
  background: #d91f18;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.title-trust-badges b:nth-child(2) {
  color: #b31213;
  background: #ffe36b;
}

.listing-title .title-trust-badges b {
  font-size: 10px;
}

.resource-mainline strong {
  min-width: 0;
  color: #231817;
  font-size: 15.5px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.resource-orange-card .chip-row {
  gap: 4px;
  margin: 6px 0;
}

.chip.light {
  min-height: 18px;
  border-radius: 999px;
  padding: 2px 5px;
  color: #cf2d1c;
  background: rgba(255, 255, 255, 0.94);
  font-size: 9px;
}

.orange-price {
  display: grid;
  gap: 1px;
  color: var(--white);
}

.orange-price span {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 12px;
  font-weight: 850;
}

.orange-price strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1;
}

.orange-price span:last-child strong {
  font-size: 25px;
}

.resource-orange-card .strike-price::after {
  right: -2px;
  left: -2px;
  top: 50%;
  height: 2px;
  background: #e8201a;
  transform: translateY(-50%) rotate(-2deg);
}

.resource-orange-card .cost-down.flame {
  position: absolute;
  top: 82px;
  right: 8px;
  width: 78px;
  height: 54px;
  min-height: 0;
  margin: 0;
  padding: 7px 6px 6px;
  border: 1px solid #ffd2c7;
  border-radius: 14px;
  color: #d21e18;
  background: linear-gradient(180deg, #fff8f0, #ffe8db);
  clip-path: none;
  font-size: 10px;
  text-align: center;
  box-shadow: 0 7px 16px rgba(211, 41, 26, 0.18);
}

.resource-cover-fields {
  display: grid;
  gap: 1px;
  margin-top: 6px;
  padding-right: 0;
}

.resource-cover-fields .cover-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
  min-height: 16px;
  border-radius: 4px;
  padding: 1px 3px;
  color: #a81b15;
  background: transparent;
  line-height: 1;
  box-shadow: none;
}

.resource-cover-fields .cover-line span {
  flex: 0 0 auto;
  max-width: 58px;
  font-size: 10px;
  font-weight: 820;
  color: #b3231b;
  opacity: 1;
}

.resource-cover-fields .cover-line strong {
  min-width: 0;
  color: #211514;
  font-size: 11.7px;
  font-weight: 900;
  text-align: right;
  overflow-wrap: anywhere;
}

.resource-cover-fields .cover-line:nth-child(2),
.resource-cover-fields .cover-line:nth-child(6) {
  background: linear-gradient(90deg, #fff3d3, rgba(255, 248, 228, 0.25));
  box-shadow: inset 3px 0 0 #ffb22a;
}

.resource-cover-fields .cover-line:nth-child(3) {
  min-height: 24px;
  background: transparent;
  box-shadow: none;
}

.resource-cover-fields .cover-line:nth-child(3) span,
.resource-cover-fields .cover-line:nth-child(3) strong {
  color: #d51e18;
}

.resource-cover-fields .cover-line:nth-child(3) strong {
  font-size: 24px;
  line-height: 0.95;
}

.skill-resource-card .resource-mainline strong {
  color: #7d2118;
}

.skill-resource-card .resource-cover-fields .cover-line span {
  max-width: 72px;
  font-size: 10px;
}

.skill-resource-card .resource-cover-fields .cover-line strong {
  font-size: 11px;
}

.skill-resource-card .resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(4) strong {
  font-size: 13px;
}

.project-home-grid .listing-card {
  min-height: 0;
}

.project-cover-card {
  border: 1px solid #bfd7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(22, 83, 176, 0.15), 0 6px 16px rgba(255, 137, 36, 0.19);
}

.project-cover-card .project-listing-media {
  height: 160px;
  min-height: 160px;
  background: linear-gradient(135deg, #183b7a, #f05a1f);
}

.project-cover-card .project-listing-media img {
  min-height: 160px;
  filter: saturate(1.08) contrast(1.04);
}

.project-cover-card .project-label {
  border-radius: 999px;
  background: linear-gradient(135deg, #0e5bd3, #ff8a18);
  box-shadow: 0 6px 14px rgba(22, 84, 174, 0.25);
}

.project-cover-card .listing-body {
  min-height: 280px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(237, 246, 255, 0.94), rgba(255, 255, 255, 0.98) 38%),
    #fff;
  box-shadow: inset 0 3px 0 #0d64d8, inset 0 -1px 0 #ffcf93;
}

.home-resource-grid .project-cover-card .listing-title h3 {
  color: #082f73;
  font-size: 21px;
  line-height: 1;
}

.project-cover-fields {
  display: grid;
  gap: 1px;
  margin-top: 7px;
  border: 1px solid #d5e4ff;
  border-radius: 9px;
  padding: 6px 7px;
  background:
    linear-gradient(180deg, #fff, #f8fbff),
    #fff;
}

.project-cover-line {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px;
  align-items: baseline;
  min-height: 17px;
  border-radius: 4px;
  padding: 1px 4px;
  color: #153f86;
  background: transparent;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

.project-cover-line:nth-child(2n) {
  background: linear-gradient(90deg, #fff2df, rgba(255, 248, 238, 0.18));
  box-shadow: inset 3px 0 0 #ff9d21;
}

.project-cover-line span {
  color: #4d6ea5;
  font-weight: 760;
}

.project-cover-line strong {
  color: #0b3f98;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.project-cover-line:nth-child(3) strong,
.project-cover-line:nth-child(5) strong,
.project-cover-line:nth-child(7) strong {
  color: #073b8c;
  font-weight: 950;
}

.project-cover-line.is-founder-share strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 2px 8px;
  color: #fff;
  background: linear-gradient(135deg, #0e5bd3, #073b8c);
  box-shadow: 0 5px 10px rgba(21, 90, 205, 0.18);
}

.project-cover-line.is-wants-line strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 7px;
  padding: 2px 7px;
  color: #162847;
  background: linear-gradient(90deg, #ffbf58, #ff9b24);
  box-shadow: inset 0 0 0 1px #f2992e;
}

.project-cover-card .owner-line {
  color: #0f4aa8;
  font-weight: 850;
  margin-top: 6px;
}

.project-cover-card .card-actions .secondary-btn {
  color: #0e4fb3;
  background: #eef5ff;
  border-color: #b8d2ff;
}

.project-cover-line:has(span:empty) {
  grid-template-columns: 1fr;
}

.project-cover-line:has(span:empty) span {
  display: none;
}

.resource-orange-card .cost-down.flame span {
  color: #d51e18;
  font-size: 12px;
  line-height: 1;
}

.resource-orange-card .cost-down.flame strong {
  max-width: 66px;
  color: #d51e18;
  font-size: 17px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.subsidy-pill,
.method-pill {
  display: grid;
  place-items: center;
  min-height: 22px;
  border-radius: 999px;
  color: #b51c14;
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.subsidy-pill {
  margin: 7px 0 5px;
}

.method-pill {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.resource-orange-card .owner-line {
  position: static;
  margin: 6px -60px 0 -8px;
  color: #9f1714;
  background: #fff5ed;
  border-radius: 0;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 850;
}

.resource-orange-card .owner-line .verified {
  margin-left: 4px;
  padding: 2px 5px;
  font-size: 9px;
}

.resource-orange-card .card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 5px -60px 0 0;
}

.resource-orange-card .card-actions .ghost-btn {
  grid-column: 1 / -1;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 6px;
  font-size: 10px;
}

.resource-orange-card .card-actions .secondary-btn {
  min-height: 25px;
  border-radius: 999px;
  padding: 0 6px;
  color: #bd1b18;
  background: #fff0e7;
  border-color: #ffc2a8;
  font-size: 10px;
}

.home-resource-grid .resource-orange-card .listing-body {
  min-height: 268px;
  padding: 10px 84px 9px 10px;
}

.resource-mainline {
  min-height: 38px;
}

.resource-mainline h3 {
  font-size: 23px;
  line-height: 1.02;
}

.resource-mainline strong {
  color: #211514;
  font-size: 13px;
  font-weight: 880;
}

.resource-cover-fields {
  gap: 0;
  margin-top: 4px;
}

.resource-cover-fields .cover-line,
.resource-cover-fields .cover-line:nth-child(2),
.resource-cover-fields .cover-line:nth-child(3),
.resource-cover-fields .cover-line:nth-child(6) {
  min-height: 15px;
  padding: 0 2px;
  background: transparent;
  box-shadow: none;
}

.resource-cover-fields .cover-line strong,
.resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(4) strong {
  min-width: 0;
  font-size: 11.8px;
  line-height: 1.06;
  text-align: left;
}

.resource-cover-fields .cover-line.is-black-line strong {
  color: #221817;
  font-weight: 820;
}

.resource-cover-fields .cover-line.is-red-line strong {
  color: #d51e18;
  font-weight: 950;
}

.resource-cover-fields .cover-line.is-tool-line {
  min-height: 34px;
  align-items: flex-start;
}

.resource-cover-fields .cover-line.is-tool-line strong {
  display: -webkit-box;
  max-height: 30px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resource-cover-fields .strike-price-line strong,
.resource-cover-fields .strike-price-line {
  position: relative;
  width: fit-content;
}

.resource-cover-fields .strike-price-line strong::after {
  position: absolute;
  right: -2px;
  left: -2px;
  top: 50%;
  height: 2px;
  content: "";
  background: #e8201a;
  transform: translateY(-50%) rotate(-2deg);
}

.resource-orange-card .cost-down.flame {
  top: 93px;
  right: 7px;
  width: 74px;
  height: 92px;
  padding: 22px 7px 9px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% 72%, #fff4bb 0 26%, transparent 27%),
    radial-gradient(circle at 55% 24%, #fff4a3 0 8%, transparent 9%),
    linear-gradient(155deg, #ff8a18 0%, #ff3b18 42%, #bf1111 100%);
  clip-path: polygon(50% 0%, 62% 16%, 76% 7%, 69% 26%, 88% 37%, 72% 41%, 92% 61%, 77% 78%, 59% 100%, 39% 100%, 20% 81%, 8% 62%, 23% 47%, 9% 31%, 31% 27%);
  box-shadow: 0 10px 18px rgba(211, 41, 26, 0.25);
}

.resource-orange-card .cost-down.flame span,
.resource-orange-card .cost-down.flame strong {
  color: #fff;
  text-shadow: 0 1px 2px rgba(135, 0, 0, 0.24);
}

.resource-orange-card .cost-down.flame span {
  font-size: 12px;
  font-weight: 950;
}

.resource-orange-card .cost-down.flame strong {
  max-width: 58px;
  font-size: 18px;
  font-weight: 1000;
}

.resource-orange-card .owner-line {
  margin: 6px -74px 0 -8px;
  color: #9f1714;
}

.resource-orange-card .owner-line .verified {
  color: #df1f70;
  background: #fff0f5;
}

.resource-orange-card .card-actions {
  margin-right: -74px;
}

.project-cover-card .listing-body {
  min-height: 318px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.99) 40%),
    #fff;
}

.home-resource-grid .project-cover-card .listing-title h3 {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #063e9a;
  font-size: 21px;
}

.project-cover-fields {
  gap: 1px;
  margin-top: 5px;
  border-color: #f2d09c;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(21, 91, 211, 0.05);
}

.project-cover-line,
.project-cover-line:nth-child(2n) {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 17px;
  padding: 1px 4px;
  background: transparent;
  box-shadow: none;
  line-height: 1.05;
}

.project-cover-line strong,
.project-cover-line:nth-child(3) strong,
.project-cover-line:nth-child(5) strong,
.project-cover-line:nth-child(7) strong {
  font-size: 12px;
  font-weight: 930;
}

.project-cover-line.is-project-intro {
  min-height: 34px;
}

.project-cover-line.is-project-intro strong {
  display: -webkit-box;
  color: #0757c5;
  font-size: 12.2px;
  line-height: 1.25;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-cover-line.is-project-blue strong {
  color: #0750b8;
}

.project-cover-line.is-project-orange strong {
  color: #ed7417;
}

.project-cover-line.is-project-wants {
  min-height: 22px;
  border-radius: 7px;
  background: linear-gradient(90deg, #ff9e22, #ff7118);
  box-shadow: 0 5px 12px rgba(232, 97, 10, 0.18);
}

.project-cover-line.is-project-wants strong {
  color: #fff;
  font-size: 12.2px;
  font-weight: 950;
}

.project-cover-card .owner-line {
  color: #e26f13;
}

.project-cover-card .owner-line .verified {
  color: #e26f13;
  background: #fff4e7;
}

.home-resource-grid .resource-orange-card .listing-body {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding-right: 86px;
}

.resource-mainline {
  gap: 7px;
  min-height: 56px;
}

.resource-mainline h3 {
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
}

.resource-mainline strong {
  font-size: 13px;
  font-weight: 820;
  line-height: 1.05;
  white-space: nowrap;
}

.resource-cover-fields {
  gap: 1px;
  margin-top: 3px;
}

.resource-cover-fields .cover-line,
.resource-cover-fields .cover-line:nth-child(2),
.resource-cover-fields .cover-line:nth-child(3),
.resource-cover-fields .cover-line:nth-child(6) {
  min-height: 17px;
  padding: 0 2px;
}

.resource-cover-fields .cover-line strong,
.resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(4) strong {
  max-width: 100%;
  font-size: 12px;
  line-height: 1.08;
  white-space: nowrap;
}

.resource-cover-fields .cover-line.is-black-line strong {
  color: #1f1715;
  font-weight: 760;
}

.resource-cover-fields .cover-line.is-red-line strong {
  color: #d51e18;
  font-weight: 970;
}

.resource-orange-card:not(.skill-resource-card) .resource-cover-fields .cover-line:nth-child(2) strong {
  font-size: 11.4px;
  font-weight: 860;
}

.resource-orange-card:not(.skill-resource-card) .resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(3) strong {
  font-size: 14.4px;
  font-weight: 1000;
}

.resource-orange-card:not(.skill-resource-card) .resource-cover-fields .cover-line:nth-child(6) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(5) strong {
  font-size: 13px;
}

.resource-cover-fields .cover-line.is-tool-line {
  min-height: 38px;
}

.resource-cover-fields .cover-line.is-tool-line strong {
  white-space: normal;
  line-height: 1.18;
}

.resource-orange-card .cost-down.flame {
  top: 70px;
  right: 8px;
  width: 74px;
  height: 88px;
  padding-top: 21px;
  background:
    radial-gradient(circle at 52% 70%, #fff1a8 0 24%, transparent 25%),
    linear-gradient(155deg, #ff7417 0%, #ed1f16 44%, #a70505 100%);
}

.resource-orange-card .owner-line {
  margin-top: auto;
  margin-right: -76px;
  font-size: 10.8px;
}

.resource-orange-card .card-actions {
  margin-top: 5px;
  margin-right: -76px;
}

.project-cover-card .listing-body {
  display: flex;
  flex-direction: column;
  min-height: 372px;
}

.home-resource-grid .project-cover-card .listing-title h3 {
  font-size: 22px;
  font-weight: 1000;
}

.project-cover-fields {
  gap: 1px;
  margin-top: 12px;
}

.project-cover-line,
.project-cover-line:nth-child(2n) {
  min-height: 18px;
}

.project-cover-line.is-project-intro {
  min-height: 38px;
  margin-bottom: 8px;
}

.project-cover-line.is-project-intro strong {
  font-size: 12.4px;
  font-weight: 830;
  line-height: 1.28;
}

.project-cover-line.is-project-blue strong {
  color: #064fb8;
  font-size: 12.2px;
  font-weight: 930;
}

.project-cover-line.is-project-orange strong {
  color: #eb7416;
  font-size: 12px;
  font-weight: 960;
}

.project-cover-line.is-project-wants strong {
  font-size: 12.6px;
  font-weight: 1000;
}

.project-cover-card .owner-line {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.project-cover-card .card-actions {
  margin-top: 7px;
}

.project-cover-card .owner-line span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.project-cover-card .owner-line .verified {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 2px 4px;
  font-size: 8.5px;
}

/* Final cover-card tuning: label/value colors, compact drop badge, no wrapping. */
.resource-cover-fields .cover-line.is-money-line {
  justify-content: flex-start;
  gap: 4px;
}

.resource-cover-fields .cover-line.is-money-line span {
  flex: 0 0 auto;
  max-width: none;
  color: #1d1715;
  font-size: 11.2px;
  font-weight: 920;
}

.resource-cover-fields .cover-line.is-money-line strong,
.resource-cover-fields .cover-line.is-money-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line:nth-child(4) strong {
  color: #d51e18;
  font-size: 12.1px;
  font-weight: 980;
  white-space: nowrap;
}

.resource-cover-fields .cover-line.is-original-line span,
.resource-cover-fields .cover-line.is-primary-line span {
  font-size: 12px;
  font-weight: 980;
}

.resource-cover-fields .cover-line.is-original-line strong,
.resource-cover-fields .cover-line.is-primary-line strong {
  font-size: 14.8px;
  font-weight: 1000;
}

.resource-orange-card .cost-down.flame {
  top: 76px;
  right: 10px;
  width: 58px;
  height: 74px;
  padding: 17px 6px 8px;
  background: linear-gradient(155deg, #ff321e 0%, #d60000 58%, #9d0000 100%);
  clip-path: polygon(50% 0%, 63% 15%, 77% 35%, 86% 56%, 78% 78%, 61% 94%, 39% 94%, 22% 78%, 14% 56%, 23% 35%, 37% 15%);
}

.resource-orange-card .cost-down.flame span {
  font-size: 10.5px;
}

.resource-orange-card .cost-down.flame strong {
  max-width: 48px;
  font-size: 15.5px;
}

.ghost-btn,
.secondary-btn,
.danger-btn {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  font-weight: 760;
}

.ghost-btn {
  border: 1px solid #edd2c6;
  color: #9b302c;
  background: #fffaf6;
}

.secondary-btn {
  border: 1px solid rgba(40, 103, 216, 0.18);
  color: #1f5bbb;
  background: #eef5ff;
}

.interview-soft {
  color: #9b302c;
  border-color: #f0d7ca;
  background: #fff3ed;
}

.danger-btn {
  border: 1px solid rgba(232, 32, 26, 0.25);
  color: #b81414;
  background: #fff0ef;
}

.screen-head {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 12px 14px;
  color: var(--white);
  background: linear-gradient(145deg, var(--red), #ff6b1a);
  box-shadow: 0 8px 24px rgba(128, 30, 24, 0.16);
}

.screen-head h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.screen-head p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
  font-weight: 760;
}

.filter-pill.is-active {
  color: #bd201b;
  background: var(--white);
}

.notice-band {
  display: grid;
  gap: 8px;
  margin: 14px;
  padding: 12px;
  border-left: 4px solid var(--teal);
  background: #f3fffc;
  color: #275c56;
}

.notice-band strong {
  color: #0b7d70;
}

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

.mini-card {
  min-height: 86px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.mini-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.mini-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.progress-shell {
  padding: 14px;
}

.message-screen {
  padding-top: 14px;
}

.message-action-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.thread-list {
  display: grid;
  gap: 9px;
}

.thread-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
}

.thread-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--red), var(--orange));
  font-weight: 900;
}

.thread-card strong,
.thread-card em {
  display: block;
}

.thread-card em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.thread-card b {
  color: #9b8179;
  font-size: 11px;
}

.thread-card i {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.duo-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.interview-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.interview-status-grid .mini-card {
  min-height: 64px;
}

.duo-card {
  min-height: 104px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.duo-card em {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.duo-card strong {
  display: block;
  color: #c7201b;
  font-size: 16px;
  line-height: 1.25;
}

.progress-list {
  display: grid;
  gap: 9px;
  margin: 14px 0;
}

.progress-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: flex-start;
  min-height: 72px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 11px;
  background: var(--white);
}

.step-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #9b5045;
  background: #fff1ea;
  font-weight: 900;
}

.progress-step.is-done .step-dot {
  color: var(--white);
  background: var(--green);
}

.progress-step.is-active {
  border-color: rgba(232, 32, 26, 0.45);
  box-shadow: 0 8px 18px rgba(232, 32, 26, 0.1);
}

.progress-step.is-active .step-dot {
  color: var(--white);
  background: var(--red);
}

.step-copy h3 {
  margin: 0;
  font-size: 16px;
}

.step-copy p {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.chat-box {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.chat-log {
  display: grid;
  gap: 8px;
  max-height: 230px;
  overflow: auto;
  padding: 12px;
}

.message {
  max-width: 86%;
  border-radius: 8px;
  padding: 8px 10px;
  color: #3b302e;
  background: #f5eee9;
  font-size: 13px;
  line-height: 1.45;
}

.message.me {
  justify-self: end;
  color: #1d3e38;
  background: #e8fbf6;
}

.chat-compose {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid #ead7ce;
  padding: 10px;
  background: #fffaf6;
}

.chat-compose input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 10px;
  outline: 0;
  background: var(--white);
}

.chat-plus {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ead7ce;
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  font-size: 24px;
  font-weight: 500;
}

.mention-suggestions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-top: 1px solid #ead7ce;
  padding: 8px 10px;
  background: #fffaf6;
}

.mention-suggestions.is-hidden {
  display: none;
}

.mention-suggestions button {
  flex: 0 0 auto;
  min-height: 30px;
  border: 1px solid #ead7ce;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--red);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.chat-tool-sheet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.chat-tool-sheet label {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: var(--red);
  background: #fffaf7;
}

.chat-tool-sheet input {
  width: 90%;
  font-size: 10px;
}

.share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.help-hero {
  display: grid;
  gap: 7px;
  border: 1px solid #ffd1c1;
  border-radius: 8px;
  padding: 13px;
  color: #5b302b;
  background: linear-gradient(145deg, #fff3ed, #fffdfb);
}

.help-hero strong {
  color: #b7211d;
  font-size: 18px;
  line-height: 1.3;
}

.help-hero span {
  font-size: 13px;
  line-height: 1.55;
}

.support-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.friend-help-action {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  border: 1px solid #ffd1c1;
  border-radius: 8px;
  padding: 12px;
  background: #fff5ef;
  text-align: center;
}

.friend-help-action span,
.friend-help-action b {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.friend-help-action strong {
  display: block;
  margin: 3px 0;
  color: var(--red);
  font-size: 28px;
}

.help-energy {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #f0d9cf;
}

.help-energy span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.help-pulse {
  animation: help-pulse 1.4s ease-in-out infinite;
}

@keyframes help-pulse {
  50% {
    transform: scale(1.02);
    box-shadow: 0 7px 20px rgba(232, 32, 26, 0.2);
  }
}

.support-metrics article {
  display: grid;
  gap: 3px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 8px 4px;
  background: var(--white);
  text-align: center;
}

.support-metrics strong {
  color: var(--red);
  font-size: 17px;
}

.support-metrics span {
  color: var(--muted);
  font-size: 9px;
}

.support-progress {
  height: 8px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #f1ddd5;
}

.support-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.share-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.share-channel-grid button {
  display: grid;
  gap: 2px;
  min-height: 48px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #b7211d;
  background: var(--white);
  font-weight: 900;
}

.share-channel-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.support-wall,
.advice-thread {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 11px;
  background: #fffaf7;
}

.support-wall p,
.advice-thread p {
  margin: 0;
  color: #5d4742;
  font-size: 12px;
  line-height: 1.5;
}

.recommend-note {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: #5b302b;
  font-size: 13px;
  font-weight: 850;
}

.recommend-note textarea {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  resize: vertical;
}

.boost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.boost-grid button {
  display: grid;
  gap: 4px;
  min-height: 108px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 11px;
  color: #5b302b;
  background: var(--white);
  text-align: left;
}

.boost-grid button b {
  color: var(--red);
  font-size: 20px;
}

.boost-grid button span,
.boost-grid button em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.partner-grid {
  display: grid;
  gap: 10px;
}

.partner-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
}

.partner-card.visual {
  position: relative;
  grid-template-columns: 58px 1fr auto;
}

.partner-card.is-exit-cooling,
.partner-card.is-lifecycle-ended {
  overflow: hidden;
  border-color: #e7b7ad;
  background:
    linear-gradient(135deg, rgba(232, 32, 26, 0.08), rgba(255, 255, 255, 0.9)),
    var(--white);
}

.partner-card.is-lifecycle-ended::after {
  content: "";
  position: absolute;
  left: -12%;
  top: 50%;
  z-index: 2;
  width: 124%;
  height: 3px;
  border-radius: 999px;
  background: rgba(183, 33, 29, 0.72);
  transform: rotate(-12deg);
  pointer-events: none;
}

.partner-card.is-lifecycle-ended .ratio-ring,
.partner-card.is-lifecycle-ended .ratio-bar {
  filter: saturate(0.45);
}

.avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, #2867d8, #20a657);
  font-size: 22px;
  font-weight: 900;
}

.partner-card.visual .avatar {
  width: 48px;
  height: 48px;
}

.ratio-ring {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--white) 0 53%, transparent 54%),
    conic-gradient(var(--ring) calc(var(--pct) * 1%), #f0ddd6 0);
}

.ratio-ring.large {
  width: 76px;
  height: 76px;
}

.ratio-ring i {
  color: var(--red);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.partner-detail-hero {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf6;
}

.partner-detail-hero strong {
  display: block;
  margin-bottom: 5px;
}

.partner-detail-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.partner-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.partner-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.partner-card-meta span,
.partner-card-meta b {
  border-radius: 999px;
  padding: 3px 6px;
  background: #fff4ee;
  color: #7d5049;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.partner-card-meta b {
  color: #b7211d;
  background: #ffe6e0;
}

.partner-card-meta > span:first-child { flex-basis: 100%; }
.partner-card-meta > span:not(:first-child),
.partner-card-meta > b,
.partner-card-meta .exit-status {
  font-size: 13px;
  line-height: 1.5;
  border-radius: 5px;
}
.partner-card-meta > b { flex-basis: 100%; }
.complaint-content { white-space: pre-wrap; overflow-wrap: anywhere; }
.complaint-form textarea { min-height: 168px; resize: vertical; }
.complaint-record-link { margin-top: 6px; }

.partner-card-meta b.is-notified {
  color: #0a6b45;
  background: #e7f8ee;
}

.ratio {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.ratio-bar {
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e1d9;
}

.ratio-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.publish-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.publish-links a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  color: #b7211d;
  background: #fff0e9;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.publish-choice-grid {
  display: grid;
  gap: 10px;
}

.publish-choice,
.type-pick {
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #245dbb;
  background: var(--white);
  text-align: left;
}

.publish-choice {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 14px;
}

.publish-choice strong {
  color: #b7211d;
  font-size: 18px;
}

.publish-choice span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.publish-choice b {
  color: var(--red);
  font-size: 13px;
}

.plus-count {
  position: relative;
  display: inline-block;
  padding-right: 10px;
}

.plus-count sup {
  position: absolute;
  top: -4px;
  right: -1px;
  color: var(--red);
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

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

.type-pick {
  min-height: 40px;
  padding: 9px 10px;
  font-weight: 760;
}

.type-pick.is-active {
  color: #174b9d;
  border-color: #9bbbec;
  background: #eaf2ff;
}

.modal-subtitle {
  margin: 0 0 10px;
  color: #b7211d;
  font-size: 16px;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 88px;
  border: 1px dashed #e7c7bd;
  border-radius: 8px;
  color: #9f6b62;
  background: #fffaf6;
  font-weight: 800;
}

.form-combo-list {
  display: grid;
  gap: 8px;
}

.form-combo-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: center;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.form-combo-item i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-style: normal;
  font-weight: 900;
}

.form-combo-item strong,
.form-combo-item em {
  display: block;
}

.form-combo-item em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.form-link-btn {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 8px;
  color: #b7211d;
  background: #fff0e9;
  font-weight: 800;
  text-decoration: none;
}

.form-link-btn.is-two-line {
  gap: 2px;
  padding: 8px 10px;
  line-height: 1.25;
  text-align: center;
}

.latest-operation-summary {
  margin: 8px 0 0;
  color: #4d2d29;
  font-weight: 800;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.cooperation-case-field {
  display: grid;
  gap: 7px;
}

.cooperation-case-field > strong {
  color: #4d2d29;
  font-size: 13px;
}

.cooperation-case-field textarea {
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 9px 10px;
  resize: vertical;
}

.form-section {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: #fffaf6;
  overflow: hidden;
}

.form-section summary {
  min-height: 42px;
  padding: 11px 12px;
  color: #b7211d;
  font-weight: 850;
  cursor: pointer;
}

.form-section-body {
  display: grid;
  gap: 10px;
  border-top: 1px solid #ead7ce;
  padding: 10px;
  background: var(--white);
}

.form-field {
  display: grid;
  gap: 8px;
  border: 1px solid #f0ddd5;
  border-radius: 8px;
  padding: 10px;
  background: #fffaf7;
}

.form-field.is-hidden {
  display: none;
}

.form-field.is-error {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(232, 32, 26, 0.12);
}

.field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-top strong {
  color: var(--red);
  font-size: 14px;
}

.form-field p {
  margin: 0;
  color: #7d625b;
  font-size: 12px;
  line-height: 1.45;
}

.visibility-default {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  color: #8d5a50;
  background: #f7ece7;
  font-size: 11px;
  font-weight: 850;
}

.visibility-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #ead7ce;
  border-radius: 999px;
  background: var(--white);
}

.visibility-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 8px;
  color: #245dbb;
  font-size: 11px;
  font-weight: 850;
}

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

.visibility-toggle label:has(input:checked) {
  color: var(--white);
  background: var(--red);
}

.inline-picker {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: var(--white);
}

.inline-picker summary {
  min-height: 40px;
  padding: 10px;
  color: #245dbb;
  font-weight: 850;
  cursor: pointer;
}

.inline-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  border-top: 1px solid #ead7ce;
  padding: 8px;
}

.inline-picker-grid label {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  border-radius: 7px;
  padding: 0 6px;
  background: #fff4ee;
  font-size: 11px;
  color: #245dbb;
}

.area-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.date-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.area-selector[data-area-selector="city"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.area-selector select,
.form-field select {
  min-height: 38px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 8px;
  color: #245dbb;
  background: var(--white);
  font-weight: 800;
}

.form-field select option {
  color: #245dbb;
}

.unit-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: var(--white);
}

.unit-input input {
  min-width: 0;
  border: 0;
  border-radius: 0;
}

.unit-input span {
  padding: 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.original-price-selector {
  display: grid;
  grid-template-columns: minmax(108px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px;
  align-items: center;
}

.merged-salary-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.merged-salary-field span {
  color: #245dbb;
  font-size: 12px;
  font-weight: 850;
}

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

.upload-channels label {
  display: grid;
  gap: 6px;
  border: 1px dashed #e6cfc5;
  border-radius: 8px;
  padding: 9px;
  background: var(--white);
}

.upload-channels span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 7px;
  color: #8a5f57;
  background: #fff4ee;
  font-size: 12px;
  font-weight: 900;
}

.upload-zone.protected span {
  color: var(--white);
  background: var(--red);
}

.upload-zone.public span {
  border: 1px solid #245dbb;
  color: var(--white);
  background: #2867d8;
}

.upload-zone.public {
  border-color: #e6cfc5;
  color: #241b1a;
  background: var(--white);
}

.single-upload {
  border: 1px dashed #e6cfc5;
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.single-upload input {
  width: 100%;
}

.own-target-picker {
  display: grid;
  gap: 8px;
  border: 1px solid #f0ddd5;
  border-radius: 8px;
  padding: 10px;
  background: #fffaf7;
}

.own-target-picker > strong {
  color: #b7211d;
  font-size: 14px;
}

.form-grid .own-target-picker label {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 32px;
  border-radius: 7px;
  padding: 0 8px;
  background: var(--white);
  color: #8d1e19;
  font-size: 12px;
  font-weight: 850;
}

.form-grid .own-target-picker input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  padding: 0;
}

.option-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.option-button-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 9px;
  color: #245dbb;
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.method-choice-head strong,
.plan-tabs label {
  color: var(--red);
}

.method-choice-note {
  margin: 0 0 8px;
  color: #c21d18;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

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

.method-choice {
  display: grid;
  gap: 8px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.method-choice.is-required {
  border-color: rgba(232, 32, 26, 0.3);
  background: #fff3ed;
}

.method-choice-head,
.ratio-control,
.priority-toggle {
  display: grid;
  gap: 8px;
}

.method-choice-head {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.method-choice-head label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.method-choice-head strong {
  font-size: 12px;
}

.method-choice-head span,
.method-choice em {
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.auto-secondary {
  display: block;
  color: var(--red);
  font-size: 11px;
  line-height: 1.35;
}

.method-choice p {
  margin: 0;
}

.ratio-control {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ratio-control label {
  display: grid;
  gap: 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
}

.ratio-control select,
.ratio-control input {
  min-height: 34px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 8px;
  background: #fffaf7;
  font-weight: 850;
}

.priority-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.priority-toggle label {
  display: grid;
  place-items: center;
  min-height: 30px;
  border: 1px solid #ead7ce;
  border-radius: 999px;
  color: #245dbb;
  background: #fffaf7;
  font-size: 11px;
  font-weight: 900;
}

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

.priority-toggle label:has(input:checked) {
  color: #174b9d;
  border-color: #9bbbec;
  background: #eaf2ff;
}

.method-priority-toggle {
  grid-template-columns: 1fr;
}

.method-priority-toggle label,
.method-priority-toggle label:has(input:checked) {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.business-plan-choice,
.plan-template {
  display: grid;
  gap: 10px;
}

.business-plan-upload,
.participation-invite-card,
.download-link-preview {
  display: grid;
  gap: 6px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 10px;
  background: #f4f8ff;
}

.business-plan-upload strong,
.participation-invite-card strong {
  color: #174b9d;
  font-size: 13px;
}

.business-plan-upload span,
.participation-invite-card span,
.download-link-preview em {
  color: #647087;
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
}

.download-link-preview {
  margin-top: 4px;
  background: #fff;
}

.download-link-preview b {
  overflow-wrap: anywhere;
  color: #087a4d;
  font-size: 11px;
}

.invite-link-list {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.transfer-interest-summary {
  border-radius: 999px;
  padding: 5px 8px;
  color: #174b9d;
  background: #eef5ff;
  font-size: 11px;
  font-weight: 850;
}

.transfer-interest-list,
.transfer-confirm-list,
.transfer-buyer-picker {
  display: grid;
  gap: 8px;
}

.transfer-buyer-picker.is-muted {
  opacity: 0.45;
}

.transfer-buyer-picker.is-muted::before {
  content: "当前选择为全体合创方按占比比例购买，下方手动分配仅在选择一位或多位组合购买时使用。";
  display: block;
  color: #647087;
  font-size: 11px;
  line-height: 1.45;
}

.chat-inline-actions {
  display: flex;
  justify-content: flex-end;
  padding: 6px 0;
}

.chat-inline-actions button {
  min-height: 30px;
  border: 1px solid #ead7ce;
  border-radius: 999px;
  padding: 0 12px;
  color: #b7211d;
  background: #fff4ee;
  font-size: 12px;
  font-weight: 900;
}

.transfer-interest-list article,
.transfer-confirm-list article,
.transfer-buyer-row {
  display: grid;
  gap: 5px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.transfer-interest-list strong,
.transfer-confirm-list strong,
.transfer-buyer-row strong {
  color: #174b9d;
  font-size: 12px;
}

.transfer-interest-list span,
.transfer-confirm-list span,
.transfer-interest-list p,
.transfer-buyer-row em {
  margin: 0;
  color: #647087;
  font-size: 10px;
  font-style: normal;
  line-height: 1.45;
}

.transfer-confirm-list em {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 7px;
  color: #087a4d;
  background: #e8fbf6;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.transfer-buyer-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.transfer-buyer-row > input:not([type="checkbox"]) {
  grid-column: 1 / -1;
  width: 100%;
}

.login-welcome,
.login-next-step,
.vote-result-summary {
  display: grid;
  gap: 5px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: #fff8f4;
}

.login-welcome strong,
.login-next-step strong,
.vote-result-summary strong {
  color: var(--red);
  font-size: 16px;
}

.login-welcome span,
.login-next-step span,
.vote-result-summary span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.code-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

.code-input-row button {
  border: 1px solid #e9bcb2;
  border-radius: 8px;
  padding: 0 12px;
  color: #8d1e19;
  background: #fff1eb;
  font-weight: 850;
}

.meeting-invite-picker,
.vote-choice-grid,
.vote-result-list {
  display: grid;
  gap: 8px;
}

.meeting-invite-picker {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: #fffaf7;
}

.meeting-invite-picker > strong {
  color: var(--red);
  font-size: 13px;
}

.meeting-invite-picker > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.meeting-invite-picker label,
.vote-choice-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 8px;
  color: #8d1e19;
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.meeting-invite-picker .select-all-partners {
  color: var(--white);
  background: var(--red);
}

.vote-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vote-scope-panel {
  display: grid;
  gap: 8px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: #fffaf7;
}

.vote-scope-panel > strong {
  color: var(--red);
  font-size: 13px;
}

.vote-scope-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vote-scope-choice label,
.vote-scope-partner-row {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 8px;
  color: #8d1e19;
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
}

.vote-scope-specific {
  display: grid;
  gap: 8px;
}

.vote-scope-specific.is-hidden {
  display: none;
}

.vote-scope-specific p,
.vote-scope-specific small {
  margin: 0;
  color: #7d4b42;
  font-size: 12px;
  line-height: 1.45;
}

.vote-scope-partner-list {
  display: grid;
  gap: 6px;
}

.vote-scope-partner-row {
  justify-content: space-between;
}

.vote-scope-partner-row span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.vote-scope-partner-row input[type="number"] {
  width: 76px;
  min-height: 32px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 6px;
  color: var(--red);
  font-weight: 900;
}

.vote-result-list article {
  display: grid;
  gap: 6px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.vote-result-list article div {
  display: flex;
  justify-content: space-between;
  color: #8d1e19;
  font-size: 12px;
}

.vote-result-list article i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3e5df;
}

.vote-result-list article b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #e8201a;
}

.vote-result-list article b.disagree {
  background: #8d1e19;
}

.vote-result-list article b.abstain {
  background: #c6a59c;
}

.vote-result-list article b.pending {
  background: #9bbbec;
}

.signed-draft-review {
  display: grid;
  gap: 10px;
}

.signed-draft-review .filled-field.is-proposed-change {
  border-color: #8fb1e7;
  background: #f1f6ff;
  box-shadow: inset 3px 0 0 #2867d8;
}

.signed-draft-review .filled-field small {
  display: block;
  margin-top: 7px;
  border-top: 1px dashed #c9daf5;
  padding-top: 6px;
  color: #647087;
  font-size: 10px;
  line-height: 1.45;
}

.change-declaration-card {
  display: grid;
  gap: 8px;
  border: 1px solid #9bbbec;
  border-radius: 8px;
  padding: 11px;
  background: #f4f8ff;
}

.change-declaration-card h3 {
  margin: 0;
  color: #174b9d;
}

.change-declaration-card > div {
  display: grid;
  gap: 3px;
}

.change-declaration-card > div > strong {
  color: #245dbb;
  font-size: 12px;
}

.change-declaration-card > div > span {
  color: #4d3b38;
  font-size: 12px;
  line-height: 1.5;
}

.ratio-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ratio-snapshot span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 6px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 7px;
  background: #fff;
}

.ratio-snapshot strong {
  color: #174b9d;
  font-size: 11px;
}

.ratio-snapshot b {
  color: #647087;
  font-size: 10px;
}

.ratio-snapshot em {
  color: #647087;
  font-size: 9px;
  font-style: normal;
}

.ratio-snapshot i {
  color: #174b9d;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.ratio-snapshot small {
  grid-column: 1 / -1;
  border-radius: 999px;
  padding: 3px 6px;
  color: #647087;
  background: #edf3fb;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
}

.ratio-snapshot span.has-ratio-change {
  border-color: #8fb1e7;
  background: #f1f6ff;
}

.ratio-snapshot small.up {
  color: #087a4d;
  background: #e8fbf6;
}

.ratio-snapshot small.down {
  color: #b7211d;
  background: #fff1ea;
}

.ratio-snapshot .pending-transfer-ratio {
  border-color: #efb44d;
  background: #fff8e8;
}

.ratio-snapshot .ratio-reserve {
  border-style: dashed;
  border-color: #9bbbec;
  background: #f8fbff;
}

.ratio-base-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ratio-base-summary span {
  display: grid;
  gap: 4px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 8px 5px;
  background: #fff;
  text-align: center;
}

.ratio-base-summary strong {
  color: #647087;
  font-size: 9px;
}

.ratio-base-summary b {
  color: #174b9d;
  font-size: 15px;
}

.ratio-mode-section {
  display: grid;
  gap: 8px;
}

.signed-ratio-stepper {
  min-width: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.signed-ratio-stepper-control {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 7px;
  align-items: stretch;
}

.signed-ratio-stepper-control button {
  min-height: 42px;
  border: 1px solid #8eafe4;
  border-radius: 8px;
  color: #174b9d;
  background: #eef5ff;
  font-size: 22px;
  font-weight: 900;
}

.signed-ratio-stepper-control button:active {
  color: #fff;
  background: #245dbb;
}

.ratio-mode-section.is-hidden,
.ratio-preview-error.is-hidden {
  display: none;
}

.ratio-mode-note {
  border-color: #9bbbec;
  background: #f4f8ff;
}

.ratio-preview-head {
  display: grid;
  gap: 3px;
  border-top: 1px solid #c9daf5;
  padding-top: 10px;
}

.ratio-preview-head strong {
  color: #174b9d;
  font-size: 14px;
}

.ratio-preview-head span {
  color: #647087;
  font-size: 10px;
  line-height: 1.45;
}

.ratio-preview-error {
  border: 1px solid #e8201a;
  border-radius: 8px;
  padding: 9px;
  color: #b7211d;
  background: #fff1ea;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
}

.pro-rata-purchase {
  display: grid;
  gap: 7px;
  border: 1px solid #9bbbec;
  border-radius: 8px;
  padding: 9px;
  background: #f4f8ff;
}

.pro-rata-purchase-head {
  display: grid;
  gap: 3px;
}

.pro-rata-purchase-head strong {
  color: #174b9d;
  font-size: 13px;
}

.pro-rata-purchase-head span {
  color: #647087;
  font-size: 10px;
  line-height: 1.45;
}

.pro-rata-purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.pro-rata-purchase-grid article {
  display: grid;
  gap: 3px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 7px;
  background: #fff;
}

.pro-rata-purchase-grid strong {
  color: #174b9d;
  font-size: 10px;
}

.pro-rata-purchase-grid span {
  color: #647087;
  font-size: 9px;
}

.pro-rata-purchase-grid b {
  border-radius: 999px;
  padding: 3px 5px;
  color: #087a4d;
  background: #e8fbf6;
  font-size: 9px;
  text-align: center;
}

.transfer-offer-panel {
  display: grid;
  gap: 10px;
  border-color: #efb44d;
  background: #fffaf0;
}

.transfer-offer-panel article {
  display: grid;
  gap: 6px;
  border: 1px solid #f0d49e;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.transfer-offer-panel article > strong {
  color: #9a5a00;
}

.transfer-offer-panel article > span,
.transfer-offer-panel article > p {
  margin: 0;
  color: #67513b;
  font-size: 11px;
  line-height: 1.5;
}

.plan-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.plan-tabs label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 10px;
  background: #fffaf6;
}

.form-grid label {
  display: grid;
  gap: 5px;
  color: #4d3b38;
  font-size: 13px;
  font-weight: 750;
}

.form-grid .proposal-joint-section.is-hidden {
  display: none;
}

.form-grid:is([data-action="submit-equity-right-type"], [data-action="confirm-authorization-accept"], [data-action="submit-authorization-request"], [data-action="confirm-interview"]) label:has(input[type="radio"]),
.form-grid:is([data-action="submit-equity-right-type"], [data-action="confirm-authorization-accept"], [data-action="submit-authorization-request"], [data-action="confirm-interview"]) label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-grid:is([data-action="submit-equity-right-type"], [data-action="confirm-authorization-accept"], [data-action="submit-authorization-request"], [data-action="confirm-interview"]) input:is([type="radio"], [type="checkbox"]) {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
}

.form-grid:is([data-action="submit-governance-proposal"], [data-action="start-vote"], [data-action="submit-signed-change-vote"], [data-action="submit-vote"], [data-action="submit-equity-transfer"], [data-action="submit-transfer-selection"]) :is(.method-choice-grid, .vote-choice-grid) > label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.form-grid:is([data-action="submit-governance-proposal"], [data-action="start-vote"], [data-action="submit-signed-change-vote"], [data-action="submit-vote"], [data-action="submit-equity-transfer"], [data-action="submit-transfer-selection"]) input:is([type="radio"], [type="checkbox"]) {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
}

.form-grid[data-action="submit-transfer-selection"] > label {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.form-grid[data-action="submit-transfer-selection"] > label > span {
  grid-column: 2;
  line-height: 1.6;
}

.form-grid .visibility-toggle label {
  color: #245dbb;
}

.form-grid .visibility-toggle label:has(input:checked) {
  color: var(--white);
  background: var(--red);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 9px 10px;
  outline: 0;
  background: var(--white);
}

.form-grid select,
.form-grid select option {
  color: #245dbb;
  font-weight: 800;
}

.custom-select-wrap {
  display: grid;
  gap: 7px;
}

.custom-option-input.is-hidden {
  display: none;
}

.custom-option-input {
  border-color: #9bbbec !important;
  color: #174b9d;
  background: #f5f9ff !important;
}

.business-entity-selector,
.business-entity-type {
  display: grid;
  gap: 8px;
}

.business-entity-type.is-hidden {
  display: none;
}

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

.option-chip-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(232, 32, 26, 0.18);
  border-radius: 8px;
  padding: 8px;
  background: #fff7f3;
  color: #1b63b7;
  font-weight: 800;
}

.form-grid input[readonly] {
  color: #8a6760;
  background: #f7eee8;
}

.form-grid textarea {
  min-height: 90px;
  resize: vertical;
}

[data-project-capital-fields] {
  display: grid;
  min-width: 0;
  gap: 12px;
}

[data-project-capital-fields] .method-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid [data-project-capital-fields] .method-choice-grid > label {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  gap: 6px;
  border: 1px solid #ead7ce;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.form-grid [data-project-capital-fields] input[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}

[data-project-capital-fields] .method-choice-grid > label:has(input:checked) {
  border-color: var(--red);
  color: #c21d18;
}

[data-capital-edit] {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-list,
.timeline {
  display: grid;
  gap: 9px;
}

.timeline-item,
.request-item {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
}

.timeline-item strong,
.request-item strong {
  display: block;
  margin-bottom: 4px;
}

.timeline-item span,
.request-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pending-match-grid {
  display: grid;
  gap: 10px;
}

.pending-card {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.pending-card > strong,
.pending-card > span {
  display: block;
}

.pending-card > strong {
  color: #b7211d;
}

.pending-card > span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.match-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.match-links button {
  min-height: 34px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #b7211d;
  background: #fff4ee;
  font-size: 12px;
  font-weight: 900;
}

.detail-link-pair {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.match-link-amp {
  color: #b7211d;
  font-size: 18px;
  font-weight: 950;
}

.signed-partner-link-grid {
  display: grid;
  gap: 10px;
}

.signed-partner-link-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid #ffd2c0;
  border-radius: 12px;
  padding: 10px;
  color: #1f1f1f;
  background: linear-gradient(135deg, #fff7f1, #ffffff);
  text-align: left;
  box-shadow: 0 8px 18px rgba(183, 33, 29, 0.08);
}

.signed-partner-link-ratio {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: var(--link-color, #e8201a);
  font-size: 14px;
  font-weight: 950;
}

.signed-partner-link-copy {
  min-width: 0;
}

.signed-partner-link-copy strong,
.signed-partner-link-copy em,
.signed-partner-link-copy small {
  display: block;
}

.signed-partner-link-copy strong {
  color: #b7211d;
  font-size: 14px;
}

.signed-partner-link-copy em {
  margin-top: 3px;
  color: #4f3b37;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.signed-partner-link-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.signed-partner-link-card > b {
  color: #245dbb;
  font-size: 12px;
  white-space: nowrap;
}

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

.signed-detail-link-grid button {
  border: 1px solid #ffd2c0;
  border-radius: 10px;
  padding: 10px;
  color: #b7211d;
  background: #fff7f1;
  text-align: left;
}

.signed-detail-link-grid strong,
.signed-detail-link-grid span,
.lock-rule-full {
  display: block;
}

.signed-detail-link-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lock-rule-full {
  margin: 8px 0 0;
  color: #7a2b20;
  font-size: 12px;
  line-height: 1.65;
}

.inline-rule-link {
  margin-top: 8px;
  width: 100%;
}

.inline-rule-link.text-link {
  display: inline;
  width: auto;
  margin: 0 0 0 4px;
  border: 0;
  padding: 0;
  color: #245dbb;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
}

.entry-confirm-btn {
  width: 100%;
  margin-top: 10px;
}

.entry-confirm-state {
  margin-top: 10px;
  border: 1px solid #b7e0c3;
  border-radius: 8px;
  padding: 9px 10px;
  color: #167a35;
  background: #f1fff5;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.mini-progress {
  margin-top: 12px;
}

.mini-progress-line {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1ddd5;
}

.mini-progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.mini-progress-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(62px, 1fr));
  gap: 8px 5px;
  margin-top: 8px;
}

.mini-progress.match .mini-progress-steps {
  grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
}

.mini-progress-steps em {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: #9f8278;
  font-size: 9px;
  font-style: normal;
  line-height: 1.15;
  text-align: center;
}

.mini-progress-steps i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #9f8278;
  background: #fff1ea;
  font-style: normal;
  font-weight: 900;
}

.mini-progress-steps em.is-done,
.mini-progress-steps em.is-on {
  color: var(--red);
  font-weight: 800;
}

.mini-progress-steps em.is-done i {
  color: var(--white);
  background: var(--green);
}

.mini-progress-steps em.is-on i {
  color: var(--white);
  background: var(--red);
}

.vertical-progress {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.vertical-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  min-height: 70px;
  padding-bottom: 12px;
}

.vertical-step::before {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 2px;
  content: "";
  background: #f1ddd5;
}

.vertical-step:last-child::before {
  display: none;
}

.progress-index {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-self: start;
}

.progress-index i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #9f8278;
  background: #fff1ea;
  font-style: normal;
  font-weight: 900;
}

.progress-index b {
  display: inline-grid;
  min-width: 48px;
  border-radius: 999px;
  padding: 2px 5px;
  color: var(--red);
  background: #fff1ea;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.vertical-step.is-active strong,
.vertical-action-only.is-active .progress-op-btn {
  color: var(--red);
}

.vertical-step strong {
  display: block;
  color: #4d2d29;
  font-size: 14px;
  line-height: 1.25;
}

.vertical-step span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-line;
}

.vertical-action-only > div > span {
  white-space: pre-line;
}

.interview-hall-after-signing {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  border: 1px solid #bfe7d5;
  border-radius: 8px;
  padding: 12px;
  color: #175c46;
  background: #effbf6;
}

.interview-hall-after-signing span {
  color: #4e6d64;
  font-size: 12px;
  line-height: 1.55;
}

.counterpart-terminated-label {
  display: inline-block;
  border-radius: 6px;
  padding: 8px 10px;
  color: #9f1d18;
  background: #fff0ee;
  font-size: 12px;
  font-weight: 800;
}

.vertical-step.is-done::before {
  background: linear-gradient(var(--green), #f1ddd5);
}

.vertical-step.is-done .progress-index i {
  color: var(--white);
  background: var(--green);
}

.vertical-step.is-active .progress-index i {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(232, 32, 26, 0.1);
}

.vertical-step.is-active strong {
  color: var(--red);
}

.vertical-progress.interview .progress-index i {
  color: #ffffff;
  background: #416b86;
  box-shadow: none;
}

.progress-op-btn {
  min-height: 30px;
  margin-top: 8px;
  border: 1px solid rgba(232, 32, 26, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  color: #b7211d;
  background: #fff1ea;
  font-size: 11px;
  font-weight: 900;
}

.vertical-action-only {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  margin: -3px 0 10px;
}

.vertical-action-only .progress-index i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #245dbb;
  background: #eaf2ff;
  font-style: normal;
  font-weight: 900;
}

.vertical-action-only.is-active .progress-index i {
  color: #fff;
  background: #245dbb;
}

.vertical-action-only .progress-op-btn {
  width: min(100%, 230px);
  margin-top: 0;
  border-color: #c9daf5;
  color: #245dbb;
  background: #f4f8ff;
}

.vertical-progress.small .vertical-step {
  min-height: 52px;
}

.terminate-standalone {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border: 1px dashed #d9968c;
  border-radius: 8px;
  padding: 10px;
  background: #fff8f6;
}

.offer-ratio-control.is-hidden {
  display: none;
}

.multi-filter-form {
  display: grid;
  gap: 12px;
}

.multi-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 52vh;
  overflow: auto;
}

.multi-filter-grid label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 7px 8px;
  color: #245dbb;
  background: #f5f9ff;
  font-size: 12px;
  font-weight: 850;
}

.multi-filter-grid input {
  accent-color: var(--red);
}

.terminate-standalone strong,
.terminate-question {
  margin: 0;
  color: #b7211d;
  font-weight: 900;
}

.terminate-standalone span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.rules-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.rules-nav button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-weight: 760;
}

.mine-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: var(--white);
  background: linear-gradient(145deg, var(--red), #ff6b1a);
}

.profile-row {
  display: grid;
  grid-template-columns: 46px auto;
  gap: 10px;
  align-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  text-align: left;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #b7211d;
  background: #fff8e8;
  font-weight: 900;
}

.profile-row strong {
  display: block;
  font-size: 18px;
}

.profile-row em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.settings-btn {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.profile-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf7;
}

.profile-avatar.large {
  width: 58px;
  height: 58px;
  font-size: 20px;
}

.profile-detail strong,
.profile-detail span {
  display: block;
}

.profile-detail span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.full-btn {
  width: 100%;
  margin-top: 10px;
}

.settings-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.settings-list button,
.settings-list label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 48px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 9px 11px;
  color: #4d2d29;
  background: var(--white);
  text-align: left;
}

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

.settings-list .danger-setting strong {
  color: var(--red);
}

.mine-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mine-action-with-badge {
  position: relative;
}

.mine-action-with-badge b {
  position: absolute;
  top: -7px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 9px;
  padding: 0 4px;
  color: #fff;
  background: #d9281e;
  font-size: 10px;
  line-height: 1;
}

.tab-button[data-action="open-my-interviews"] {
  position: relative;
}

.tab-button[data-action="open-my-interviews"][data-badge]:not([data-badge=""])::after {
  content: attr(data-badge);
  position: absolute;
  top: 2px;
  left: calc(50% + 8px);
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 9px;
  padding: 0 3px;
  color: #fff;
  background: #d9281e;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.interview-progress-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.interview-top-actions {
  display: grid;
  gap: 7px;
  width: min(100%, 210px);
}

.interview-top-actions > button,
.interview-top-actions .terminate-standalone,
.interview-top-actions .terminate-standalone > * {
  width: 100%;
}

.interview-top-actions .terminate-standalone {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.connection-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.connection-input-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.connection-perspective-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.connection-input-links button {
  min-width: 0;
  white-space: normal;
}

.connection-input-links.single-action {
  grid-template-columns: 1fr;
}

.progress-perspective-switch {
  margin: 0 0 10px;
}

.interview-subsidy-btn {
  white-space: nowrap;
}

.interview-list-status {
  display: block;
  color: #b7211d;
  font-weight: 800;
  text-align: center;
}

.connection-card-badge {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  padding: 0 5px;
  color: #fff;
  background: #d9281e;
  font-size: 11px;
}

.mine-action-with-badge b,
.connection-card-badge,
.connection-unread-count,
.tab-button[data-action="open-my-interviews"][data-badge]:not([data-badge=""])::after {
  box-sizing: border-box;
  min-width: 22px;
  width: max-content;
  height: auto;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}
.connection-unread-count { display: inline-grid; place-items: center; color: #c41d16; background: #ffe5e3; font-size: 11px; }
.connection-card-badge.governance-update-count {
  color: #c41d16;
  background: #ffe5e3;
}

.shared-hall-link-card strong .connection-card-badge {
  display: inline-grid;
  vertical-align: middle;
  margin-left: 6px;
  font-style: normal;
}

.remaining-equity-row {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px 0 4px;
  border-top: 1px solid #e6e6e6;
  overflow-wrap: anywhere;
}

.remaining-equity-row strong { font-size: 14px; }
.remaining-equity-row span { color: #b7211d; font-size: 12px; }

.signed-core-grid,
.signed-document-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.signed-core-card,
.signed-document-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 11px;
  color: #44251f;
  background: #fff;
  text-align: left;
}

.signed-core-card span,
.signed-document-list span {
  color: #765d57;
  font-size: 11px;
}

.signed-core-card b,
.signed-document-list b {
  color: #b7211d;
  font-size: 11px;
}

.skill-resource-card .is-salary-line span {
  color: #222;
}

.skill-resource-card .is-salary-line strong {
  color: #d9281e;
}

.is-project-valuation,
.is-project-valuation strong {
  color: #b7211d;
  font-weight: 850;
}

.meeting-participants,
.meeting-agenda {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 11px;
  background: #fffaf7;
}

.meeting-participants > strong,
.meeting-agenda > strong {
  color: #b7211d;
}

.meeting-participants > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.meeting-participants span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 5px;
  align-items: center;
  border-radius: 8px;
  padding: 6px;
  background: var(--white);
  font-size: 10px;
}

.meeting-participants i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-style: normal;
  font-weight: 900;
}

.meeting-participants b {
  color: #18935c;
  font-size: 9px;
}

.meeting-participants .away {
  opacity: 0.55;
}

.meeting-agenda span {
  color: #5d4742;
  font-size: 12px;
  line-height: 1.5;
}

.meeting-agenda button {
  min-height: 34px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #b7211d;
  background: var(--white);
  font-weight: 850;
}

.meeting-history-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.meeting-history-actions button {
  display: grid;
  gap: 3px;
  min-height: 52px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 8px;
  color: #174b9d;
  background: #f4f8ff;
  text-align: left;
}

.meeting-history-actions span {
  color: #647087;
  font-size: 10px;
}

.voice-meeting-panel {
  display: grid;
  gap: 9px;
  margin-bottom: 10px;
  border: 1px solid #c9daf5;
  border-radius: 10px;
  padding: 11px;
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

.voice-meeting-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.voice-meeting-head strong {
  display: block;
  color: #174b9d;
  font-size: 15px;
}

.voice-meeting-head span {
  display: block;
  margin-top: 3px;
  color: #60708a;
  font-size: 11px;
  line-height: 1.45;
}

.voice-meeting-head b {
  border-radius: 999px;
  padding: 5px 8px;
  color: #fff;
  background: #20a657;
  font-size: 10px;
}

.voice-meeting-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.voice-meeting-status article {
  display: grid;
  gap: 3px;
  border: 1px solid #dce8ff;
  border-radius: 8px;
  padding: 7px;
  background: #fff;
}

.voice-meeting-status span {
  color: #778397;
  font-size: 9px;
}

.voice-meeting-status strong {
  color: #1d2d45;
  font-size: 11px;
  line-height: 1.35;
}

.voice-participant-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.voice-participant-strip span {
  display: grid;
  gap: 3px;
  justify-items: center;
  border-radius: 9px;
  padding: 7px 4px;
  background: #eef5ff;
  text-align: center;
}

.voice-participant-strip i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  color: #fff;
  background: #2867d8;
  font-style: normal;
  font-weight: 900;
}

.voice-participant-strip em {
  color: #243653;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.voice-participant-strip b {
  color: #647087;
  font-size: 9px;
}

.voice-participant-strip .is-speaking {
  outline: 2px solid rgba(32, 166, 87, 0.35);
  background: #ebfff5;
}

.voice-participant-strip .is-speaking i {
  background: #20a657;
}

.voice-meeting-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.voice-meeting-actions button {
  min-height: 34px;
  border: 1px solid #bfd2f3;
  border-radius: 8px;
  color: #174b9d;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}

.voice-meeting-tools {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 8px;
  color: #4b5870;
  background: #edf4ff;
  font-size: 10px;
  line-height: 1.45;
}

.history-list {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
}

.history-list article {
  display: grid;
  gap: 5px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  padding: 11px;
  background: #f8fbff;
}

.history-list article strong {
  color: #174b9d;
}

.history-list article span {
  color: #647087;
  font-size: 11px;
}

.history-list article p {
  margin: 0;
  color: #4d3b38;
  font-size: 12px;
  line-height: 1.5;
}

.history-list article button,
.timeline-item button,
.partner-amendment-list button {
  min-height: 34px;
  border: 1px solid #9bbbec;
  border-radius: 8px;
  padding: 7px 9px;
  color: #174b9d;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
}

.partner-amendment-list {
  display: grid;
  gap: 8px;
}

.partner-amendment-list > p {
  margin: 0;
  color: #647087;
  font-size: 11px;
  line-height: 1.5;
}

.partner-amendment-list button {
  display: grid;
  gap: 4px;
}

.partner-amendment-list button span {
  color: #647087;
  font-size: 10px;
  line-height: 1.45;
}

.archive-document {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.archive-document header,
.archive-document section {
  display: grid;
  gap: 5px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  padding: 11px;
  background: #f8fbff;
}

.archive-document header {
  border-color: #9bbbec;
  background: #eef5ff;
}

.archive-document header strong {
  color: #174b9d;
  font-size: 15px;
}

.archive-document header span,
.archive-document p {
  margin: 0;
  color: #4d596d;
  font-size: 11px;
  line-height: 1.6;
}

.archive-document h3 {
  margin: 0;
  color: #174b9d;
  font-size: 13px;
}

.amendment-field-list {
  display: grid;
  gap: 7px;
}

.amendment-field-list article {
  display: grid;
  gap: 3px;
  border-top: 1px dashed #c9daf5;
  padding-top: 7px;
}

.amendment-field-list article strong {
  color: #174b9d;
  font-size: 11px;
}

.amendment-field-list article span {
  color: #647087;
  font-size: 10px;
  line-height: 1.45;
}

.vote-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.vote-archive-grid span {
  display: grid;
  gap: 2px;
  border: 1px solid #c9daf5;
  border-radius: 7px;
  padding: 7px 3px;
  color: #647087;
  background: #fff;
  font-size: 9px;
  text-align: center;
}

.vote-archive-grid strong {
  color: #174b9d;
  font-size: 12px;
}

.mine-actions button {
  min-height: 42px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #b7211d;
  background: var(--white);
  font-weight: 850;
  font-size: 11px;
}

.security-grid {
  display: grid;
  gap: 10px;
}

.security-grid article,
.change-request-box,
.intent-head {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.security-grid strong,
.intent-head strong,
.change-request-box h3 {
  display: block;
  margin: 0 0 6px;
  color: #b7211d;
  font-size: 16px;
}

.security-grid span,
.intent-head span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.modal-grid {
  margin-top: 4px;
}

.agreement-text {
  display: grid;
  gap: 9px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf7;
}

.agreement-text p {
  margin: 0;
  color: #4d2d29;
  font-size: 13px;
  line-height: 1.65;
}

.linked-check {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}

.linked-check button {
  min-height: 28px;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  padding: 0 9px;
  color: #1f5bbb;
  background: #eef5ff;
  font-size: 11px;
  font-weight: 900;
}

.case-analysis {
  display: grid;
  gap: 12px;
}

.case-analysis-hero {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
}

.case-analysis-title,
.case-conclusion {
  display: grid;
  gap: 6px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf7;
}

.case-analysis-title strong,
.case-conclusion strong {
  color: #b7211d;
  font-size: 18px;
}

.case-analysis-title span,
.case-conclusion span {
  color: #4d2d29;
  font-size: 13px;
  line-height: 1.55;
}

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

.case-metric-grid article {
  display: grid;
  gap: 5px;
  border-radius: 8px;
  padding: 10px;
  color: var(--white);
  background: linear-gradient(145deg, #e8201a, #ff7a1a);
}

.case-metric-grid b {
  font-size: 11px;
}

.case-metric-grid strong {
  font-size: 17px;
  line-height: 1.1;
}

.case-metric-grid span {
  font-size: 11px;
  line-height: 1.45;
}

.case-timeline {
  display: grid;
  gap: 10px;
}

.case-timeline article {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 9px;
  background: var(--white);
}

.case-timeline img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.case-timeline div {
  display: grid;
  gap: 5px;
}

.case-timeline strong {
  color: #b7211d;
  font-size: 15px;
}

.case-timeline span {
  color: #4d2d29;
  font-size: 12px;
  line-height: 1.55;
}

.service-chat {
  display: grid;
  gap: 10px;
}

.service-status {
  display: grid;
  gap: 4px;
  border: 1px solid #dbe8ff;
  border-radius: 8px;
  padding: 10px;
  color: #194d9a;
  background: #eef5ff;
}

.service-status strong {
  font-size: 15px;
}

.service-status span {
  font-size: 12px;
  line-height: 1.45;
}

.cooperation-intro {
  display: grid;
  gap: 6px;
}

.cooperation-intro strong {
  color: #b7211d;
  font-size: 17px;
}

.cooperation-intro span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.service-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.service-chip-row span {
  border-radius: 999px;
  padding: 6px 10px;
  color: #1f5bbb;
  background: #eef5ff;
  font-size: 12px;
  font-weight: 900;
}

.cooperation-form label {
  display: grid;
  gap: 6px;
  color: #4d2d29;
  font-size: 13px;
  font-weight: 850;
}

.new-interview-section h2 {
  margin: 0 0 12px;
  color: #b7211d;
  font-size: 22px;
  line-height: 1.1;
}

.change-request-box {
  margin-top: 12px;
}

.change-request-box h3 {
  font-size: 17px;
}

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

.mine-menu.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
}

.mine-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
  font-weight: 760;
}

.mine-menu.compact button {
  justify-content: center;
  min-height: 34px;
  padding: 0 4px;
  font-size: 10px;
  text-align: center;
}

.mine-menu span {
  color: var(--red);
}

.mine-resource-grid {
  padding-bottom: 10px;
}

.my-card,
.my-resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  box-shadow: 0 8px 20px rgba(132, 51, 38, 0.06);
}

.my-resource-item.with-action {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.my-resource-item.with-action > button:first-child {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.my-resource-item.with-action .secondary-btn {
  min-height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.my-resource-item.with-action .card-actions {
  margin-top: 0;
}

.resource-match-panel {
  display: grid;
  gap: 8px;
  border-top: 1px solid #f0ddd5;
  padding-top: 10px;
}

.resource-match-panel > strong {
  margin: 0;
  color: #b7211d;
  font-size: 15px;
}

.resource-match-panel > span {
  line-height: 1.45;
}

.my-card strong,
.my-resource-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.my-card span,
.my-resource-item span {
  color: var(--muted);
  font-size: 12px;
}

.my-card b {
  color: var(--red);
}

.my-resource-list {
  display: grid;
  gap: 9px;
}

.back-link {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-weight: 800;
}

#modal-body .back-link {
  color: #23649b;
  min-height: 36px;
}

.shared-head {
  position: relative;
}

.project-perspective-grid {
  display: grid;
  gap: 10px;
}

.meeting-access-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-color: #ffd0bf;
  background: linear-gradient(135deg, #fff7f1, #ffffff);
}

.meeting-access-card strong {
  display: block;
  color: #b7211d;
  font-size: 17px;
}

.meeting-access-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.governance-vote-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shared-service-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-owner-hall-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.governance-vote-actions button {
  min-height: 44px;
  white-space: normal;
  line-height: 1.35;
}

.shared-detail-panel .inline-agreement {
  margin-top: 8px;
  border-top: 1px solid #f0ded6;
  padding-top: 10px;
}

.detail-preview-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #f0ded6;
  border-radius: 12px;
  background: #fffaf7;
}

.detail-preview-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #3c2d2a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.management-share-selector {
  display: grid;
  gap: 8px;
}

.management-share-ratio {
  display: grid;
  gap: 6px;
}

.management-share-ratio.is-hidden {
  display: none;
}

.management-share-ratio span {
  color: #7a1d1d;
  font-size: 12px;
  font-weight: 900;
}

.buyback-mechanism-selector {
  display: grid;
  gap: 8px;
}

.buyback-detail-block {
  display: grid;
  gap: 6px;
}

.buyback-detail-block.is-hidden {
  display: none;
}

.large-title {
  font-size: 18px;
}

.resource-history-shortcut {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  text-align: center;
}

.card-actions .resource-history-shortcut {
  margin-top: 0;
}

.resource-history-shortcut span {
  display: grid;
  gap: 3px;
}

.resource-history-shortcut strong {
  color: var(--red);
  font-size: 13px;
}

.resource-history-shortcut em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.resource-history-shortcut b {
  color: #245dbb;
  font-size: 12px;
}

.governance-effect-tip {
  border-left: 3px solid var(--red);
  margin: 0;
  padding: 8px 10px;
  color: var(--red);
  background: #fff1ef;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}

.legal-procedure-tip {
  color: var(--red);
  font-weight: 900;
}

.project-progress-panel {
  margin-top: 18px;
  border: 0;
  padding: 16px 12px 12px;
  background: #fff;
  box-shadow: none;
}

.project-progress-panel .section-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 21px;
  font-weight: 950;
}

.shared-hall-link-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.shared-hall-link-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  width: 100%;
  border: 1px solid #ffd2c0;
  border-radius: 12px;
  padding: 12px;
  color: #1f1f1f;
  background: #fff;
  text-align: left;
  box-shadow: 0 6px 16px rgba(183, 33, 29, 0.08);
}

.shared-hall-link-card strong {
  color: #b7211d;
  font-size: 16px;
  font-weight: 950;
}

.shared-hall-link-card span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.shared-hall-link-card b {
  color: #245dbb;
  font-size: 12px;
  white-space: nowrap;
}

.shared-notice-ticker {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #f0c6bb;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 7px 8px;
  background: #fff;
}

.shared-notice-ticker > strong {
  color: var(--red);
  font-size: 13px;
  white-space: nowrap;
}

.shared-notice-scroll {
  overflow: hidden;
  min-height: 28px;
}

.shared-notice-stack {
  display: grid;
  gap: 6px;
  min-height: 92px;
}

.shared-notice-stack button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  min-height: 26px;
  border: 0;
  border-radius: 7px;
  padding: 6px 8px;
  color: #174b9d;
  background: #eef5ff;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
}

.shared-notice-stack em {
  color: #85645d;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.shared-notice-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: notice-scroll 22s linear infinite;
}

.shared-notice-track button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  color: #174b9d;
  background: #eef5ff;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.shared-notice-track em {
  color: #85645d;
  font-style: normal;
  font-weight: 700;
}

.shared-notice-more {
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--white);
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes notice-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.my-project-card .card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.my-project-card .card-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.my-project-card .card-actions > button {
  min-height: 38px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 4px;
  color: #245dbb;
  background: #f4f8ff;
  font-size: 11px;
  font-weight: 850;
}

.my-project-card .primary-btn,
.my-project-card .secondary-btn,
.my-project-card .ghost-btn {
  width: 100%;
}

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

.owner-promotion-actions button {
  min-height: 34px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 4px;
  color: #245dbb;
  background: #f4f8ff;
  font-size: 13px;
  font-weight: 850;
}

.original-publication-link {
  margin: 10px 0;
}

.table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: #fff;
}

.table-scroll::after {
  content: "向右滑动查看更多";
  position: sticky;
  right: 0;
  display: block;
  width: max-content;
  margin-left: auto;
  padding: 4px 8px;
  color: #b7211d;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 35%);
  font-size: 10px;
  font-weight: 900;
}

.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #f1dfd7;
  padding: 9px 8px;
  text-align: left;
  vertical-align: top;
}

.compact-table {
  min-width: 880px;
  font-size: 11px;
}

.compact-table th,
.compact-table td {
  padding: 6px 7px;
  line-height: 1.25;
  white-space: nowrap;
}

.ledger-subsection {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ledger-subsection h3 {
  margin: 0;
  color: #b7211d;
  font-size: 15px;
}

.document-archive-list,
.subsidy-case-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.deposit-counterparty-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.deposit-counterparty-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #f0c9bd;
  border-radius: 12px;
  background: #fff8f4;
}

.deposit-counterparty-card.is-disabled {
  background: #f8f8f8;
  border-color: #e5e5e5;
  color: #777;
}

.deposit-counterparty-card div {
  display: grid;
  gap: 4px;
}

.deposit-counterparty-card strong {
  font-size: 14px;
  color: #251411;
}

.deposit-counterparty-card span,
.deposit-counterparty-card em {
  font-style: normal;
  font-size: 12px;
  color: #73514b;
}

.deposit-counterparty-card.is-disabled span,
.deposit-counterparty-card.is-disabled em {
  color: #888;
}

.shared-record-panel .timeline-item {
  background: #fffdf9;
}

.document-archive-list article,
.subsidy-case-list button,
.deadline-select-block {
  display: grid;
  gap: 5px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
  background: #fffaf7;
  text-align: left;
}

.document-archive-list strong,
.subsidy-case-list strong,
.deadline-select-block strong {
  color: #b7211d;
  font-size: 13px;
}

.document-archive-list span,
.document-archive-list p,
.subsidy-case-list span {
  margin: 0;
  color: #67524d;
  font-size: 11px;
  line-height: 1.45;
}

.archive-subtitle,
.ticket-scan-section h3 {
  margin: 14px 0 6px;
  color: #b7211d;
  font-size: 15px;
  font-weight: 900;
}

.ticket-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
}

.ticket-filter-row label {
  display: grid;
  gap: 5px;
  color: #73514b;
  font-size: 12px;
  font-weight: 800;
}

.ticket-type-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}

.ticket-type-nav button {
  border: 1px solid #f0c9bd;
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff8f4;
  color: #b7211d;
  font-weight: 900;
}

.ticket-type-nav button.is-active {
  border-color: var(--ticket-accent, #e8201a);
  background: var(--ticket-accent, #e8201a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 32, 26, 0.14);
}

.ticket-scan-section {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ticket-scan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.ticket-scan-card {
  display: grid;
  gap: 6px;
  border: 1px solid #ead7ce;
  border-radius: 10px;
  padding: 10px;
  background: #fffaf7;
  box-shadow: 0 8px 20px rgba(90, 35, 20, 0.06);
}

.ticket-scan-card strong {
  color: #251411;
  font-size: 13px;
}

.ticket-scan-card em {
  color: #73514b;
  font-size: 11px;
  font-style: normal;
}

.ticket-scan-thumb {
  position: relative;
  display: grid;
  min-height: 112px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--ticket-accent, #e8201a);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 232, 0.86)),
    repeating-linear-gradient(0deg, rgba(232, 32, 26, 0.06) 0 1px, transparent 1px 13px);
}

.ticket-scan-thumb::before {
  content: "";
  position: absolute;
  inset: 12px 16px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(88, 42, 28, 0.12);
  transform: rotate(-1deg);
}

.ticket-scan-thumb span,
.ticket-scan-thumb i,
.ticket-scan-thumb b {
  position: relative;
  z-index: 1;
}

.ticket-scan-thumb span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--ticket-accent, #e8201a);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.ticket-scan-thumb i {
  color: #251411;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.ticket-scan-thumb b {
  color: var(--ticket-accent, #e8201a);
  font-size: 11px;
}

.agreement-scan-thumb {
  margin-bottom: 4px;
}

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

.ticket-upload-split section {
  display: grid;
  gap: 8px;
  border: 1px solid #ead7ce;
  border-radius: 10px;
  padding: 10px;
  background: #fffaf7;
}

.ticket-upload-split strong {
  color: #b7211d;
  font-size: 13px;
}

.data-table th {
  color: #b7211d;
  background: #fff4ed;
  font-weight: 900;
}

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

.my-resource-published-card .resource-match-panel {
  margin-top: 12px;
}

.shared-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 14px;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 209, 102, 0.42), transparent 28%),
    linear-gradient(145deg, #e8201a, #ff7a1a);
}

.shared-hero h2 {
  margin: 8px 0 5px;
  font-size: 21px;
  line-height: 1.2;
}

.shared-stage {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff7d1;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 850;
}

.shared-kpi {
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 76px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.shared-kpi strong {
  font-size: 24px;
  line-height: 1;
}

.shared-kpi span {
  font-size: 10px;
}

.project-progress-line {
  position: relative;
  height: 7px;
  margin: 14px 4px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1ddd5;
}

.project-progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.project-progress-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}

.project-progress-labels em {
  display: grid;
  gap: 4px;
  justify-items: center;
  color: #9f8278;
  font-size: 9px;
  font-style: normal;
  line-height: 1.15;
  text-align: center;
}

.project-progress-labels i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #9f8278;
  background: #fff1ea;
  font-style: normal;
  font-weight: 900;
}

.project-progress-labels em.is-on {
  color: var(--red);
  font-weight: 800;
}

.project-progress-labels em.is-on i {
  color: var(--white);
  background: var(--red);
}

.rule-stack {
  display: grid;
  gap: 10px;
}

.rule-card,
.accordion {
  border: 1px solid #ead7ce;
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.rule-card {
  padding: 12px;
}

.rule-card h3 {
  margin: 0 0 8px;
  color: #bb221d;
  font-size: 17px;
}

.rule-card p,
.rule-card li {
  color: #584643;
  font-size: 13px;
  line-height: 1.55;
}

.rule-card p {
  margin: 0;
}

.rule-card p.governance-effect-tip {
  color: var(--red);
}

.rule-note {
  margin: -4px 0 12px;
  color: #7d4b42;
  font-size: 12px;
  line-height: 1.5;
}

.rule-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.operation-status-card {
  display: grid;
  gap: 5px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 12px;
  color: #174b9d;
  background: #f4f8ff;
}

.operation-status-card.warning {
  border-color: #efb4a8;
  color: #a3211d;
  background: #fff2ed;
}

.operation-status-card.like {
  border-color: #f0c56b;
  color: #8a4a00;
  background: #fff8df;
}

.operation-status-card strong {
  font-size: 15px;
}

.operation-status-card span {
  font-size: 12px;
  line-height: 1.5;
}

.review-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  padding: 10px;
}

.review-tags legend {
  padding: 0 4px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.review-tags label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid #e4eaf4;
  border-radius: 7px;
  padding: 6px 8px;
  color: #245dbb;
  background: #f8fbff;
}

.accordion summary {
  min-height: 48px;
  padding: 13px 12px;
  color: #b7211d;
  font-weight: 850;
  cursor: pointer;
}

.accordion-content {
  border-top: 1px solid #ead7ce;
  padding: 10px 12px 12px;
  color: #584643;
  font-size: 13px;
  line-height: 1.55;
}

.weight-row,
.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  border-bottom: 1px solid #f1dfd7;
  color: #4a3936;
  font-size: 13px;
}

.weight-row:last-child,
.fee-row:last-child {
  border-bottom: 0;
}

.weight-row strong,
.fee-row strong {
  color: #c11f1b;
}

.truth-deposit-amount {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff1ea;
}

.truth-deposit-amount strong {
  font-size: 20px;
}

.signed-edit-sync,
.subsidy-progress-card {
  display: grid;
  gap: 9px;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 12px;
  background: #f4f8ff;
}

.signed-edit-sync h3,
.subsidy-progress-card > strong {
  margin: 0;
  color: #174b9d;
  font-size: 16px;
}

.signed-edit-sync p,
.subsidy-progress-card p {
  margin: 0;
  color: #5c6574;
  font-size: 12px;
  line-height: 1.5;
}

.signed-edit-sync label {
  display: grid;
  gap: 6px;
  color: #174b9d;
  font-size: 12px;
  font-weight: 850;
}

.signed-edit-sync input,
.signed-edit-sync textarea {
  width: 100%;
  border: 1px solid #c9daf5;
  border-radius: 8px;
  padding: 9px;
  background: var(--white);
  font: inherit;
}

.subsidy-progress-line {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe8ff;
}

.subsidy-progress-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2867d8, #20a657);
}

.resource-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.resource-types span {
  border-radius: 999px;
  padding: 5px 8px;
  color: #275c56;
  background: #e8fbf6;
  font-size: 12px;
  font-weight: 700;
}

.tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 430px);
  min-height: 68px;
  margin: 0 auto;
  border-top: 1px solid #ead7ce;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(69, 28, 22, 0.1);
  backdrop-filter: blur(12px);
}

.tab-button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  color: #8a716c;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}

.tab-button span:last-child {
  line-height: 1.1;
  text-align: center;
}

.tab-button[data-action="open-my-interviews"] span:last-child {
  font-size: 9px;
}

.interview-center-grid,
.interview-request-list {
  display: grid;
  gap: 12px;
}

.interview-request-card > span {
  display: block;
  margin-top: 5px;
}

.interview-counterpart-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.interview-counterpart-links button {
  border: 0;
  padding: 0;
  color: #1769d2;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-counterpart-links {
  padding: 2px 0 10px;
}

.post-interview-input-form label {
  color: #d7261e;
  font-weight: 800;
}

.post-interview-input-form label input,
.post-interview-input-form label select,
.post-interview-input-form label textarea {
  color: #33201d;
  font-weight: 500;
}

.conditional-form-block {
  display: grid;
  gap: 12px;
}

.conditional-form-block.is-hidden {
  display: none;
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 16px;
}

.tab-button.is-active {
  color: var(--red);
}

.tab-button.is-active .tab-icon {
  color: var(--white);
  background: linear-gradient(145deg, var(--red), var(--orange));
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(33, 22, 20, 0.46);
}

.modal.is-hidden {
  display: none;
}

.modal-panel {
  width: min(100%, 430px);
  max-height: min(84vh, 760px);
  overflow: auto;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(24, 12, 10, 0.25);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ead7ce;
  padding: 14px;
  background: var(--white);
}

.modal-head h2 {
  margin: 0;
  font-size: 18px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #9b302c;
  background: #fffaf6;
  font-size: 24px;
  line-height: 1;
}

.modal-body {
  padding: 14px;
}

.modal-body .vertical-progress :is(.vertical-step, .vertical-action-only) {
  grid-template-columns: 34px minmax(0, 1fr);
}

.modal-body .vertical-progress :is(button, strong, p) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 86px;
  left: 16px;
  z-index: 30;
  max-width: 398px;
  margin: 0 auto;
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  background: rgba(36, 27, 26, 0.92);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

/* Polished cover-card pass: real SVG badge + tighter promotional hierarchy. */
.home-resource-grid .resource-orange-card {
  overflow: hidden;
  border: 1px solid #f0c7bc;
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 12px 24px rgba(186, 31, 24, 0.15),
    0 4px 10px rgba(255, 165, 110, 0.18);
}

.home-resource-grid .resource-orange-card .listing-media,
.home-resource-grid .resource-orange-card .listing-media img,
.home-resource-grid .resource-orange-card .media-gradient {
  height: 128px;
  min-height: 128px;
}

.home-resource-grid .resource-orange-card .listing-body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 226px;
  padding: 10px 80px 8px 10px;
  background:
    linear-gradient(180deg, rgba(255, 249, 244, 0.94), #fff 21%),
    #fff;
  box-shadow:
    inset 0 3px 0 #e51f18,
    inset 0 -1px 0 #ffe4dc;
}

.resource-mainline {
  gap: 7px;
  min-height: 54px;
}

.resource-mainline h3 {
  color: #17110f;
  font-size: 23px;
  font-weight: 1000;
  line-height: 1;
}

.resource-mainline strong {
  color: #251716;
  font-size: 12.8px;
  font-weight: 820;
  line-height: 1.05;
  white-space: nowrap;
}

.title-trust-badges {
  gap: 3px;
  margin-left: 3px;
}

.title-trust-badges b {
  padding: 2px 5px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.title-trust-badges b:first-child {
  color: #fff;
  background: #d91f18;
}

.title-trust-badges b:nth-child(2) {
  color: #b51412;
  background: #ffe56f;
}

.resource-cover-fields {
  gap: 0;
  margin-top: 2px;
}

.resource-cover-fields .cover-line,
.resource-cover-fields .cover-line:nth-child(2),
.resource-cover-fields .cover-line:nth-child(3),
.resource-cover-fields .cover-line:nth-child(6) {
  min-height: 16px;
  padding: 0 2px;
  background: transparent;
  box-shadow: none;
}

.resource-cover-fields .cover-line strong,
.resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line:nth-child(4) strong {
  max-width: 100%;
  font-size: 11.8px;
  line-height: 1.08;
  white-space: nowrap;
}

.resource-cover-fields .cover-line.is-black-line strong {
  color: #1d1715;
  font-weight: 770;
}

.resource-cover-fields .cover-line.is-money-line {
  justify-content: flex-start;
  gap: 4px;
}

.resource-cover-fields .cover-line.is-money-line span {
  flex: 0 0 auto;
  max-width: none;
  color: #1d1715;
  font-size: 11px;
  font-weight: 920;
}

.resource-cover-fields .cover-line.is-money-line strong,
.resource-cover-fields .cover-line.is-money-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line:nth-child(3) strong,
.skill-resource-card .resource-cover-fields .cover-line.is-money-line:nth-child(4) strong {
  color: #d51e18;
  font-size: 12px;
  font-weight: 980;
  white-space: nowrap;
}

.home-resource-grid .skill-resource-card .resource-cover-fields {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.home-resource-grid .skill-resource-card .resource-cover-fields .cover-line.is-money-line {
  flex-wrap: wrap;
}

.home-resource-grid .skill-resource-card .resource-cover-fields .cover-line.is-money-line strong {
  white-space: normal;
  text-align: left;
}

.resource-cover-fields .cover-line.is-original-line span,
.resource-cover-fields .cover-line.is-primary-line span {
  font-size: 12px;
  font-weight: 980;
}

.resource-cover-fields .cover-line.is-original-line strong,
.resource-cover-fields .cover-line.is-primary-line strong {
  font-size: 14.3px;
  font-weight: 1000;
}

.resource-cover-fields .cover-line.is-tool-line {
  min-height: 36px;
}

.resource-cover-fields .cover-line.is-tool-line strong {
  display: -webkit-box;
  max-height: 32px;
  overflow: hidden;
  line-height: 1.18;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-orange-card .cost-down.flame {
  top: 66px;
  right: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 88px;
  min-height: 0;
  margin: 0;
  padding: 19px 8px 9px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: url("assets/flame-badge.svg") center / contain no-repeat;
  clip-path: none;
  box-shadow: none;
}

.resource-orange-card .cost-down.flame span,
.resource-orange-card .cost-down.flame strong {
  color: #fff;
  text-shadow: 0 1px 2px rgba(112, 0, 0, 0.45);
}

.resource-orange-card .cost-down.flame span {
  font-size: 10.5px;
  font-weight: 950;
  line-height: 1;
}

.resource-orange-card .cost-down.flame strong {
  max-width: 52px;
  font-size: 16px;
  font-weight: 1000;
  line-height: 1.02;
}

.resource-orange-card .owner-line {
  margin-top: auto;
  margin-right: -70px;
  padding-top: 5px;
  color: #9f1714;
  font-size: 10.4px;
  font-weight: 850;
}

.resource-orange-card .owner-line .verified {
  color: #e11b68;
  background: #fff0f6;
}

.resource-orange-card .card-actions {
  margin-top: 5px;
  margin-right: -70px;
}

.resource-orange-card .card-actions .secondary-btn {
  border-color: #ffc4ac;
  color: #b91d17;
  background: #fff2ea;
}

.project-cover-card {
  overflow: hidden;
  border: 1px solid #bdd8ff;
  border-radius: 15px;
  background: #fff;
  box-shadow:
    0 12px 24px rgba(15, 82, 183, 0.16),
    0 4px 13px rgba(255, 134, 32, 0.18);
}

.project-cover-card .project-listing-media,
.project-cover-card .project-listing-media img {
  height: 148px;
  min-height: 148px;
}

.project-cover-card .listing-body {
  display: flex;
  flex-direction: column;
  min-height: 356px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.98), #fff 24%),
    #fff;
  box-shadow:
    inset 0 3px 0 #0d64d8,
    inset 0 -1px 0 #ffd6a1;
}

.home-resource-grid .project-cover-card .listing-title h3 {
  color: #063f98;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
}

.project-cover-card .title-trust-badges b:first-child {
  background: #0d63d8;
}

.project-cover-card .title-trust-badges b:nth-child(2) {
  color: #9b4700;
  background: #ffd46e;
}

.project-cover-fields {
  gap: 1px;
  margin-top: 12px;
  border: 0;
  padding: 0;
  background: transparent;
}

.project-cover-line,
.project-cover-line:nth-child(2n) {
  min-height: 18px;
  padding: 1px 4px;
  background: transparent;
  box-shadow: none;
}

.project-cover-line.is-project-intro {
  min-height: 40px;
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 7px 8px;
  background: #eef6ff;
  box-shadow: inset 3px 0 0 #1d6de0;
}

.project-cover-line.is-project-intro strong {
  color: #0a55bd;
  font-size: 12.2px;
  font-weight: 850;
  line-height: 1.28;
}

.project-cover-line.is-project-blue strong {
  color: #074cae;
  font-size: 12.1px;
  font-weight: 930;
}

.project-cover-line.is-project-orange strong {
  color: #ed7417;
  font-size: 12.1px;
  font-weight: 960;
}

.project-cover-line.is-project-wants {
  min-height: 22px;
  border-radius: 7px;
  background: linear-gradient(90deg, #ff9e22, #ff7118);
  box-shadow: 0 5px 11px rgba(232, 97, 10, 0.16);
}

.project-cover-line.is-project-wants strong {
  color: #fff;
  font-size: 12.2px;
  font-weight: 1000;
}

.project-cover-card .owner-line {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3px;
  color: #e26f13;
  font-size: 9.7px;
  line-height: 1;
  white-space: nowrap;
}

.project-cover-card .owner-line span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.project-cover-card .owner-line .verified {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 2px 3px;
  color: #e26f13;
  background: #fff4e7;
  font-size: 8.2px;
}

.project-cover-card .card-actions {
  margin-top: 7px;
}

.project-cover-card .card-actions .secondary-btn {
  border-color: #b8d4ff;
  color: #0d52b6;
  background: #eef6ff;
}

/* Reference-matched artwork: uploaded-style white double arrows and red flame badge. */
.up-double-mark,
.double-arrow-mark,
.case-double-arrow {
  display: inline-block;
  width: 78px;
  height: 36px;
  margin-left: 7px;
  background: url("assets/double-arrow.svg") center / contain no-repeat;
  filter: drop-shadow(0 3px 3px rgba(115, 0, 0, 0.24));
  vertical-align: middle;
}

.up-double-mark::before,
.up-double-mark::after,
.double-arrow-mark i,
.case-double-arrow::before,
.case-double-arrow::after {
  display: none;
}

.up-double-small {
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-left: 4px;
  background: url("assets/double-arrow.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(170, 0, 0, 0.26));
  vertical-align: -2px;
}

.up-double-small::before,
.up-double-small::after,
.category-panel.cool .up-double-small::before,
.category-panel.cool .up-double-small::after {
  display: none;
}

.category-panel.cool .up-double-small {
  filter: drop-shadow(0 2px 2px rgba(20, 74, 168, 0.25));
}

.category-panel .up-double-small {
  border-radius: 5px;
  background:
    url("assets/double-arrow.svg") center / 34px 16px no-repeat,
    linear-gradient(180deg, #ff5536, #df130f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.category-panel.cool .up-double-small {
  background:
    url("assets/double-arrow.svg") center / 34px 16px no-repeat,
    linear-gradient(180deg, #287bff, #1251c9);
}

.resource-orange-card .cost-down.flame {
  top: 76px;
  right: 9px;
  width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #ff5b40 0, #ed1b13 42%, #bb0700 100%);
  box-shadow: 0 8px 16px rgba(194, 11, 0, 0.22);
  clip-path: none;
}

.resource-orange-card .cost-down.flame span {
  font-size: 11px;
  font-weight: 1000;
}

.resource-orange-card .cost-down.flame strong {
  max-width: 58px;
  font-size: 15px;
  font-weight: 1000;
  white-space: nowrap;
}

/* Homepage marketing polish: stronger campaign feel without changing content. */
.app-shell {
  background:
    linear-gradient(180deg, #fff2ec 0%, #fff8f4 32%, #f8eee8 100%);
}

.hero-top {
  position: relative;
  overflow: hidden;
  padding: 10px 14px 10px;
  background:
    linear-gradient(115deg, rgba(255, 238, 186, 0.18) 0 18%, transparent 18% 28%, rgba(255, 255, 255, 0.14) 28% 34%, transparent 34%),
    linear-gradient(180deg, #ff2a19 0%, #df100e 53%, #ff6818 100%);
  box-shadow: inset 0 -12px 24px rgba(153, 0, 0, 0.12);
}

.hero-top::before,
.hero-top::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero-top::before {
  top: 55px;
  right: -54px;
  width: 210px;
  height: 72px;
  border: 1px solid rgba(255, 244, 221, 0.28);
  border-radius: 999px;
  transform: rotate(-12deg);
}

.hero-top::after {
  left: -28px;
  right: -28px;
  bottom: -18px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255, 245, 238, 0), rgba(255, 245, 238, 0.92));
}

.hero-top > * {
  position: relative;
  z-index: 1;
}

.search-row {
  border: 2px solid rgba(255, 236, 221, 0.96);
  padding: 5px;
  background:
    linear-gradient(180deg, #ffffff, #fff7f2);
  box-shadow:
    0 10px 22px rgba(128, 9, 8, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.78);
}

.search-row input {
  padding: 8px 11px;
  color: #9a1713;
  font-weight: 800;
}

.search-row button {
  min-height: 35px;
  border-radius: 999px;
  padding: 0 17px;
  background:
    linear-gradient(180deg, #ff3b2e, #d80f10);
  box-shadow:
    0 8px 14px rgba(154, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 15px;
  font-weight: 950;
}

.quick-grid {
  gap: 7px;
  border: 0;
  border-radius: 14px;
  padding: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 235, 0.96));
  box-shadow:
    0 13px 24px rgba(122, 14, 11, 0.18),
    inset 0 0 0 1px rgba(255, 222, 206, 0.95);
}

.quick-tile {
  grid-template-columns: 34px 1fr;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  padding: 6px 7px;
  background:
    linear-gradient(180deg, #fff, #fff8f1);
  box-shadow:
    inset 0 0 0 1px #ffe3d6,
    0 6px 12px rgba(209, 52, 25, 0.08);
}

.quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 17px;
  box-shadow:
    0 8px 14px rgba(232, 32, 26, 0.21),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.quick-tile strong {
  color: #241615;
  font-size: 14px;
  font-weight: 950;
}

.quick-tile span:last-child {
  color: #b72c22;
  font-size: 9.5px;
  font-weight: 850;
}

.value-strip {
  position: relative;
  min-height: 38px;
  margin: 4px -3px 5px;
  border-radius: 10px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(141, 0, 0, 0.24), transparent 18%, transparent 82%, rgba(141, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(255, 78, 33, 0.4), rgba(186, 0, 0, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(115, 0, 0, 0.18);
  font-size: 21px;
  font-weight: 1000;
}

.case-banner {
  min-height: 142px;
  border: 3px solid rgba(255, 245, 235, 0.98);
  border-radius: 18px;
  background: #2b0d09;
  box-shadow:
    0 16px 28px rgba(126, 16, 11, 0.24),
    inset 0 0 0 1px rgba(255, 210, 178, 0.5);
}

.case-banner img {
  width: 61%;
  filter: saturate(1.13) contrast(1.05);
}

.case-copy {
  min-height: 142px;
  margin-left: 39%;
  padding: 15px 11px 10px 23px;
  background:
    linear-gradient(90deg, rgba(255, 246, 239, 0.7), rgba(255, 255, 255, 0.96) 32%, #fff1dd 100%);
}

.case-copy h1 span {
  font-size: 22px;
}

.case-copy h1 strong {
  color: #c71515;
  font-size: 20px;
  font-weight: 1000;
}

.case-stat-row {
  gap: 6px;
}

.case-stat-row > div {
  border: 1px solid rgba(255, 199, 167, 0.9);
  background: #fff;
  box-shadow:
    0 6px 12px rgba(199, 50, 30, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.case-stat-main strong,
.case-stat-row .project-stat strong {
  color: #d31717;
  font-size: 14.5px;
}

.category-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 196, 0.92);
  border-radius: 16px;
  padding: 8px 8px 6px;
  background:
    linear-gradient(180deg, #fff, #fff8f3);
  box-shadow:
    0 12px 22px rgba(132, 51, 38, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.category-panel.cool {
  border-color: rgba(197, 221, 255, 0.95);
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.category-panel .section-head {
  margin-bottom: 6px;
}

.category-panel .section-title {
  font-size: 17px;
  font-weight: 1000;
}

.category-panel .section-title small {
  margin-left: 2px;
  font-size: 15px;
  font-weight: 1000;
}

.more-link {
  border-radius: 999px;
  padding: 4px 8px;
  color: #b71c17;
  background: #fff0e8;
  font-size: 11px;
  font-weight: 900;
}

.category-panel.cool .more-link {
  color: #1859bd;
  background: #eef6ff;
}

.category-grid {
  gap: 5px 3px;
}

.category-item {
  grid-template-rows: 31px auto;
  gap: 3px;
  min-height: 52px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 244, 0.82));
}

.category-panel.cool .category-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 249, 255, 0.84));
}

.cat-icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  font-size: 16px;
  box-shadow:
    0 7px 12px rgba(40, 103, 216, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.category-item span:last-child {
  color: #1f1715;
  font-size: 9.5px;
  font-weight: 850;
}

.home-resource-section {
  padding-top: 7px;
}

.compact-section-head {
  position: relative;
  margin-bottom: 9px;
  border-radius: 12px;
  padding: 7px 9px;
  background:
    linear-gradient(90deg, #fff, #fff1e7);
  box-shadow:
    inset 4px 0 0 #e8201a,
    0 8px 16px rgba(146, 39, 30, 0.08);
}

.project-home-grid + .compact-section-head,
.home-resource-section:has(.project-home-grid) .compact-section-head {
  background:
    linear-gradient(90deg, #fff, #eef6ff);
  box-shadow:
    inset 4px 0 0 #2867d8,
    0 8px 16px rgba(25, 83, 181, 0.08);
}

.compact-section-head .section-title {
  font-size: 17px;
  font-weight: 1000;
}

.home-resource-grid {
  gap: 10px;
}

.tabbar {
  border-top-color: rgba(232, 32, 26, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 248, 243, 0.97));
  box-shadow:
    0 -10px 24px rgba(120, 25, 16, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (max-width: 380px) {
  .case-copy {
    margin-left: 36%;
    padding-left: 26px;
  }

  .case-copy h1 {
    font-size: 23px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .listing-card.compact {
    grid-template-columns: 1fr;
  }

  .rules-nav {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  body {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.6)),
      #f0e5df;
  }

  .app-shell {
    height: calc(100dvh - 24px);
    min-height: calc(100vh - 24px);
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .tabbar {
    border-radius: 18px 18px 0 0;
  }
}

/* Final homepage marketing refinements */
.value-strip .up-double-mark,
.category-panel .up-double-small {
  background:
    url("assets/double-arrow.svg") center / contain no-repeat,
    linear-gradient(180deg, #ff5536, #df130f);
  border-radius: 5px;
}

.value-strip .up-double-mark {
  width: 70px;
  height: 33px;
  margin-left: 8px;
}

.category-panel .up-double-small {
  width: 42px;
  height: 22px;
  background-size: 34px 16px, auto;
}

.category-panel.cool .up-double-small {
  background:
    url("assets/double-arrow.svg") center / 34px 16px no-repeat,
    linear-gradient(180deg, #287bff, #1251c9);
}

.case-stat-row > div {
  background: #fff;
  border-color: #dbe8ff;
}

.case-stat-main strong,
.case-stat-row .project-stat strong {
  display: grid;
  place-items: center;
  gap: 1px;
  width: 100%;
  min-height: 42px;
  color: #245dbb;
  background: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}

.case-stat-main strong span,
.case-stat-row .project-stat strong span {
  display: block;
  color: #245dbb;
  font-size: 13px;
}

.case-stat-main strong b,
.case-stat-row .project-stat strong b {
  display: block;
  width: auto;
  padding: 0;
  color: #245dbb;
  background: #fff;
  box-shadow: none;
  font-size: 24px;
  font-weight: 1000;
  line-height: 0.98;
}

/* 2026-09 hall/share interaction updates */
.home-rule-banner {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 220, 90, 0.26), transparent 32%),
    linear-gradient(135deg, #e01512, #ff6b24);
  box-shadow: 0 14px 26px rgba(198, 28, 20, 0.24);
  text-align: left;
}

.home-rule-banner strong {
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.08;
}

.home-rule-banner span {
  font-size: 14px;
  font-weight: 850;
  opacity: 0.94;
}

.home-promo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(126, 22, 16, 0.16);
}

.home-promo-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  border: 0;
  border-radius: 0;
  padding: 10px 8px;
  background: transparent;
  color: #2c2422;
  box-shadow: none;
  text-align: center;
}

.home-promo-icon {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
  font-style: normal;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
}

.home-promo-icon.flow {
  background: #eaf3ff;
}

.home-promo-icon.protect {
  background: #e9f8ee;
}

.home-promo-icon.share {
  background: #fff0e8;
}

.home-promo-row button + button {
  border-left: 1px solid #eadbd6;
}

.home-promo-row strong {
  display: block;
  font-size: 16px;
  font-weight: 1000;
  white-space: nowrap;
}

.home-promo-row span {
  display: grid;
  gap: 3px;
  color: #2c2422;
  text-align: left;
}

.home-promo-row small {
  color: #8b5b51;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.co-creation-flow-image {
  margin: 0;
}

.co-creation-flow-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.co-creation-flowchart {
  display: grid;
  gap: 0;
}

.flowchart-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 0 0 18px;
}

.flowchart-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 3px;
  left: 20px;
  width: 2px;
  background: #f2b4a2;
}

.flowchart-step i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #d92c20;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

.flowchart-step span,
.protection-guide-list article {
  display: grid;
  gap: 5px;
  border: 1px solid #f1d4ca;
  border-radius: 8px;
  padding: 11px 12px;
  background: #fffaf7;
}

.flowchart-step strong,
.protection-guide-list strong {
  color: #841c18;
  font-size: 15px;
}

.flowchart-step small,
.protection-guide-list span {
  color: #654b46;
  font-size: 13px;
  line-height: 1.55;
}

.protection-guide-list,
.signing-confirmation-group {
  display: grid;
  gap: 10px;
}

.signing-confirmation-group {
  border: 1px solid #eccfc4;
  border-radius: 8px;
  padding: 12px;
  background: #fffaf7;
}

.signing-confirmation-group > strong {
  color: #9f201a;
  font-size: 16px;
}

.signing-confirmation-group label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .home-promo-row {
    gap: 0;
  }

  .home-promo-row button {
    gap: 5px;
    padding: 9px 5px;
  }

  .home-promo-row strong {
    font-size: 13px;
  }

  .home-promo-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .home-promo-row small {
    font-size: 10px;
  }
}

.share-page-panel {
  display: grid;
  gap: 14px;
}

.share-hongmao-btn {
  margin-top: 2px;
}

.share-copy-card {
  display: grid;
  gap: 8px;
  border: 1px solid #ffd5c4;
  border-radius: 12px;
  padding: 12px;
  background: #fff8f1;
}

.share-copy-card strong {
  color: #b01413;
  font-size: 15px;
  font-weight: 950;
}

.share-copy-card span {
  color: #3c2724;
  font-size: 14px;
  line-height: 1.55;
}

.hall-category-wrapper {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.hall-category-wrapper h2 {
  margin: 0;
  color: #b01413;
  font-size: 19px;
  font-weight: 1000;
}

.hall-mega-category {
  display: grid;
  gap: 10px;
  border: 1px solid #ffd1bf;
  border-radius: 14px;
  padding: 10px;
  background: #fffaf6;
}

.hall-mega-category > summary {
  margin: 0;
  color: #b01413;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}

.hall-mega-category > summary::-webkit-details-marker {
  display: none;
}

.hall-mega-category > summary::after {
  content: "›";
  float: right;
  transition: transform 0.2s ease;
}

.hall-mega-category[open] > summary::after {
  transform: rotate(90deg);
}

.hall-category-block {
  display: grid;
  gap: 8px;
  border: 1px solid #ffe0d1;
  border-radius: 12px;
  padding: 10px;
  background: linear-gradient(180deg, #fff, #fff8f3);
}

.hall-category-block h3 {
  margin: 0;
  color: #3b2521;
  font-size: 14px;
  font-weight: 1000;
}

.hall-category-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hall-category-actions button {
  min-height: 40px;
  padding: 8px 10px;
  white-space: normal;
  line-height: 1.25;
}

.hall-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hall-primary-grid button {
  min-height: 54px;
  padding: 8px 6px;
  white-space: normal;
  line-height: 1.25;
}

.more-progress-btn {
  margin-top: 10px;
}

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

.payment-method-grid button {
  border: 1px solid #ffd5c4;
  border-radius: 12px;
  padding: 12px 10px;
  color: #b01413;
  background: #fff;
  font-weight: 900;
}

.payment-method-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid #ffd5c4;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.payment-method-grid label:has(input:checked) {
  border-color: #cf302a;
}

.payment-method-grid input[type="radio"] {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  padding: 0;
}
.attachment-preview {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
}

.attachment-preview img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
