: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);
  --shadow-elevated: 0 18px 50px rgba(158, 34, 25, 0.16);
  --radius-control: 10px;
  --radius-card: 18px;
  --radius-sheet: 28px;
  --touch-target: 44px;
  --bottom-space: 86px;
  --hero-body-end: #fff0e9;
  --hero-body-overlap: 64px;
}

* {
  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;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(232, 32, 26, 0.12);
}

.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(6, 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: 1px;
  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 {
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.owner-line img {
  width: 13px;
  height: 13px;
  flex: none;
  margin-right: 4px;
  object-fit: contain;
  vertical-align: -1px;
}

.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: 1px;
  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: 1px;
  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 img,
.resource-orange-card .owner-line img {
  width: 12px;
  height: 12px;
  margin-right: 3px;
}

.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;
}

.message-page {
  min-height: 100%;
  overflow-x: hidden;
  color: #2f201d;
}

.message-hero {
  position: relative;
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 15px 18px 28px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(255, 238, 186, 0.16) 0 17%, transparent 17% 30%, rgba(255, 255, 255, 0.1) 30% 35%, transparent 35%),
    linear-gradient(135deg, #f52018 0%, #ed1d16 48%, #ff6a1b 100%);
  box-shadow: inset 0 -18px 36px rgba(153, 0, 0, 0.1);
}

.message-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 28%,
      rgba(255, 236, 224, 0.14) 48%,
      rgba(255, 240, 233, 0.42) 64%,
      rgba(255, 244, 238, 0.76) 78%,
      var(--hero-body-end) 90%,
      var(--hero-body-end) 100%
    );
  pointer-events: none;
}

.message-hero::after {
  position: absolute;
  right: -42px;
  bottom: 8px;
  width: 190px;
  height: 62px;
  border: 1px solid rgba(255, 239, 211, 0.34);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.message-hero-copy,
.message-hero-art {
  position: relative;
  z-index: 1;
}

.message-hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 40px);
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 4px 10px rgba(155, 27, 16, 0.28);
}

.message-hero-copy p {
  margin: 13px 0 0;
  color: #fff8e9;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.message-hero-art {
  flex: 0 0 142px;
  margin: 3px -13px -8px -16px;
}

.message-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.message-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-top: calc(-1 * var(--hero-body-overlap));
  padding: 27px 12px 18px;
  background: transparent;
}

.message-thread-panel,
.message-notice-panel {
  min-width: 0;
  border: 1px solid #efd7ca;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 20px rgba(111, 42, 25, 0.07);
}

.message-thread-panel {
  padding: 12px 12px 0;
}

.message-thread-panel h2,
.message-notice-panel h2 {
  margin: 0;
  color: #b7211d;
  font-size: 18px;
  line-height: 1.2;
}

.message-thread-list,
.message-notice-list {
  display: grid;
}

.message-thread-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 36px;
  gap: 9px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  border: 0;
  border-bottom: 1px solid #f0dfd6;
  padding: 8px 0;
  color: #2a211f;
  background: transparent;
  text-align: left;
}

.message-thread-row:last-child {
  border-bottom: 0;
}

.message-thread-avatar {
  display: block;
  width: 58px;
  height: 58px;
  border: 2px solid #fff4ed;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 9px rgba(99, 37, 24, 0.13);
}

.message-thread-copy {
  min-width: 0;
}

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

.message-thread-copy strong {
  overflow: hidden;
  color: #251b19;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-thread-copy em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #75645e;
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.message-thread-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 3px 0;
}

.message-thread-meta b {
  color: #9b8179;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.message-thread-meta i {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--white);
  background: #f11d18;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(218, 25, 20, 0.2);
}

.message-notice-panel {
  padding: 12px 12px 2px;
  background: linear-gradient(180deg, #fffaf6, #fffdfb);
}

.message-notice-list {
  margin-top: 7px;
}

.message-notice-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid #f0dfd6;
  padding: 6px 0;
}

.message-notice-chevron {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.64;
}

.message-notice-row:last-child {
  border-bottom: 0;
}

.message-notice-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff2a18, #ff7c24);
}

.message-notice-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.message-notice-row strong,
.message-notice-row em {
  display: block;
}

.message-notice-row strong {
  color: #2f211e;
  font-size: 15px;
}

.message-notice-row em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  color: #74645f;
  font-size: 11px;
  font-style: normal;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 374px) {
  .message-hero {
    min-height: 124px;
    padding-inline: 14px;
  }

  .message-hero-art {
    flex-basis: 128px;
    margin-right: -16px;
  }

  .message-content {
    padding-inline: 10px;
  }

  .message-thread-panel {
    padding-inline: 11px;
  }

  .message-thread-row {
    grid-template-columns: 54px minmax(0, 1fr) 34px;
    gap: 8px;
    min-height: 96px;
  }

  .message-thread-avatar {
    width: 54px;
    height: 54px;
  }

  .message-thread-copy strong {
    font-size: 15px;
  }
}

.cooperation-page {
  min-height: 100%;
  overflow-x: hidden;
  color: #2f201d;
}

.cooperation-hero {
  position: relative;
  min-height: 184px;
  overflow: hidden;
  color: var(--white);
}

.cooperation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 28%,
      rgba(255, 236, 224, 0.14) 48%,
      rgba(255, 240, 233, 0.42) 64%,
      rgba(255, 244, 238, 0.76) 78%,
      var(--hero-body-end) 90%,
      var(--hero-body-end) 100%
    );
  pointer-events: none;
}

.cooperation-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cooperation-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 184px;
  flex-direction: column;
  justify-content: center;
  max-width: 62%;
  padding: 8px 0 14px 20px;
  text-shadow: 0 4px 12px rgba(132, 11, 4, 0.3);
}

.cooperation-hero-copy h1 {
  margin: 0;
  font-size: clamp(35px, 10vw, 42px);
  line-height: 1;
  letter-spacing: -2px;
}

.cooperation-hero-copy p {
  margin: 17px 0 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.cooperation-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-top: calc(-1 * var(--hero-body-overlap));
  padding: 26px 14px 20px;
  background: transparent;
}

.cooperation-readiness,
.cooperation-form-section {
  border: 1px solid #efd6c9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 20px rgba(111, 42, 25, 0.07);
}

.cooperation-readiness {
  padding: 17px 17px 16px;
}

.cooperation-readiness h2 {
  margin: 0;
  color: #472c27;
  font-size: 14px;
  line-height: 1.3;
}

.cooperation-readiness-list {
  display: grid;
  margin-top: 8px;
}

.cooperation-readiness-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 9px;
  align-items: center;
  min-height: 68.25px;
  border-bottom: 1px solid #f0dfd7;
  padding: 5px 0;
}

.cooperation-readiness-row:last-child {
  border-bottom: 0;
}

.cooperation-readiness-row > img {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.cooperation-readiness-copy {
  min-width: 0;
}

.cooperation-readiness-copy strong,
.cooperation-readiness-copy em {
  display: block;
}

.cooperation-readiness-copy strong {
  color: #211817;
  font-size: 15px;
  line-height: 1.25;
}

.cooperation-readiness-copy em {
  margin-top: 4px;
  color: #806c66;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.cooperation-readiness-state {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #9b7a72;
  font-size: 11px;
}

.cooperation-readiness-state img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.cooperation-readiness-state b {
  font-weight: 750;
  white-space: nowrap;
}

.cooperation-start {
  display: grid;
  min-height: 44px;
  margin-top: 10px;
  place-items: center;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, #f21d17, #ff371f);
  box-shadow: 0 8px 18px rgba(220, 28, 20, 0.2);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.cooperation-form {
  gap: 12px;
}

.cooperation-form-section {
  min-width: 0;
  margin: 0;
  padding: 15px 14px 16px;
}

.cooperation-form-section legend {
  display: contents;
}

.cooperation-form-section h2 {
  margin: 0 0 11px;
  color: #c9221d;
  font-size: 19px;
  line-height: 1.2;
}

.cooperation-fields {
  display: grid;
  gap: 12px;
}

.form-grid .cooperation-fields label {
  gap: 7px;
  color: #382522;
  font-size: 14px;
  font-weight: 800;
}

.form-grid .cooperation-fields label.is-required::before {
  position: absolute;
  color: var(--red);
  content: "*";
  transform: translateX(-9px);
}

.form-grid .cooperation-fields input,
.form-grid .cooperation-fields textarea {
  min-height: 48px;
  border-color: #eadbd4;
  border-radius: 10px;
  padding: 11px 12px;
  color: #352521;
  background: #fffefd;
  box-shadow: inset 0 1px 2px rgba(79, 31, 21, 0.03);
}

.form-grid .cooperation-fields input::placeholder,
.form-grid .cooperation-fields textarea::placeholder {
  color: #b0a4a0;
  font-weight: 500;
}

.form-grid .cooperation-fields input:focus,
.form-grid .cooperation-fields textarea:focus {
  border-color: #f04438;
  box-shadow: 0 0 0 3px rgba(232, 32, 26, 0.11);
}

.cooperation-submit {
  min-height: 50px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
}

@media (max-width: 374px) {
  .cooperation-hero,
  .cooperation-hero-copy {
    min-height: 174px;
  }

  .cooperation-hero-copy {
    max-width: 64%;
    padding-left: 16px;
  }

  .cooperation-hero-copy p {
    font-size: 12.5px;
  }

  .cooperation-content {
    padding-inline: 10px;
  }

  .cooperation-readiness {
    padding-inline: 14px;
  }

  .cooperation-readiness-row {
    grid-template-columns: 40px minmax(0, 1fr) 38px;
    gap: 8px;
    min-height: 68.25px;
  }

  .cooperation-readiness-row > img {
    width: 40px;
    height: 40px;
  }
}

.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-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 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;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  border-color: #f1d8ce;
  border-radius: var(--radius-card);
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(145, 42, 31, 0.08);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.publish-choice:hover,
.publish-choice:focus-visible {
  border-color: #eda89a;
  box-shadow: 0 12px 30px rgba(158, 34, 25, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.publish-choice:active {
  transform: translateY(1px);
}

.publish-choice-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.publish-choice strong {
  color: #b7211d;
  font-size: 23px;
  line-height: 1.1;
}

.publish-choice-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.publish-choice-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.publish-choice-icon-resource {
  filter: drop-shadow(0 8px 12px rgba(191, 38, 30, 0.18));
}

.publish-choice-icon-resource img {
  filter: none;
}

.publish-choice-icon-project {
  filter: drop-shadow(0 8px 12px rgba(40, 103, 216, 0.2));
}

.publish-choice b {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.publish-choice-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff0eb;
}

.publish-choice-arrow img {
  width: 18px;
  height: 18px;
}

.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;
}

.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;
}

.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: start;
}

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

.method-choice-head input[type="checkbox"],
.form-grid .method-choice-head input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 1px 0 0;
  border: 1.5px solid #e4b7aa;
  border-radius: 4px;
  padding: 0;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.method-choice-head input[type="checkbox"]:checked,
.form-grid .method-choice-head input[type="checkbox"]:checked {
  border-color: var(--red);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3 6.6 11.4 12.6 4.6'/%3E%3C/svg%3E")
      center / 11px 11px no-repeat,
    var(--red);
}

.method-choice-head input[type="checkbox"]:disabled {
  cursor: default;
}

.method-choice-head strong {
  font-size: 12px;
  line-height: 1.35;
  padding-top: 0;
}

.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 .visibility-toggle label {
  color: #245dbb;
}

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

.form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.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;
}

.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;
}

.vertical-step 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;
}

.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;
}

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

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

.vertical-step.is-active 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);
}

.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 > 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 .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, 1fr);
  gap: 8px;
}

.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;
}

/* Mine page: identity-first composition selected from the visual exploration. */
.mine-page {
  min-height: calc(100dvh - 42px);
  padding-bottom: 14px;
}

.mine-profile-hero {
  position: relative;
  min-height: 206px;
  overflow: hidden;
  padding: 44px 20px 36px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 4%, rgba(255, 230, 119, 0.38), transparent 23%),
    linear-gradient(132deg, #ef2019 0%, #f33a1f 52%, #ff7b21 100%);
}

.mine-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 28%,
      rgba(255, 236, 224, 0.14) 48%,
      rgba(255, 240, 233, 0.42) 64%,
      rgba(255, 244, 238, 0.76) 78%,
      var(--hero-body-end) 90%,
      var(--hero-body-end) 100%
    );
  pointer-events: none;
}

.mine-page-body {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 12px;
  margin-top: calc(-1 * var(--hero-body-overlap));
  padding: 26px 17px 0;
  background: transparent;
}

.mine-resource-cards {
  min-width: 0;
}

.mine-page .home-resource-grid {
  align-items: stretch;
  gap: 11px;
}

.mine-page .home-resource-grid .home-resource-card-layout {
  height: 100%;
}

.mine-profile-topline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mine-profile-button {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  text-align: left;
}

.mine-profile-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #e9251d;
  background: linear-gradient(145deg, #fffef7, #ffe6b9);
  box-shadow: 0 9px 24px rgba(135, 20, 9, 0.22);
  font-size: 27px;
  font-weight: 950;
}

.mine-profile-copy strong,
.mine-profile-copy em {
  display: block;
}

.mine-profile-copy strong {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.mine-profile-copy em {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-style: normal;
}

.mine-settings-button {
  position: relative;
  z-index: 4;
  min-width: 52px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: rgba(145, 20, 5, 0.14);
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(4px);
}

.mine-profile-hero > p {
  position: relative;
  z-index: 3;
  max-width: 190px;
  margin: 19px 0 0 2px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1.5;
}

.mine-profile-glow,
.mine-profile-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.mine-profile-glow {
  right: 18px;
  bottom: 18px;
  width: 132px;
  height: 132px;
  background: radial-gradient(circle, rgba(255, 218, 99, 0.48), rgba(255, 176, 40, 0.04) 68%, transparent 69%);
}

.mine-profile-orbit {
  right: -28px;
  bottom: 13px;
  width: 190px;
  height: 90px;
  border: 1px solid rgba(255, 238, 192, 0.32);
  transform: rotate(-9deg);
}

.mine-profile-hero-art {
  position: absolute;
  right: 12px;
  bottom: 27px;
  z-index: 2;
  width: 148px;
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(125, 27, 4, 0.25));
}

.mine-profile-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.mine-primary-panel,
.mine-service-panel,
.mine-recent-panel {
  overflow: hidden;
  border: 1px solid rgba(240, 191, 172, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 9px 24px rgba(160, 56, 31, 0.08);
}

.mine-primary-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 7px 0;
}

.mine-primary-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 6px;
  min-height: 76px;
  border: 0;
  padding: 8px 15px;
  color: #342521;
  background: transparent;
  text-align: left;
}

.mine-primary-link + .mine-primary-link {
  border-left: 1px solid #f0dfd7;
}

.mine-primary-link > img:first-child {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
}

.mine-primary-link span,
.mine-primary-link strong,
.mine-primary-link em {
  display: block;
  min-width: 0;
}

.mine-primary-link strong {
  font-size: 16px;
  line-height: 1.3;
}

.mine-primary-link em {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: #9a7469;
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mine-row-arrow {
  width: 9px !important;
  height: 16px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.mine-service-panel,
.mine-recent-panel {
  padding: 13px 12px 10px;
}

.mine-service-panel h2,
.mine-recent-panel h2 {
  margin: 0;
  color: #351f1b;
  font-size: 16px;
  line-height: 1.25;
}

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

.mine-service-item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  min-height: 84px;
  border: 0;
  border-radius: 12px;
  padding: 3px;
  color: #4b3029;
  background: transparent;
  font-size: 12px;
  font-weight: 720;
}

.mine-service-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.mine-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.mine-section-heading > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  border: 0;
  padding: 0 2px 0 12px;
  color: #a57a6e;
  background: transparent;
  font-size: 11px;
}

.mine-section-heading > button img {
  width: 7px;
  height: 12px;
  object-fit: contain;
}

.mine-recent-list {
  display: grid;
}

.mine-recent-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  min-height: 88px;
  border: 0;
  padding: 7px 2px;
  color: #39231f;
  background: transparent;
  text-align: left;
}

.mine-recent-row + .mine-recent-row {
  border-top: 1px solid #f1dfd7;
}

.mine-recent-thumb {
  width: 120px;
  height: 68px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(124, 49, 34, 0.12);
}

.mine-recent-copy strong,
.mine-recent-copy em,
.mine-recent-copy small {
  display: block;
}

.mine-recent-titleline {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.mine-recent-copy strong {
  min-width: 0;
  margin-right: 2px;
  font-size: 14px;
  line-height: 1.3;
}

.mine-recent-titleline i {
  flex: 0 0 auto;
  border: 1px solid #ff9a58;
  border-radius: 999px;
  padding: 1px 3px;
  color: #ee3c23;
  background: #fff5ed;
  font-size: 7px;
  font-style: normal;
  font-weight: 750;
}

.mine-recent-copy em {
  margin-top: 5px;
  color: #9a7469;
  font-size: 10px;
  font-style: normal;
}

.mine-recent-copy small {
  margin-top: 4px;
  color: #71534b;
  font-size: 10px;
}

@media (max-width: 374px) {
  .mine-profile-hero {
    padding-inline: 16px;
  }

  .mine-profile-hero-art {
    right: 4px;
    width: 138px;
  }

  .mine-primary-link {
    grid-template-columns: 40px minmax(0, 1fr) 9px;
    gap: 6px;
    padding-inline: 12px;
  }

  .mine-primary-link > img:first-child {
    width: 40px;
    height: 40px;
  }

  .mine-page-body {
    padding-inline: 12px;
  }

  .mine-recent-row {
    grid-template-columns: 104px minmax(0, 1fr) 9px;
    gap: 8px;
  }

  .mine-recent-thumb {
    width: 104px;
  }
}

.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;
}

.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 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: 2px solid rgba(232, 32, 26, 0.38);
  padding: 16px 12px 12px;
  background: #fff8f4;
  box-shadow: 0 5px 16px rgba(183, 33, 29, 0.1);
}

.project-progress-panel .section-title {
  margin-bottom: 12px;
  color: var(--red);
  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 > .primary-btn {
  grid-column: 1 / -1;
}

.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;
}

@media (max-width: 420px) {
  .owner-promotion-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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;
}

.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;
}

.guide-screen {
  overflow-x: hidden;
  color: #342421;
}

.guide-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  overflow: hidden;
  padding: 15px 18px 28px;
  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 -18px 36px rgba(153, 0, 0, 0.1);
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: auto -28px -64px 36%;
  height: 112px;
  border: 1px solid rgba(255, 226, 184, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.guide-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.guide-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 8.8vw, 38px);
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 4px 10px rgba(155, 27, 16, 0.3);
}

.guide-hero p {
  margin: 9px 0 0;
  color: #fff8e9;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.guide-hero-art {
  position: relative;
  z-index: 2;
  flex: 0 0 124px;
  margin: 2px -8px -6px -12px;
}

.guide-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin-top: calc(-1 * var(--hero-body-overlap));
  padding: 26px 14px 14px;
  background: transparent;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 28%,
      rgba(255, 236, 224, 0.14) 48%,
      rgba(255, 240, 233, 0.42) 64%,
      rgba(255, 244, 238, 0.76) 78%,
      var(--hero-body-end) 90%,
      var(--hero-body-end) 100%
    );
  pointer-events: none;
}

.guide-safety-panel,
.guide-mechanism-panel {
  min-width: 0;
  border: 1px solid #ecd3c8;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(111, 42, 25, 0.08);
}

.guide-safety-panel {
  padding: 10px 10px 8px;
}

.guide-section-heading,
.guide-mechanism-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-section-heading > img {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.guide-section-heading h2,
.guide-mechanism-head h2,
.guide-feature-copy h2 {
  margin: 0;
  line-height: 1.15;
}

.guide-section-heading h2 {
  color: #c51d18;
  font-size: 19px;
}

.guide-section-heading p,
.guide-mechanism-head p,
.guide-feature-copy p {
  margin: 5px 0 0;
  line-height: 1.45;
}

.guide-section-heading p {
  color: #6f5d57;
  font-size: 12px;
}

.guide-safety-list {
  margin-top: 7px;
  border: 1px solid #eadbd5;
  border-radius: 14px;
  padding: 0 9px;
  background: #fffdfb;
}

.guide-safety-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px dashed #eadbd5;
  padding: 5px 0;
}

.guide-safety-item:last-child {
  border-bottom: 0;
}

.guide-safety-item img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.guide-safety-item strong,
.guide-safety-item span {
  display: block;
}

.guide-safety-item strong {
  color: #382521;
  font-size: 14px;
}

.guide-safety-item span {
  margin-top: 2px;
  color: #75645e;
  font-size: 10px;
  line-height: 1.45;
}

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

.guide-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 168px;
  overflow: hidden;
  border: 1px solid rgba(181, 64, 30, 0.16);
  border-radius: var(--radius-card);
  padding: 10px 9px 8px;
  color: var(--white);
  box-shadow: 0 9px 20px rgba(146, 37, 21, 0.12);
}

.guide-feature-danger {
  isolation: isolate;
  background-color: #d51d17;
  background-image: linear-gradient(135deg, #ed2018 0%, #dd1d17 58%, #ff6333 100%);
}

.guide-feature-commitment {
  isolation: isolate;
  color: #fff8e9;
  background-color: #a94f07;
  background-image: linear-gradient(135deg, #d5740f 0%, #f39a16 58%, #ffc14a 100%);
}

.guide-feature-danger::before {
  position: absolute;
  top: 17px;
  right: 48px;
  z-index: 0;
  display: grid;
  width: 58px;
  height: 70px;
  place-items: center;
  content: "!";
  color: rgba(255, 239, 221, 0.2);
  background: rgba(255, 226, 199, 0.18);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-size: 45px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.guide-feature-copy {
  position: relative;
  z-index: 1;
}

.guide-feature-copy h2 {
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.3px;
  text-shadow: 0 1px 4px rgba(110, 8, 4, 0.32);
}

.guide-feature-commitment .guide-feature-copy h2 {
  color: #fffdf5;
  text-shadow: 0 1px 4px rgba(126, 50, 5, 0.34);
}

.guide-feature-copy p {
  max-width: 126px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.guide-feature-commitment .guide-feature-copy p {
  color: #fff8e9;
  text-shadow: 0 1px 2px rgba(126, 50, 5, 0.24);
}

.guide-feature-art {
  position: absolute;
  top: 43px;
  right: 7px;
  width: 66px;
  height: 66px;
  margin: 0;
  object-fit: contain;
}

.guide-feature-rules {
  display: grid;
  margin-top: auto;
  border-radius: 12px;
  background: #fffdfb;
}

.guide-rule {
  min-width: 0;
}

.guide-screen .guide-rule {
  border: 0;
  border-bottom: 1px solid #eddcd4;
  border-radius: 0;
  background: transparent;
}

.guide-screen .guide-rule:last-child {
  border-bottom: 0;
}

.guide-screen .guide-rule summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 8px;
  color: #3d2b27;
  list-style: none;
  transition: background-color 200ms ease;
}

.guide-screen .guide-rule summary:active {
  background: rgba(255, 240, 233, 0.52);
}

.guide-screen .guide-rule[open] summary {
  background: rgba(255, 247, 242, 0.82);
}

.guide-screen .guide-rule summary::-webkit-details-marker {
  display: none;
}

.guide-rule-icon {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.guide-rule-copy,
.guide-rule-copy strong,
.guide-rule-copy small {
  display: block;
  min-width: 0;
}

.guide-rule-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.guide-rule-copy small {
  margin-top: 4px;
  color: #7b6963;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.guide-rule-chevron {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-rule[open] .guide-rule-chevron {
  transform: rotate(90deg);
}

.guide-screen .guide-rule .accordion-content {
  overflow: hidden;
  height: 0;
  border-top: 1px solid transparent;
  padding: 0 10px;
  background: #fffaf6;
  color: #584643;
  line-height: 1.55;
  transition:
    height 260ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 260ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms ease,
    background-color 220ms ease;
}

.guide-screen .guide-rule[open] .accordion-content {
  border-top-color: #f0e1da;
  padding: 10px;
}

.guide-screen .guide-rule[open]:not(.is-animating) .accordion-content {
  height: auto;
}

.guide-feature-rule {
  margin-top: auto;
  border-radius: 12px !important;
  background: #fffdfb !important;
}

.guide-feature-rule + .guide-feature-rule {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.guide-feature-rules .guide-feature-rule:first-child {
  border-bottom: 1px solid #ead7ce;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.guide-feature-card > .guide-feature-rule summary,
.guide-feature-rules .guide-feature-rule summary {
  grid-template-columns: minmax(0, 1fr) 18px;
  min-height: 44px;
  padding: 7px 8px;
}

.guide-feature-card > .guide-feature-rule .guide-rule-copy strong {
  color: #c91d17;
  text-align: center;
}

.guide-feature-rules .guide-rule-copy strong {
  font-size: 11px;
}

.guide-feature-card .accordion-content {
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  .guide-screen .guide-rule .accordion-content,
  .guide-screen .guide-rule summary,
  .guide-rule-chevron {
    transition: none;
  }
}

.guide-mechanism-panel {
  padding: 10px 10px 10px;
}

.guide-mechanism-head {
  padding: 0 2px 7px;
}

.guide-mechanism-head > img {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.guide-mechanism-head > div {
  min-width: 0;
}

.guide-mechanism-head h2 {
  font-size: 18px;
}

.guide-mechanism-head p {
  color: #78655f;
  font-size: 11px;
}

.guide-mechanism-head > span {
  margin-left: auto;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.guide-mechanism-list {
  border: 1px solid #eadbd5;
  border-radius: 14px;
  padding: 0 6px;
  background: #fffdfb;
}

.guide-mechanism-list .guide-rule summary {
  min-height: 58px;
  padding-block: 7px;
}

@media (max-width: 374px) {
  .guide-hero {
    min-height: 112px;
    padding-inline: 14px;
  }

  .guide-hero p {
    font-size: 15px;
  }

  .guide-hero-art {
    flex-basis: 116px;
    margin-right: -14px;
  }

  .guide-content {
    padding-inline: 10px;
  }

  .guide-feature-grid {
    gap: 8px;
  }

  .guide-feature-card {
    padding-inline: 8px;
  }

  .guide-feature-copy h2 {
    font-size: 17px;
  }
}

.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(6, 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-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;
  overscroll-behavior: contain;
  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: 1;
  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;
}

.modal-title-group {
  min-width: 0;
}

.modal-subtitle-line {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ead7ce;
  border-radius: 8px;
  color: #9b302c;
  background: #fffaf6;
  padding: 0;
}

.close-symbol {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  transform: translateY(-0.5px);
}

.modal-body {
  padding: 14px;
}

.modal-panel.publish-launch {
  overflow: auto;
  border: 1px solid rgba(255, 209, 190, 0.92);
  border-radius: var(--radius-sheet) var(--radius-sheet) 18px 18px;
  background: #fffaf6;
  box-shadow: 0 24px 70px rgba(68, 19, 15, 0.34);
}

.modal-panel.publish-launch .modal-head {
  position: relative;
  overflow: hidden;
  align-items: center;
  min-height: 56px;
  border-bottom: 0;
  padding: 14px 22px;
  color: var(--white);
  background:
    url("./assets/decor/value-light-arcs.svg") right -18px top -36px / 240px auto no-repeat,
    linear-gradient(145deg, #fb2519 0%, #e8201a 48%, #ff6818 100%);
}

.modal-panel.publish-launch .modal-head h2 {
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.modal-panel.publish-launch .modal-subtitle-line {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.modal-panel.publish-launch .icon-button {
  flex: 0 0 auto;
  width: var(--touch-target);
  height: var(--touch-target);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.9);
}

.modal-panel.publish-launch .modal-body {
  padding: 14px 16px 8px;
  background: linear-gradient(180deg, #fff5ed 0%, #fffdf9 72%);
}

.publish-rules-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--touch-target);
  margin: 2px auto -2px;
  border: 0;
  padding: 8px 16px;
  color: var(--muted);
  background: transparent;
  font-size: 14px;
  font-weight: 750;
}

.publish-rules-link img {
  width: 14px;
  height: 14px;
}

@media (max-width: 374px) {
  .publish-choice {
    grid-template-columns: 56px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 14px;
  }

  .publish-choice-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .publish-choice strong {
    font-size: 21px;
  }
}

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

.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;
}

.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);
}

/* Homepage color bridge: keep the campaign red, warm resource area, and cool
   project area in one continuous surface instead of stacking hard white cards. */
.home-screen {
  background:
    linear-gradient(
      180deg,
      #ff6a1b 0,
      #fff0e6 13%,
      #fff7f2 29%,
      #fffaf8 48%,
      #fff8f4 72%,
      #f1f7ff 100%
    );
}

.hero-top {
  box-shadow:
    inset 0 -18px 30px rgba(153, 0, 0, 0.13),
    0 10px 28px rgba(232, 80, 25, 0.12);
}

.category-panel {
  background:
    linear-gradient(180deg, rgba(255, 247, 240, 0.98), rgba(255, 252, 250, 0.96) 72%, rgba(255, 248, 243, 0.92));
  box-shadow:
    0 -10px 24px rgba(255, 112, 46, 0.08),
    0 12px 22px rgba(132, 51, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.category-panel.cool {
  background:
    linear-gradient(180deg, rgba(255, 250, 247, 0.97), rgba(248, 251, 255, 0.98) 72%, rgba(238, 247, 255, 0.94));
  box-shadow:
    0 -10px 24px rgba(255, 148, 99, 0.06),
    0 12px 22px rgba(25, 83, 181, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

@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;
}

/* Homepage V1 — reproduction of the supplied 864 × 1821 visual at ~0.5 scale. */
:root {
  --bottom-space: 52px;
}

.home-screen {
  min-height: 100%;
  padding-bottom: 8px;
  color: #17120f;
  background: linear-gradient(180deg, #fbc9b2 0 40%, #fdebe1 62%, #fff9f4 100%);
}

.home-screen .hero-top {
  position: relative;
  overflow: hidden;
  padding: 9px 11px 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 234, 133, 0.26), transparent 28%),
    linear-gradient(180deg, #e40000 0%, #ed190c 56%, #f76b31 100%);
  box-shadow: none;
}

.home-screen .hero-top::before,
.home-screen .hero-top::after {
  display: none;
}

.home-screen .search-row {
  grid-template-columns: 1fr 72px;
  gap: 0;
  height: 39px;
  padding: 3px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #fef8f4;
  box-shadow: 0 0 0 1px #f4c8be, 0 7px 15px rgba(136, 7, 2, 0.22);
}

.home-screen .search-row input {
  height: 31px;
  padding: 5px 10px;
  color: #555057;
  font-size: 14px;
  font-weight: 620;
}

.home-screen .search-row input::placeholder {
  color: #555057;
  opacity: 1;
}

.home-screen .search-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 29px;
  height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f52218 0%, #d90000 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 8px rgba(148,0,0,.24);
  font-size: 14px;
  font-weight: 950;
}

.home-screen .search-row button img {
  width: 17px;
  height: 17px;
}

.home-screen .quick-grid {
  gap: 0;
  height: 54px;
  margin-top: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 9px;
  background: linear-gradient(180deg, #fffefd, #fff6f0);
  box-shadow: 0 8px 16px rgba(128,20,10,.18);
}

.home-screen .quick-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  padding: 2px 10px;
  border: 0;
  border-right: 1px solid #f2cfc4;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.home-screen .quick-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.home-screen .quick-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.home-screen .quick-copy strong {
  color: #17120f;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
}

.home-screen .quick-copy span {
  color: #3f3532;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.05;
  white-space: nowrap;
}

.home-screen .value-strip {
  position: relative;
  display: block;
  height: 50px;
  min-height: 50px;
  margin: 0 -11px;
  overflow: hidden;
  border-radius: 0;
  background: #f82508;
  box-shadow: none;
}

.home-screen .value-light-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.home-screen .value-slogan {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  filter: drop-shadow(0 3px 1px rgba(124,0,0,.28));
}

.home-screen .value-slogan strong {
  font-size: 28px;
  font-weight: 1000;
  font-style: italic;
  line-height: 1;
  letter-spacing: -1.6px;
  white-space: nowrap;
}

.home-screen .value-slogan img {
  width: 59px;
  height: 39px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,225,90,.86));
}

.home-screen .value-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: calc(100% - 46px);
  height: 27px;
  margin: -1px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 999px;
  background: rgba(193,0,0,.22);
  box-shadow: inset 0 0 8px rgba(120,0,0,.32), 0 0 7px rgba(255,220,130,.55);
}

.home-screen .value-metrics span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.home-screen .value-metrics span + span {
  border-left: 1px solid rgba(255,255,255,.75);
}

.home-screen .value-metrics b {
  color: #ffe13c;
  font-size: 21px;
  font-weight: 1000;
}

.home-screen .case-banner {
  height: 128px;
  min-height: 128px;
  margin-top: 0;
  border: 2px solid #fff8f2;
  border-radius: 15px;
  background: #2d1512;
  box-shadow: 0 9px 17px rgba(138,16,5,.25), 0 0 12px rgba(255,133,66,.35);
}

.home-screen .case-banner > img:first-child {
  width: 57%;
  height: 100%;
  object-position: 37% center;
  filter: saturate(1.08) contrast(1.03);
}

.home-screen .case-banner::after {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 37%;
  width: 23%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,248,241,.92) 82%);
  pointer-events: none;
}

.home-screen .case-ribbon {
  position: absolute;
  z-index: 4;
  top: 6px;
  left: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100px;
  padding: 3px 0;
  color: #fff;
  background: linear-gradient(180deg, #ff4a27, #e40808);
  box-shadow: 0 2px 5px rgba(97,0,0,.3);
  font-size: 11px;
  font-weight: 950;
  transform: rotate(-35deg);
}

.home-screen .case-ribbon img {
  width: 10px;
  height: 13px;
}

.home-screen .case-copy {
  z-index: 2;
  height: 124px;
  min-height: 124px;
  margin-left: 45%;
  padding: 14px 11px 8px 22px;
  background: linear-gradient(90deg, rgba(255,248,241,.68), #fff7ee 26%, #fde7d6 100%);
}

.home-screen .case-copy h1 {
  gap: 4px;
  margin-bottom: 10px;
  line-height: 1;
}

.home-screen .case-copy h1 span {
  gap: 7px;
  color: #d90c0b;
  font-size: 24px;
  font-weight: 1000;
  white-space: nowrap;
}

.home-screen .case-copy h1 em {
  padding: 4px 6px;
  color: #1f7a45;
  background: #e7f6ec;
  font-size: 10px;
  font-weight: 900;
}

.home-screen .case-copy h1 strong {
  color: #d90c0b;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.05;
  white-space: nowrap;
}

.home-screen .case-perks {
  display: none;
}

.home-screen .case-perks span {
  border-radius: 999px;
  padding: 3px 7px;
  color: #fff;
  background: linear-gradient(180deg, #ff4b40, #d80d0b);
  box-shadow: 0 2px 4px rgba(155,0,0,.2);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.home-screen .case-stat-row {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding-right: 0;
}

.home-screen .case-stat-row > div {
  min-width: 0;
  border: 1px solid #f4d8c9;
  border-radius: 9px;
  padding: 3px 4px;
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff;
}

.home-screen .case-stat-main strong,
.home-screen .case-stat-row .project-stat strong {
  min-height: 31px;
  color: #e01611;
  background: transparent;
  font-size: 10px;
}

.home-screen .case-stat-main strong span,
.home-screen .case-stat-row .project-stat strong span {
  color: #e01611;
  font-size: 10px;
}

.home-screen .case-stat-main strong b,
.home-screen .case-stat-row .project-stat strong b {
  color: #e01611;
  background: transparent;
  font-size: 19px;
}

.home-screen .case-coins-arrow {
  position: absolute;
  z-index: 3;
  inset: auto -3px -2px auto;
  width: 53px;
  height: 61px;
  object-fit: contain;
  pointer-events: none;
}

.home-screen .section.category-panel {
  width: calc(100% - 20px);
  margin: 0 10px;
  border: 1px solid #f6cdbd;
  border-radius: 10px;
  padding: 0 6px 4px;
  background: linear-gradient(180deg, #fffdfb, #fff7f0);
  box-shadow: 0 5px 10px rgba(177,54,31,.1);
}

.home-screen .section.category-panel + .section.category-panel {
  margin-top: 5px;
}

.home-screen .category-panel .section-head {
  min-height: 26px;
  margin: 0 -6px 1px;
}

.home-screen .category-panel .section-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 5px;
  margin: 0;
  padding: 2px 13px 2px 8px;
  color: #fff;
  background: linear-gradient(180deg, #ff3d2a, #e20b09);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  font-size: 16px;
  font-weight: 1000;
  line-height: 1;
}

.home-screen .category-panel.cool .section-title {
  background: linear-gradient(180deg, #289bff, #1264e8);
}

.home-screen .section-flame {
  width: 12px;
  height: 16px;
  object-fit: contain;
}

.home-screen .category-panel .up-double-small {
  width: 36px;
  height: 22px;
  margin: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
  filter: none;
}

.home-screen .category-panel .section-title small {
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 950;
}

.home-screen .more-link {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 7px;
  padding: 0;
  color: #e11710;
  background: transparent;
  font-size: 11px;
  font-weight: 900;
}

.home-screen .more-link img {
  width: 6px;
  height: 11px;
}

.home-screen .category-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.home-screen .category-item {
  grid-template-rows: 41px 14px;
  gap: 0;
  min-width: 0;
  min-height: 55px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-screen .category-panel.cool .category-item {
  background: transparent;
}

.home-screen .cat-icon {
  align-self: end;
  width: 42px;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 3px 3px rgba(71,35,17,.12));
  box-shadow: none;
}

.home-screen .category-item span:last-child {
  align-self: end;
  color: #17120f;
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.home-screen .home-resource-section {
  position: relative;
  margin: 5px 10px 0;
  border: 1px solid #f7d8cb;
  border-radius: 12px;
  padding: 26px 3px 7px;
  overflow: hidden;
  background: rgba(255,250,246,.78);
  box-shadow: 0 5px 12px rgba(169,66,39,.08);
}

.home-screen .resource-recommend-title {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 19px 0 9px;
  color: #fff;
  background: linear-gradient(180deg, #ff432e, #df0807);
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  font-size: 16px;
  font-weight: 1000;
}

.home-screen .resource-recommend-title img {
  width: 12px;
  height: 16px;
}

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

.home-screen .home-resource-grid .resource-orange-card {
  border: 1px solid #f4cbbd;
  border-radius: 11px;
  box-shadow: 0 7px 13px rgba(176,47,24,.12);
}

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

.home-screen .resource-orange-card .listing-media img {
  object-fit: cover;
  object-position: center;
}

.home-screen .resource-orange-card:nth-child(2) .listing-media img {
  object-position: 58% center;
}

.home-screen .home-resource-grid .listing-media {
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}

.home-screen .resource-ribbon {
  z-index: 2;
  top: 11px;
  left: -28px;
  width: 94px;
  padding: 4px 0;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-45deg);
}

.home-screen .home-resource-grid .resource-orange-card .listing-body {
  display: flex;
  min-height: 195px;
  padding: 8px 64px 5px 9px;
  background: #fff;
  box-shadow: inset 0 2px 0 #ed2b19;
}

.home-screen .resource-mainline {
  gap: 5px;
  min-height: 46px;
}

.home-screen .resource-mainline h3 {
  gap: 3px;
  font-size: 18px;
}

.home-screen .title-trust-badges {
  gap: 2px;
  margin-left: 1px;
}

.home-screen .title-trust-badges b {
  padding: 3px 5px;
  font-size: 8px;
}

.home-screen .resource-mainline strong {
  font-size: 11px;
}

.home-screen .resource-cover-fields {
  gap: 0;
  margin-top: 0;
}

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

.home-screen .resource-cover-fields .cover-line strong,
.home-screen .resource-cover-fields .cover-line:nth-child(3) strong,
.home-screen .resource-cover-fields .cover-line.is-money-line strong,
.home-screen .resource-cover-fields .cover-line.is-money-line:nth-child(3) strong {
  font-size: 11px;
}

.home-screen .resource-cover-fields .cover-line.is-money-line span {
  font-size: 10px;
}

.home-screen .resource-cover-fields .cover-line.is-original-line strong,
.home-screen .resource-cover-fields .cover-line.is-primary-line strong {
  font-size: 12px;
}

.home-screen .resource-orange-card .cost-down.flame {
  top: 76px;
  right: 7px;
  width: 61px;
  height: 58px;
  padding: 5px;
  border: 1px solid #ffd7a2;
  border-radius: 8px;
  color: #d9100d;
  background: linear-gradient(180deg, #fffdf3, #fff1d7);
  clip-path: polygon(7% 0, 93% 0, 100% 10%, 96% 18%, 100% 26%, 96% 34%, 100% 42%, 96% 50%, 100% 58%, 96% 66%, 100% 74%, 96% 82%, 100% 90%, 93% 100%, 7% 100%, 0 90%, 4% 82%, 0 74%, 4% 66%, 0 58%, 4% 50%, 0 42%, 4% 34%, 0 26%, 4% 18%, 0 10%);
  box-shadow: 0 3px 8px rgba(228,123,25,.12);
}

.home-screen .resource-orange-card .cost-down.flame span,
.home-screen .resource-orange-card .cost-down.flame strong {
  color: #d9100d;
  text-shadow: none;
}

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

.home-screen .resource-orange-card .cost-down.flame strong {
  max-width: 58px;
  font-size: 16px;
  white-space: nowrap;
}

.home-screen .resource-orange-card .owner-line {
  min-height: 21px;
  margin: auto -59px 0 0;
  padding: 3px 4px 2px;
  background: #fff1ec;
  font-size: 9.5px;
}

.home-screen .resource-orange-card .owner-line > span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.home-screen .resource-orange-card .owner-line img {
  width: 13px;
  height: 13px;
  margin-right: 2px;
}

.home-screen .resource-orange-card .owner-line .verified {
  min-height: 0;
  margin-left: 6px;
  padding: 0;
  color: #ed2b78;
  background: transparent;
  font-size: 9px;
}

.home-screen .resource-orange-card .card-actions {
  gap: 5px;
  margin: 4px -59px 0 0;
}

.home-screen .resource-orange-card .card-actions .secondary-btn {
  min-height: 25px;
  padding: 0 5px;
  border: 1px solid #f15c47;
  border-radius: 999px;
  color: #d71913;
  background: #fff;
  font-size: 9px;
  font-weight: 850;
}

.home-screen .home-resource-section + .home-resource-section {
  margin-top: 8px;
  padding-top: 6px;
}

.home-screen .compact-section-head {
  margin-bottom: 7px;
}

.tabbar {
  min-height: 42px;
  height: 42px;
  border-top: 1px solid #e7e2df;
  background: rgba(255,255,255,.98);
  box-shadow: 0 -4px 12px rgba(48,36,31,.09);
  backdrop-filter: none;
}

.tab-button {
  gap: 0;
  color: #111827;
  font-size: 10px;
  font-weight: 650;
}

.tab-icon {
  position: relative;
  width: 23px;
  height: 23px;
  border-radius: 0;
}

.tab-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tab-button.is-active .tab-icon {
  background: transparent;
}

.tab-button.is-active {
  color: #111827;
}

.nav-badge {
  position: absolute;
  top: -4px;
  right: -12px;
  min-width: 23px;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 1px 3px;
  color: #fff;
  background: #ee1d26;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
}

/* Homepage V2 — scoped convergence against the original target. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-screen .value-slogan {
  grid-template-columns: 1fr 73px 1fr;
  padding-right: 26px;
  padding-left: 26px;
}

.home-screen .value-slogan img {
  width: 68px;
  height: 44px;
  filter: drop-shadow(0 0 5px rgba(255, 244, 184, .96)) drop-shadow(0 0 11px rgba(255, 170, 20, .95));
}

.home-screen .case-banner > img:first-child {
  width: 59%;
  max-width: none;
  object-position: 31% center;
  transform: scale(1.12);
  transform-origin: 30% 54%;
}

.home-screen .case-banner::after {
  left: 35%;
  width: 22%;
}

.home-screen .case-copy {
  margin-left: 43%;
  padding-right: 13px;
  padding-left: 22px;
}

.home-screen .case-copy h1 strong {
  font-size: 19px;
  letter-spacing: -.55px;
}

.home-screen .case-stat-row {
  padding-right: 0;
}

.home-screen .case-stat-main strong,
.home-screen .case-stat-row .project-stat strong {
  min-height: 35px;
  gap: 1px;
}

.home-screen .case-stat-main strong span,
.home-screen .case-stat-row .project-stat strong span {
  font-size: 11px;
  font-weight: 900;
}

.home-screen .case-stat-main strong b,
.home-screen .case-stat-row .project-stat strong b {
  font-size: 20px;
  line-height: .96;
}

.home-screen .case-stat-row .asset-stat,
.home-screen .case-stat-row .project-stat {
  border-color: #c5d8ec;
  background: #f3f7fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-screen .case-stat-main strong,
.home-screen .case-stat-main strong span,
.home-screen .case-stat-row .project-stat strong,
.home-screen .case-stat-row .project-stat strong span {
  color: #3a6f98;
}

.home-screen .case-stat-main strong b,
.home-screen .case-stat-row .project-stat strong b {
  color: #2b5f86;
}

.home-screen .home-resource-section {
  padding-right: 7px;
  padding-left: 7px;
}

.home-screen .home-resource-grid {
  gap: 10px;
}

.home-screen .home-resource-grid .resource-orange-card:first-child .listing-media img {
  width: 100%;
  max-width: none;
  object-position: 30% 48%;
  transform: scale(1.24);
  transform-origin: 30% center;
}

.home-screen .home-resource-grid .resource-orange-card:nth-child(2) .listing-media img {
  object-position: 58% center;
  filter: brightness(1.17) saturate(1.14) sepia(.06);
}

.home-screen .home-resource-grid .resource-orange-card .listing-body {
  min-height: 168px;
  padding-top: 6px;
  padding-bottom: 4px;
}

.home-screen .resource-mainline {
  gap: 2px;
  min-height: 36px;
}

.home-screen .resource-mainline h3 {
  font-size: 17px;
  line-height: .98;
}

.home-screen .resource-mainline strong {
  color: #2b2522;
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
}

.home-screen .title-trust-badges b {
  padding: 2px 4px;
  font-size: 7.5px;
}

/* Homepage card system — information zones align independently of copy length. */
.home-screen .resource-orange-card .listing-body,
.home-screen .project-cover-card .listing-body {
  display: grid;
  align-content: stretch;
}

.home-screen .resource-orange-card .listing-body {
  grid-template-rows: 36px 1fr 17px 23px;
  gap: 3px;
  min-height: 188px;
  padding: 6px 64px 5px 9px;
}

.home-screen .resource-mainline.card-title-zone {
  align-content: start;
  min-height: 0;
}

.home-screen .resource-cover-fields.card-value-zone {
  display: grid;
  grid-template-rows: 13px 34px 49px;
  gap: 1px;
  min-height: 0;
}

.home-screen .resource-summary-zone,
.home-screen .resource-price-zone,
.home-screen .resource-benefit-zone {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 0;
}

.home-screen .resource-summary-zone {
  grid-auto-rows: minmax(12px, auto);
}

.home-screen .resource-price-zone {
  grid-template-rows: 13px 20px;
}

.home-screen .resource-benefit-zone {
  grid-auto-rows: 12px;
}

.home-screen .resource-orange-card .cost-down.flame {
  top: 64px;
}

.home-screen .resource-orange-card .owner-line.card-owner-zone,
.home-screen .project-cover-card .owner-line.card-owner-zone {
  align-self: stretch;
  min-height: 17px;
  height: 17px;
  margin-top: 0;
  overflow: visible;
}

.home-screen .resource-orange-card .card-actions.card-action-zone,
.home-screen .project-cover-card .card-actions.card-action-zone {
  align-self: stretch;
  height: 23px;
  margin-top: 0;
}

.home-screen .resource-orange-card .card-actions .secondary-btn,
.home-screen .project-cover-card .card-actions .secondary-btn {
  min-height: 23px;
  height: 23px;
}

.home-screen .project-home-grid {
  align-items: stretch;
}

.home-screen .project-cover-card {
  overflow: hidden;
  border: 1px solid #f0c9bc;
  border-radius: 2px 2px 11px 11px;
  background: #fff;
  box-shadow: 0 7px 13px rgba(176, 47, 24, .11);
}

.home-screen .project-cover-card .project-listing-media,
.home-screen .project-cover-card .project-listing-media img {
  height: 108px;
  min-height: 108px;
}

.home-screen .project-cover-card .project-listing-media img {
  object-fit: cover;
  object-position: 31% 48%;
  transform: scale(1.12);
  transform-origin: 30% center;
  filter: saturate(1.08) contrast(1.03);
}

.home-screen .project-cover-card .project-label {
  z-index: 2;
  top: 11px;
  left: -28px;
  width: 94px;
  border-radius: 0;
  padding: 4px 0;
  color: #fff;
  background: linear-gradient(135deg, #2476df, #ff7d1d);
  box-shadow: none;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-45deg);
}

.home-screen .project-cover-card .listing-body {
  grid-template-rows: 31px 1fr 17px 23px;
  gap: 4px;
  min-height: 244px;
  padding: 7px 8px 5px;
  background: linear-gradient(180deg, #f7fbff 0%, #fff 27%);
  box-shadow: inset 0 2px 0 #1972dd;
}

.home-screen .project-cover-card .listing-title.card-title-zone {
  display: flex;
  align-items: start;
  min-width: 0;
  min-height: 0;
}

.home-screen .home-resource-grid .project-cover-card .listing-title h3 {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  color: #123d7d;
  font-size: 18px;
  font-weight: 1000;
  line-height: 1;
  white-space: nowrap;
}

.home-screen .project-cover-fields.card-value-zone {
  display: grid;
  grid-template-rows: 43px 30px 48px 46px;
  gap: 3px;
  min-height: 0;
  margin: 0;
}

.home-screen .project-intro-zone,
.home-screen .project-founder-zone,
.home-screen .project-capital-zone,
.home-screen .project-needs-zone {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 0;
}

.home-screen .project-intro-zone .project-cover-line.is-project-intro {
  display: flex;
  align-items: center;
  min-height: 43px;
  height: 43px;
  margin: 0;
  padding: 5px 7px;
  border-radius: 7px;
  background: #edf5ff;
  box-shadow: inset 3px 0 0 #2876d9;
}

.home-screen .project-intro-zone .project-cover-line.is-project-intro strong {
  display: -webkit-box;
  overflow: hidden;
  color: #164f99;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-screen .project-founder-zone {
  grid-template-rows: repeat(2, 15px);
}

.home-screen .project-capital-zone {
  grid-template-rows: repeat(4, 12px);
}

.home-screen .project-needs-zone {
  grid-template-rows: repeat(2, 22px);
  gap: 2px;
}

.home-screen .project-cover-line,
.home-screen .project-cover-line:nth-child(2n) {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 0 2px;
  background: transparent;
  box-shadow: none;
  line-height: 1;
}

.home-screen .project-cover-line strong {
  min-width: 0;
  font-size: 10px;
  line-height: 1;
}

.home-screen .project-cover-line.is-project-blue strong {
  color: #214b82;
  font-size: 10px;
  font-weight: 780;
  white-space: nowrap;
}

.home-screen .project-cover-line.is-project-orange strong {
  color: #d76118;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.home-screen .project-cover-line.is-project-wants {
  display: flex;
  align-items: center;
  min-height: 22px;
  height: 22px;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #2575d8, #1764be);
  box-shadow: none;
}

.home-screen .project-cover-line.is-project-wants strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-screen .project-cover-card .owner-line.card-owner-zone {
  margin-right: 0;
  margin-left: 0;
  padding: 1px 4px;
  color: #9f1714;
  background: #fff1ec;
  font-size: 8.8px;
  font-weight: 850;
  line-height: 1;
}

.home-screen .project-cover-card .owner-line > span {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
}

.home-screen .project-cover-card .owner-line img {
  width: 11px;
  height: 11px;
  margin-right: 2px;
}

.home-screen .project-cover-card .owner-line .verified {
  margin-left: 6px;
  padding: 0;
  color: #ed2b78;
  background: transparent;
  font-size: 8px;
}

.home-screen .project-cover-card .card-actions.card-action-zone {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.home-screen .project-cover-card .card-actions .secondary-btn {
  border: 1px solid #5a9be9;
  border-radius: 999px;
  padding: 0 5px;
  color: #1553a2;
  background: #fff;
  font-size: 9px;
  font-weight: 850;
}

.home-screen .home-resource-section:has(.project-home-grid) {
  padding-top: 8px;
  background: rgba(255, 250, 246, .78);
}

.home-screen .home-resource-section:has(.project-home-grid) .compact-section-head {
  position: absolute;
  top: 0;
  left: 0;
  height: 27px;
  margin: 0;
  border-radius: 0;
  padding: 0 20px 0 9px;
  background: linear-gradient(180deg, #3489ed, #1768cb);
  box-shadow: none;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.home-screen .home-resource-section:has(.project-home-grid) .compact-section-head .section-title {
  display: flex;
  align-items: center;
  height: 27px;
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
}

/* Homepage V3 — hierarchy, breathing room, and shared card finish. */
.home-screen .home-resource-section {
  margin-top: 7px;
  padding-top: 8px;
  padding-right: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
}

.home-screen .home-resource-section + .home-resource-section {
  margin-top: 10px;
}

.home-screen .home-resource-grid {
  column-gap: 11px;
  row-gap: 12px;
}

.home-screen .resource-orange-card .listing-body {
  grid-template-rows: 38px 1fr 18px 24px;
  gap: 3px;
  min-height: 194px;
  padding-top: 7px;
}

.home-screen .resource-cover-fields.card-value-zone {
  grid-template-rows: 13px 39px 49px;
}

.home-screen .resource-price-zone {
  grid-template-rows: 14px 24px;
}

.home-screen .resource-mainline h3 {
  font-size: 18px;
}

.home-screen .resource-mainline strong {
  color: #3d3531;
  font-size: 10.2px;
}

.home-screen .resource-cover-fields .cover-line.is-original-line span {
  color: #b34238;
  font-size: 9.5px;
  font-weight: 820;
}

.home-screen .resource-cover-fields .cover-line.is-original-line strong {
  color: #4b403c;
  font-size: 10px;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line {
  gap: 7px;
  min-height: 24px;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line span {
  flex: 0 0 auto;
  color: #d71913;
  font-size: 10.5px;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line strong {
  color: #e01410;
  font-size: 22px;
  letter-spacing: -.5px;
}

.home-screen .resource-cover-fields .cover-line.is-salary-line span,
.home-screen .resource-cover-fields .cover-line.is-subsidy-line span,
.home-screen .resource-cover-fields .cover-line.is-primary-line span {
  color: #c62a20;
}

.home-screen .resource-cover-fields .cover-line.is-salary-line strong,
.home-screen .resource-cover-fields .cover-line.is-subsidy-line strong {
  color: #a64138;
  font-weight: 790;
}

.home-screen .resource-orange-card .cost-down.flame {
  top: 67px;
  width: 62px;
  height: 58px;
}

.home-screen .resource-orange-card .cost-down.flame span {
  color: #bd3327;
  font-size: 8.5px;
}

.home-screen .resource-orange-card .cost-down.flame strong {
  color: #dd120e;
  font-size: 16px;
  letter-spacing: -.5px;
}

.home-screen .resource-orange-card .owner-line.card-owner-zone,
.home-screen .project-cover-card .owner-line.card-owner-zone {
  height: 18px;
  min-height: 18px;
  padding-right: 5px;
  padding-left: 5px;
}

.home-screen .resource-orange-card .owner-line > span,
.home-screen .project-cover-card .owner-line > span {
  gap: 0;
  min-width: 0;
}

.home-screen .resource-orange-card .owner-line .verified,
.home-screen .project-cover-card .owner-line .verified {
  margin-left: 5px;
  line-height: 1;
}

.home-screen .resource-orange-card .card-actions.card-action-zone,
.home-screen .project-cover-card .card-actions.card-action-zone,
.home-screen .resource-orange-card .card-actions .secondary-btn,
.home-screen .project-cover-card .card-actions .secondary-btn {
  height: 24px;
  min-height: 24px;
}

.home-screen .project-cover-card .listing-body {
  grid-template-rows: 33px 1fr 18px 24px;
  min-height: 249px;
  padding-top: 8px;
}

.home-screen .project-cover-fields.card-value-zone {
  grid-template-rows: 43px 31px 49px 46px;
  gap: 4px;
}

.home-screen .home-resource-grid .project-cover-card .listing-title h3 {
  color: #173e76;
  font-size: 18px;
}

.home-screen .project-cover-line.is-project-blue strong {
  color: #35567f;
  font-weight: 760;
}

.home-screen .project-cover-line.is-project-orange strong {
  color: #c95718;
  font-weight: 820;
}

.home-screen .project-cover-line.is-project-wants strong {
  overflow: visible;
  font-size: 9.2px;
  text-overflow: clip;
  white-space: normal;
}

.home-screen .project-cover-card .card-actions .secondary-btn {
  border-color: #ef6a55;
  color: #cc291f;
  background: #fff;
}

.home-screen .resource-cover-fields .cover-line,
.home-screen .resource-cover-fields .cover-line:nth-child(2),
.home-screen .resource-cover-fields .cover-line:nth-child(3),
.home-screen .resource-cover-fields .cover-line:nth-child(6) {
  min-height: 12px;
  line-height: 1;
}

.home-screen .resource-cover-fields .cover-line.is-money-line span {
  color: #9f3d36;
  font-size: 9px;
  font-weight: 780;
}

.home-screen .resource-cover-fields .cover-line strong,
.home-screen .resource-cover-fields .cover-line:nth-child(3) strong,
.home-screen .resource-cover-fields .cover-line.is-money-line strong,
.home-screen .resource-cover-fields .cover-line.is-money-line:nth-child(3) strong {
  color: #29221f;
  font-size: 9.5px;
  font-weight: 730;
  line-height: 1;
}

.home-screen .resource-cover-fields .cover-line.is-original-line strong {
  color: #4b403c;
  font-size: 10.5px;
  font-weight: 800;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line {
  min-height: 20px;
  align-items: center;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line span {
  color: #d71913;
  font-size: 10px;
  font-weight: 900;
}

.home-screen .resource-cover-fields .cover-line.is-valuation-line strong {
  color: #e01410;
  font-size: 18px;
  font-weight: 1000;
  line-height: .95;
}

.home-screen .resource-cover-fields .cover-line.is-subsidy-line span,
.home-screen .resource-cover-fields .cover-line.is-primary-line span {
  color: #c3261d;
  font-weight: 900;
}

.home-screen .resource-cover-fields .cover-line.is-primary-line strong {
  color: #29221f;
  font-size: 9.5px;
  font-weight: 760;
}

.home-screen .resource-orange-card .cost-down.flame {
  top: 62px;
  height: 55px;
}

.home-screen .resource-orange-card .cost-down.flame span {
  color: #a93427;
  font-size: 8.5px;
  font-weight: 800;
}

.home-screen .resource-orange-card .cost-down.flame strong {
  font-size: 15px;
}

.home-screen .resource-orange-card .owner-line {
  min-height: 17px;
  padding-top: 1px;
  padding-bottom: 1px;
  font-size: 8.8px;
  line-height: 1;
}

.home-screen .resource-orange-card .owner-line img {
  width: 11px;
  height: 11px;
}

.home-screen .resource-orange-card .owner-line .verified {
  font-size: 8px;
}

.home-screen .resource-orange-card .card-actions {
  gap: 4px;
  margin-top: 2px;
}

.home-screen .resource-orange-card .card-actions .secondary-btn {
  min-height: 21px;
  padding: 0 4px;
  font-size: 8.5px;
  line-height: 1;
}

.tab-button {
  gap: 1px;
  font-size: 9.5px;
  font-weight: 520;
}

.tab-icon {
  width: 26px;
  height: 25px;
}

/* Homepage product polish: a clear bright-red-to-warm-coral hierarchy. */
.home-screen {
  background:
    linear-gradient(
      180deg,
      #ffefe9 0,
      #fff1eb 16%,
      #fff4ee 34%,
      #fff7f2 58%,
      #fffaf7 100%
    );
}

.home-screen .section.category-panel {
  border-color: #f3c3b4;
  background: linear-gradient(180deg, #fff8f4, #fff3ec);
  box-shadow: 0 4px 9px rgba(205, 68, 39, .09);
}

.home-screen .section.category-panel.cool {
  border-color: #cfe2f1;
  background: linear-gradient(180deg, #f8fbfe, #f3f8fc);
  box-shadow: 0 4px 8px rgba(47, 111, 166, .07);
}

.home-screen .category-panel .section-title {
  background: linear-gradient(180deg, #f54735 0%, #df2c22 100%);
  box-shadow: 0 3px 7px rgba(212, 44, 28, .15);
}

.home-screen .category-panel.cool .section-title {
  background: linear-gradient(180deg, #68b6ed 0%, #3f91d4 100%);
  box-shadow: 0 3px 6px rgba(35, 119, 190, .09);
}

.home-screen .category-panel.cool .section-flame {
  opacity: .88;
}

.home-screen .category-panel.cool .up-double-small {
  filter: none;
  opacity: 1;
}

.home-screen .category-panel .section-title {
  color: #e11710;
  background: #fff;
  box-shadow: 0 2px 6px rgba(212, 44, 28, 0.12);
}

.home-screen .category-panel.cool .section-title {
  color: #2678c8;
  background: #fff;
  box-shadow: 0 2px 6px rgba(35, 119, 190, 0.1);
}

.home-screen .category-panel .section-flame {
  filter: brightness(0) saturate(100%) invert(18%) sepia(96%) saturate(4800%) hue-rotate(350deg) brightness(92%) contrast(104%);
}

.home-screen .category-panel.cool .section-flame {
  filter: brightness(0) saturate(100%) invert(36%) sepia(72%) saturate(980%) hue-rotate(176deg) brightness(94%) contrast(92%);
  opacity: 1;
}

.home-screen .category-panel .up-double-small,
.home-screen .category-panel.hot .up-double-small,
.home-screen .category-panel.cool .up-double-small {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 1;
}

.home-screen .category-panel.cool .more-link {
  color: #2678c8;
}

.home-screen .home-resource-section {
  border-color: #f1d1c5;
  background: linear-gradient(180deg, #fff7f2 0%, #fffbf8 100%);
  box-shadow: 0 4px 9px rgba(170, 69, 42, .065);
}

.home-screen .resource-recommend-title {
  background: linear-gradient(180deg, #fb9173 0%, #f27358 100%);
  box-shadow: 0 3px 6px rgba(200, 77, 48, .075);
}

.home-screen .resource-recommend-title img {
  opacity: .84;
}

.home-screen .resource-recommend-title + .home-resource-grid {
  margin-top: 8px;
}

/* Homepage value strip: use the generated wide banner while keeping the
   existing text/asset nodes in the DOM for accessibility and fallbacks. */
.home-screen .value-strip {
  width: calc(100% + 22px);
  height: auto;
  min-height: 0;
  aspect-ratio: 528 / 79;
  margin: 0 -11px;
  background:
    url("./assets/decor/value-strip-banner.png") center center / 100% 100% no-repeat,
    #f82508;
}

.home-screen .value-strip .value-light-arcs,
.home-screen .value-strip .value-slogan {
  visibility: hidden;
}

.home-screen .home-resource-section:has(.project-home-grid) {
  border-color: #f0d9cf;
  background: linear-gradient(180deg, #fffaf7 0%, #fffdfb 100%);
  box-shadow: 0 3px 7px rgba(149, 73, 51, .05);
}

.home-screen .home-resource-section:has(.project-home-grid) .compact-section-head {
  background: linear-gradient(180deg, #94c9ed 0%, #68a8d8 100%);
  box-shadow: 0 2px 4px rgba(48, 115, 168, .055);
}

.home-screen .home-resource-grid .resource-orange-card,
.home-screen .project-cover-card {
  border-color: #efcfc4;
  box-shadow: 0 5px 10px rgba(155, 62, 39, .075);
}

.home-screen .project-cover-card {
  border-color: #cbdff0;
  box-shadow: 0 5px 10px rgba(43, 102, 153, .07);
}

.home-screen .project-cover-card .listing-body {
  background: linear-gradient(180deg, #f5faff 0%, #fff 28%);
  box-shadow: inset 0 2px 0 #5b9fdf;
}

.home-screen .home-resource-grid .project-cover-card .listing-title h3 {
  color: #24558e;
}

.home-screen .project-intro-zone .project-cover-line.is-project-intro {
  background: #f0f7fd;
  box-shadow: inset 3px 0 0 #69a6dc;
}

.home-screen .project-intro-zone .project-cover-line.is-project-intro strong,
.home-screen .project-cover-line.is-project-blue strong {
  color: #37658f;
}

.home-screen .project-cover-line.is-project-wants {
  background: linear-gradient(90deg, #7bb9e7, #58a0d7);
}

.home-screen .project-cover-card .owner-line.card-owner-zone {
  color: #416b91;
  background: #f2f8fd;
}

.home-screen .project-cover-card .owner-line .verified {
  color: #5486b1;
}

.home-screen .project-cover-card .card-actions .secondary-btn {
  border-color: #83b3df;
  color: #326da5;
  background: #f8fbfe;
}

.home-screen .project-cover-card .card-actions .secondary-btn:last-child {
  border-color: #71add9;
  color: #fff;
  background: linear-gradient(180deg, #91c4e8, #6eacd9);
  box-shadow: 0 2px 4px rgba(49, 111, 158, .075);
}

.home-screen .project-cover-card .project-label {
  background: linear-gradient(135deg, #78b8e5, #f49a70);
}

.home-screen .resource-orange-card .owner-line .verified {
  color: #c86255;
}

.home-screen .resource-orange-card .card-actions .secondary-btn {
  border-color: #e8a08c;
  color: #a94838;
  background: #fffaf7;
}

.home-screen .resource-orange-card .card-actions .offer-card-action {
  border-color: #ec8068;
  color: #fff;
  background: linear-gradient(180deg, #fa9076, #ef7258);
  box-shadow: 0 2px 4px rgba(198, 81, 55, .09);
}

.home-screen .resource-orange-card .resource-ribbon {
  background: linear-gradient(135deg, #ff8a68, #f1664e);
  box-shadow: none;
}

.tab-icon img {
  width: 25px;
  height: 25px;
}

.tab-button:focus {
  outline: 0;
}

.tab-button:focus-visible {
  border-radius: 8px;
  outline: 2px solid rgba(239, 38, 28, 0.48);
  outline-offset: -3px;
}

.tab-button.is-active {
  color: #ed211b;
}

.tab-button.is-active .tab-icon img {
  filter: invert(22%) sepia(96%) saturate(4598%) hue-rotate(355deg) brightness(97%) contrast(92%);
}

.nav-badge {
  top: -3px;
  right: -7px;
  min-width: 22px;
  padding: 1px 3px;
  font-size: 7.5px;
}

/* One shared color field for the hero and category area. Pixel stops keep the
   transition continuous across child-container boundaries. Light red holds
   through the project categories; nearly white just above resource recommend. */
.home-screen {
  background: #fff;
}

.home-screen .section.category-panel {
  border-color: rgba(245, 190, 171, 0.72);
  background: #fff;
  box-shadow:
    0 4px 9px rgba(205, 68, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-screen .section.category-panel.cool {
  border-color: rgba(190, 216, 238, 0.78);
  background: #fff;
  box-shadow:
    0 4px 9px rgba(47, 111, 166, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.home-screen .hero-top {
  padding-bottom: 22px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 234, 133, 0.18), transparent 20%),
    linear-gradient(
      180deg,
      #f62200 0%,
      #f82508 22%,
      #f82508 46%,
      #fd6c35 62%,
      #f8b9a3 88%,
      #ffffff 100%
    );
}

.home-screen .section.category-panel.hot {
  border-color: rgba(239, 173, 149, 0.68);
  background: #fff;
}

.home-screen .home-resource-section {
  background: #fff;
}

.home-screen .home-resource-section:has(.project-home-grid) {
  background: #fff;
}

/* Secondary-page polish: inherit the six-navigation home language without changing markup. */
.screen:not(.home-screen):not(.message-page):not(.cooperation-page):not(.mine-page):not(.guide-screen) {
  min-height: calc(100dvh - var(--bottom-space));
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff1eb 0, #fff8f3 24%, #fffaf7 68%, #fff 100%);
}

.screen:not(.home-screen) .section {
  border-color: rgba(234, 214, 207, 0.92);
}

.screen-head {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 215, 198, 0.72);
  padding: 14px 16px 12px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 190, 78, 0.48), transparent 25%),
    linear-gradient(145deg, #f3291d 0%, #e8201a 48%, #ff741d 100%);
}

.screen-head::after {
  position: absolute;
  right: -46px;
  bottom: -44px;
  width: 180px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
  pointer-events: none;
}

.screen-head h1,
.screen-head p,
.screen-head .filter-row,
.screen-head .back-link {
  position: relative;
  z-index: 1;
}

.screen-head h1 {
  letter-spacing: -0.02em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target);
  margin: -4px 0 2px;
  padding: 0 8px 0 0;
  border-radius: 10px;
}

.back-link:focus-visible,
.screen-head .filter-pill:focus-visible,
.screen:not(.home-screen) button:focus-visible,
.screen:not(.home-screen) a:focus-visible,
.modal button:focus-visible,
.modal input:focus-visible,
.modal select:focus-visible,
.modal textarea:focus-visible {
  outline: 2px solid rgba(232, 32, 26, 0.58);
  outline-offset: 2px;
}

.filter-row {
  gap: 7px;
  margin-top: 12px;
  padding: 0 0 2px;
}

.filter-pill {
  min-height: var(--touch-target);
  border-color: rgba(255, 255, 255, 0.42);
  padding-inline: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.filter-pill.is-active {
  border-color: #fff;
  box-shadow: 0 4px 12px rgba(114, 22, 18, 0.16);
}

.card-list,
.my-resource-list,
.request-list,
.timeline,
.pending-match-grid {
  display: grid;
  gap: 12px;
}

.listing-card,
.my-project-card,
.pending-card,
.request-item,
.timeline-item,
.detail-summary-card,
.detail-operation-state,
.operation-status-card,
.shared-detail-panel,
.shared-record-panel,
.rule-card,
.accordion,
.mini-card {
  border-color: #efd9d1;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(158, 34, 25, 0.08);
}

.listing-card,
.my-project-card,
.pending-card,
.request-item,
.timeline-item {
  overflow: hidden;
}

.listing-card:focus-visible,
.my-project-card:focus-within,
.pending-card:focus-within,
.request-item:focus-within,
.timeline-item:focus-within {
  outline: 2px solid rgba(232, 32, 26, 0.46);
  outline-offset: 2px;
}

.listing-media,
.project-listing-media {
  background: linear-gradient(135deg, #fff0e9, #ffe0d3);
}

.listing-media img,
.project-listing-media img {
  filter: saturate(1.04) contrast(1.02);
}

.listing-body {
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.listing-title,
.listing-title h3,
.owner-line,
.card-actions,
.action-grid {
  min-width: 0;
}

.listing-title h3,
.my-project-card h3,
.detail-summary-card strong,
.section-title,
.section-head h2 {
  color: #341f1c;
  letter-spacing: -0.015em;
}

.chip,
.badge,
.title-trust-badges b,
.project-trust-badges b,
.verified {
  border-radius: 999px;
}

.card-actions,
.action-grid {
  gap: 8px;
}

.card-actions > button,
.action-grid > button,
.my-project-card .card-actions button,
.full-btn {
  min-height: var(--touch-target);
}

.detail-grid {
  gap: 12px;
  padding: 14px;
}

.detail-summary-card,
.detail-operation-state,
.detail-photo-gallery,
.auth-cover,
.signed-detail-links-panel,
.detail-link-pair,
.detail-operation-form {
  border: 1px solid #efd9d1;
  border-radius: var(--radius-card);
  background: #fff;
}

.detail-summary-card,
.detail-operation-state,
.detail-photo-gallery,
.auth-cover,
.signed-detail-links-panel,
.detail-operation-form {
  padding: 14px;
}

.detail-summary-card em,
.detail-operation-state span,
.detail-photo-row span,
.field-guide-note,
.latest-operation-summary,
.operation-status-card span {
  color: var(--muted);
}

.detail-operation-state {
  border-left: 4px solid var(--red);
  background: linear-gradient(180deg, #fff8f4, #fff);
}

.detail-photo-gallery {
  overflow: hidden;
  padding: 10px;
  background: #fffaf7;
}

.detail-photo-row,
.detail-link-pair,
.signed-partner-link-card,
.partner-card {
  min-height: var(--touch-target);
  border-color: #f0ded7;
  border-radius: 14px;
  background: #fff;
}

.empty-state,
.compact-warning,
.resource-hall-permission-note,
.governance-effect-tip,
.legal-procedure-tip,
.rule-note {
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff4ef;
}

.empty-state {
  border: 1px dashed #e8b9a8;
  color: var(--muted);
  text-align: center;
}

.empty-state strong,
.compact-warning strong,
.operation-status-card strong {
  color: var(--red-dark);
}

.publish-choice-grid,
.type-pick-grid,
.option-chip-grid,
.business-plan-choice,
.method-choice-grid {
  gap: 10px;
}

.publish-choice,
.type-pick,
.option-chip-grid label,
.method-choice,
.business-plan-choice label {
  min-height: var(--touch-target);
  border-color: #efcfc3;
  border-radius: 16px;
  background: #fffaf7;
  box-shadow: 0 6px 16px rgba(158, 34, 25, 0.06);
}

.publish-choice:active,
.type-pick:active,
.option-chip-grid label:active,
.method-choice:active,
.business-plan-choice label:active,
.primary-btn:active,
.secondary-btn:active,
.danger-btn:active,
.ghost-btn:active,
.form-link-btn:active,
.chat-plus:active {
  transform: translateY(1px);
}

.publish-choice.is-active,
.type-pick.is-active,
.option-chip-grid label:has(input:checked),
.business-plan-choice label:has(input:checked),
.method-choice:has(input:checked) {
  border-color: rgba(232, 32, 26, 0.68);
  background: linear-gradient(180deg, #fff4ed, #fffaf7);
  box-shadow: 0 8px 18px rgba(232, 32, 26, 0.12);
}

.form-grid {
  gap: 14px;
}

.form-grid > label,
.form-field,
.form-combo-item,
.cooperation-fields label,
.edit-prefilled-field,
.edit-upload-existing,
.filled-field {
  gap: 6px;
}

.form-grid > label,
.form-field,
.cooperation-fields label {
  color: #4a332d;
  font-weight: 760;
}

.form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.form-grid select,
.form-grid textarea,
.cooperation-fields input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.cooperation-fields textarea,
.edit-prefilled-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.edit-prefilled-field textarea,
.chat-compose input {
  min-height: var(--touch-target);
  border: 1px solid #e7ccc2;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(91, 35, 25, 0.04);
}

.form-grid input[type="checkbox"],
.form-grid input[type="radio"],
.cooperation-fields input[type="checkbox"],
.cooperation-fields input[type="radio"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--red);
  flex: none;
  vertical-align: -2px;
}

.form-grid textarea,
.cooperation-fields textarea,
.edit-prefilled-field textarea {
  min-height: 104px;
  line-height: 1.6;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder,
.cooperation-fields input::placeholder,
.cooperation-fields textarea::placeholder,
.chat-compose input::placeholder {
  color: #ad8d83;
}

.form-grid input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.form-grid select:focus,
.form-grid textarea:focus,
.cooperation-fields input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.cooperation-fields textarea:focus,
.edit-prefilled-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.edit-prefilled-field textarea:focus,
.chat-compose input:focus {
  border-color: #e98269;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(232, 32, 26, 0.12);
}

.form-section,
.cooperation-form-section,
.filled-form-section,
.edit-form-section {
  border: 1px solid #efd9d1;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.form-section summary,
.filled-form-section summary {
  min-height: var(--touch-target);
  color: var(--red-dark);
  font-weight: 900;
}

.form-section-body,
.filled-form-body {
  padding-top: 10px;
}

.upload-zone,
.single-upload,
.business-plan-upload,
.upload-channels {
  border: 1px dashed #e7aa94;
  border-radius: 14px;
  background: #fff8f3;
}

.upload-zone:focus-within,
.single-upload:focus-within,
.business-plan-upload:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 32, 26, 0.1);
}

.chat-box {
  overflow: hidden;
  border: 1px solid #efd9d1;
  border-radius: 22px;
  background: #fffaf7;
  box-shadow: 0 12px 28px rgba(158, 34, 25, 0.1);
}

.chat-log {
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 247, 242, 0.9), rgba(255, 253, 251, 0.96));
}

.message {
  max-width: 82%;
  border: 1px solid #efd9d1;
  border-radius: 16px 16px 16px 5px;
  padding: 10px 12px;
  color: #432e29;
  background: #fff;
  box-shadow: 0 4px 12px rgba(158, 34, 25, 0.06);
}

.message.me {
  border-color: #f3ad97;
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: linear-gradient(145deg, #e8201a, #ff741d);
}

.chat-compose {
  gap: 8px;
  border-top: 1px solid #efd9d1;
  padding: 10px;
  background: #fff;
}

.chat-compose input {
  min-width: 0;
  background: #fffaf7;
}

.chat-plus {
  flex: 0 0 var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  border: 1px solid #efc5b7;
  border-radius: 999px;
  color: var(--red);
  background: #fff5ef;
}

.mention-suggestions,
.chat-tool-sheet {
  border: 1px solid #efd9d1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(88, 34, 25, 0.12);
}

.screen.message-page,
.screen.cooperation-page,
.screen.mine-page,
.screen.guide-screen {
  min-height: calc(100dvh - var(--bottom-space));
  background: linear-gradient(180deg, var(--hero-body-end) 0, #fff8f3 32%, #fff 100%);
}

.message-content::before,
.cooperation-content::before,
.mine-page-body::before,
.guide-content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--hero-body-overlap) - 96px);
  height: calc(var(--hero-body-overlap) + 240px);
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(245, 32, 24, 0.05) 0%,
      rgba(255, 110, 60, 0.11) 14%,
      rgba(255, 168, 120, 0.1) 28%,
      rgba(255, 205, 175, 0.08) 42%,
      rgba(255, 228, 210, 0.06) 56%,
      rgba(255, 240, 233, 0.04) 72%,
      rgba(255, 246, 241, 0.02) 86%,
      var(--hero-body-end) 100%
    );
  pointer-events: none;
}

.message-content,
.cooperation-content,
.mine-page-body,
.guide-content {
  isolation: isolate;
}

.message-thread-panel,
.message-notice-panel,
.cooperation-readiness,
.cooperation-form-section,
.mine-primary-panel,
.mine-service-panel,
.mine-recent-panel,
.guide-safety-panel,
.guide-mechanism-panel,
.guide-rule-panel {
  position: relative;
  z-index: 1;
}

.cooperation-content,
.message-content,
.mine-page-body,
.guide-content {
  padding-bottom: calc(var(--bottom-space) + 12px);
}

.cooperation-readiness,
.cooperation-form-section,
.message-thread-panel,
.message-notice-panel,
.mine-primary-panel,
.mine-service-panel,
.mine-recent-panel,
.guide-safety-panel,
.guide-mechanism-panel,
.guide-rule-panel {
  border: 1px solid rgba(239, 217, 209, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(158, 34, 25, 0.06);
}

.cooperation-readiness-row,
.message-thread-row,
.message-notice-row,
.mine-primary-link,
.mine-recent-row,
.guide-safety-item,
.guide-rule {
  min-height: var(--touch-target);
  border-color: #f0ded7;
  border-radius: 14px;
}

.cooperation-readiness-state b,
.message-thread-meta i,
.mine-recent-titleline i {
  color: var(--red-dark);
}

.cooperation-form-section legend h2,
.message-thread-panel h2,
.message-notice-panel h2,
.guide-section-heading h2,
.guide-mechanism-head h2,
.mine-section-heading h2 {
  color: #3a2521;
  letter-spacing: -0.015em;
}

.cooperation-submit,
.cooperation-start,
.mine-primary-link:focus-visible,
.message-thread-row:focus-visible,
.message-notice-row:focus-visible,
.mine-recent-row:focus-visible,
.guide-rule:focus-visible {
  outline-offset: 2px;
}

.meeting-access-card,
.meeting-participants,
.meeting-agenda,
.meeting-invite-picker,
.voice-meeting-panel,
.history-list,
.archive-document,
.security-grid,
.change-request-box,
.intent-head,
.vote-sync-panel,
.vote-result-summary,
.vote-result-list article {
  border: 1px solid #efd9d1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(158, 34, 25, 0.07);
}

.meeting-access-card,
.meeting-participants,
.meeting-agenda,
.meeting-invite-picker,
.voice-meeting-panel,
.history-list,
.archive-document,
.security-grid,
.change-request-box,
.intent-head,
.vote-sync-panel {
  padding: 14px;
}

.meeting-access-card .primary-btn,
.meeting-access-card .secondary-btn,
.voice-meeting-actions button,
.meeting-history-actions button,
.meeting-agenda button,
.vote-choice-grid label,
.vote-result-list button,
.vote-sync-panel button {
  min-height: var(--touch-target);
}

.meeting-agenda button,
.meeting-history-actions button,
.voice-meeting-actions button,
.vote-sync-panel button {
  border-radius: 12px;
  border-color: #efcfc3;
  background: #fffaf7;
}

.meeting-participants span,
.voice-participant-strip span,
.vote-scope-partner-row,
.deposit-counterparty-card,
.transfer-buyer-row {
  border-radius: 12px;
  background: #fff7f2;
}

.agreement-text,
.archive-document,
.change-request-box,
.security-grid,
.data-table,
.compact-table {
  color: #4a332d;
}

.agreement-text,
.archive-document,
.change-request-box,
.intent-head {
  line-height: 1.65;
}

.security-grid article,
.data-table th,
.data-table td,
.compact-table th,
.compact-table td,
.amendment-field-list article {
  border-color: #f0ded7;
}

.timeline {
  position: relative;
}

.timeline::before,
.progress-list::before {
  background: linear-gradient(180deg, #f04a2e, #f5c0aa 70%, transparent);
}

.timeline-item,
.request-item,
.pending-card {
  padding: 13px;
}

.timeline-item strong,
.request-item strong,
.history-list article strong,
.archive-document header strong,
.vote-result-list article strong {
  color: #3a2521;
}

.governance-vote-actions {
  gap: 9px;
  padding: 2px;
}

.governance-vote-actions button,
.project-owner-hall-actions button {
  min-height: var(--touch-target);
  border-radius: 12px;
}

.governance-effect-tip {
  border-left-width: 4px;
  border: 1px solid #f1cfc4;
  border-left-color: var(--red);
  color: #a92a22;
  background: linear-gradient(180deg, #fff4ef, #fffaf7);
}

.vote-choice-grid {
  gap: 9px;
}

.vote-choice-grid label {
  border: 1px solid #efd9d1;
  border-radius: 14px;
  padding: 10px 12px;
  color: #4a332d;
  background: #fffaf7;
}

.vote-choice-grid label:has(input:checked) {
  border-color: rgba(232, 32, 26, 0.68);
  color: var(--red-dark);
  background: #fff0ea;
  box-shadow: 0 6px 14px rgba(232, 32, 26, 0.1);
}

.vote-scope-panel,
.vote-scope-specific,
.vote-result-list article,
.vote-result-summary {
  border-color: #efd9d1;
  border-radius: 14px;
  background: #fffaf7;
}

.vote-result-list article {
  padding: 12px;
}

.vote-result-list article i {
  border-radius: 999px;
  background: #f4d7cf;
}

.vote-result-list article b {
  border-radius: inherit;
}

.vote-result-summary {
  padding: 12px;
}

.danger-btn:focus-visible,
.danger-setting:focus-visible,
.danger-btn:active {
  outline-color: rgba(166, 24, 18, 0.66);
}

.operation-status-card,
.resource-hall-permission-note,
.shared-notice-ticker,
.shared-detail-panel,
.shared-record-panel {
  padding: 14px;
}

.shared-notice-ticker,
.shared-detail-panel,
.shared-record-panel {
  border: 1px solid #efd9d1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(158, 34, 25, 0.07);
}

.shared-hall-link-card,
.signed-partner-link-card,
.shared-notice-stack button,
.shared-notice-track button {
  min-height: var(--touch-target);
  border-color: #efcfc3;
  border-radius: 14px;
  background: #fffaf7;
}

.modal {
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(54, 25, 20, 0.52);
}

.modal-panel:not(.publish-launch) {
  max-height: min(88dvh, 780px);
  overflow: auto;
  border: 1px solid rgba(239, 201, 187, 0.96);
  border-radius: 24px 24px 14px 14px;
  background: #fffaf7;
  box-shadow: 0 22px 64px rgba(69, 22, 16, 0.28);
}

.modal-panel:not(.publish-launch) .modal-head {
  min-height: 64px;
  border-bottom: 0;
  padding: 12px 14px 10px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 194, 77, 0.45), transparent 26%),
    linear-gradient(145deg, #f3291d, #e8201a 52%, #ff741d);
}

.modal-panel:not(.publish-launch) .modal-head h2 {
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.modal-panel:not(.publish-launch) .modal-subtitle-line {
  color: rgba(255, 255, 255, 0.86);
}

.modal-panel:not(.publish-launch) .icon-button {
  flex: 0 0 var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: var(--red-dark);
  background: rgba(255, 255, 255, 0.94);
}

.modal-panel:not(.publish-launch) .close-symbol {
  width: 22px;
  height: 22px;
  line-height: 22px;
  transform: none;
}

.modal-panel:not(.publish-launch) .modal-body {
  padding: 14px 14px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #fff7f1 0, #fffdfb 28%, #fff 100%);
}

.toast {
  right: 12px;
  bottom: calc(var(--bottom-space) + 10px);
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(54, 25, 20, 0.94);
  box-shadow: 0 10px 26px rgba(54, 25, 20, 0.18);
}

@media (max-width: 374px) {
  .screen-head {
    padding-inline: 14px;
  }

  .detail-grid,
  .modal-panel:not(.publish-launch) .modal-body {
    padding-inline: 12px;
  }

  .listing-body,
  .detail-summary-card,
  .detail-operation-state,
  .detail-operation-form,
  .meeting-access-card,
  .vote-sync-panel {
    padding: 12px;
  }

  .card-actions,
  .action-grid,
  .vote-choice-grid,
  .governance-vote-actions {
    gap: 7px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .screen:not(.home-screen) {
    animation: secondary-screen-in 180ms ease-out both;
  }

  .modal-panel:not(.publish-launch) {
    animation: secondary-modal-in 180ms ease-out both;
  }
}

@keyframes secondary-screen-in {
  from {
    opacity: 0.82;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes secondary-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared resource card — same as homepage listing cards */
.home-resource-card-layout .resource-cover-fields.card-value-zone {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-template-rows: none;
  margin-top: 2px;
}

.home-resource-card-layout .resource-summary-zone,
.home-resource-card-layout .resource-price-zone,
.home-resource-card-layout .resource-benefit-zone {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-template-rows: none;
  grid-auto-rows: unset;
}

.home-resource-card-layout .resource-summary-zone:not(:has(.cover-line)),
.home-resource-card-layout .resource-price-zone:not(:has(.cover-line)) {
  display: none;
}

.home-resource-card-layout .resource-cover-fields--split .resource-black-zone,
.home-resource-card-layout .resource-cover-fields--split .resource-red-zone {
  display: flex;
}

.home-resource-card-layout .resource-cover-fields--split {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-resource-card-layout .resource-cover-fields--split .resource-black-zone {
  flex-direction: column;
  gap: 3px;
  min-height: 14px;
}

.home-resource-card-layout.skill-resource-card .resource-cover-fields--split .resource-black-zone {
  min-height: 31px;
}

.home-resource-card-layout .resource-cover-fields--split .resource-red-zone {
  flex-direction: column;
  gap: 3px;
}

.home-resource-card-layout .resource-cover-fields--split .resource-red-zone:not(:has(.cover-line)) {
  display: none;
}

.home-resource-card-layout .resource-cover-fields--split .resource-black-zone .cover-slot.is-reserved-line strong {
  display: block;
  min-height: 14px;
}

.home-resource-card-layout .resource-cover-fields--split .resource-black-zone .cover-slot.is-reserved-line span {
  color: #6b5f5a;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line:nth-child(2),
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line:nth-child(3),
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line:nth-child(6),
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-valuation-line,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-tool-line {
  display: flex;
  align-items: center;
  min-height: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  line-height: 14px;
  background: transparent;
  box-shadow: none;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-money-line {
  justify-content: flex-start;
  gap: 4px;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line span {
  flex: 0 0 auto;
  max-width: none;
  font-size: 9.5px;
  font-weight: 780;
  line-height: 14px;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line strong,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-money-line strong,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-money-line:nth-child(3) strong,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line:nth-child(3) strong {
  min-width: 0;
  font-size: 10px;
  font-weight: 760;
  line-height: 14px;
  white-space: nowrap;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-black-line strong {
  color: #29221f;
  font-weight: 720;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-original-line span {
  color: #b34238;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-original-line strong {
  color: #4b403c;
  font-size: 10px;
  font-weight: 800;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-valuation-line span {
  color: #d71913;
  font-weight: 900;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-valuation-line strong {
  color: #e01410;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-salary-line span,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-subsidy-line span,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-intent-line span,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-primary-line span {
  color: #c62a20;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-salary-line strong,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-subsidy-line strong,
.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-intent-line strong {
  color: #29221f;
  font-weight: 760;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-primary-line strong {
  color: #29221f;
  font-size: 10px;
  font-weight: 760;
}

.home-resource-card-layout.resource-orange-card .resource-cover-fields .cover-line.is-tool-line strong {
  display: block;
  overflow: hidden;
  max-height: 14px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

/* Shared resource card — pin owner + actions to card bottom */
.home-resource-grid {
  align-items: stretch;
}

.home-resource-grid .home-resource-card-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-resource-grid .home-resource-card-layout .listing-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  grid-template-rows: none;
  min-height: 198px;
}

.home-resource-grid .home-resource-card-layout .resource-mainline.card-title-zone {
  flex: 0 0 auto;
}

.home-resource-grid .home-resource-card-layout .card-value-zone {
  flex: 1 1 auto;
  min-height: 0;
}

.home-resource-grid .home-resource-card-layout .card-owner-zone {
  flex: 0 0 auto;
  align-self: stretch;
  box-sizing: border-box;
  width: calc(100% + 59px);
  max-width: calc(100% + 59px);
  margin: auto -59px 0 0;
}

.home-resource-grid .home-resource-card-layout .card-actions.card-action-zone {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: stretch;
  box-sizing: border-box;
  width: calc(100% + 59px);
  max-width: calc(100% + 59px);
  margin: 3px -59px 0 0;
  gap: 4px;
}

.home-resource-grid .home-resource-card-layout .card-actions.card-action-zone .secondary-btn {
  width: 100%;
  min-width: 0;
  padding-inline: 3px;
}

.home-resource-grid .home-resource-card-layout .cost-down.flame,
.home-resource-card-layout .cost-down.flame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  top: 59px;
  right: 5px;
  width: 68px;
  height: 85px;
  padding: 29px 5px 9px;
  border: 0;
  border-radius: 0;
  background: none;
  clip-path: none;
  box-shadow: none;
  overflow: visible;
  line-height: 1;
  text-align: center;
}

.home-resource-grid .home-resource-card-layout .cost-down.flame::before,
.home-resource-card-layout .cost-down.flame::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -8px;
  left: 0;
  width: 68px;
  height: 85px;
  background: url("assets/flame-badge-generated.png") center / contain no-repeat;
  pointer-events: none;
}

.home-resource-grid .home-resource-card-layout .cost-down.flame span,
.home-resource-grid .home-resource-card-layout .cost-down.flame strong,
.home-resource-card-layout .cost-down.flame span,
.home-resource-card-layout .cost-down.flame strong {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(112, 0, 0, 0.45);
}

.home-resource-grid .home-resource-card-layout .cost-down.flame span,
.home-resource-card-layout .cost-down.flame span {
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.home-resource-grid .home-resource-card-layout .cost-down.flame strong,
.home-resource-card-layout .cost-down.flame strong {
  max-width: 58px;
  font-size: 16px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.7px;
  white-space: nowrap;
}

.shared-hall-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 12px calc(var(--bottom-space) + 12px);
  background: linear-gradient(180deg, #fff1eb 0, #f6f1ee 18%, #f3f0ee 100%);
}

.shared-hall-screen .shared-head {
  margin: 0 -12px;
  padding: 10px 12px 12px;
}

.shared-hall-screen .shared-head h1 {
  max-width: 100%;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.shared-hall-screen .back-link {
  min-height: 36px;
  margin-bottom: 4px;
}

.shared-hall-screen > .section,
.shared-hall-screen > .section.panel {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.shared-hall-screen > .section + .section {
  padding-top: 0;
}

.shared-hall-screen .meeting-access-card,
.shared-hall-screen .resource-hall-context,
.shared-hall-screen .project-progress-panel,
.shared-hall-screen .shared-detail-panel,
.shared-hall-screen .vote-sync-panel,
.shared-hall-screen .partner-grid-panel,
.shared-hall-screen .hall-card {
  border: 1px solid #eadfd9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 14px rgba(92, 32, 22, 0.04);
  padding: 10px 12px;
}

.shared-hall-screen .meeting-access-card {
  display: grid;
  gap: 10px;
}

.shared-hall-screen .resource-hall-context {
  display: grid;
  gap: 8px;
}

.shared-hall-screen .project-progress-panel {
  margin-top: 0;
}

.shared-hall-screen .hall-quick-actions {
  display: grid;
  gap: 8px;
}

.shared-hall-screen .meeting-access-card > .primary-btn,
.shared-hall-screen .meeting-access-card > .secondary-btn,
.shared-hall-screen .meeting-access-card > .entry-confirm-btn,
.shared-hall-screen .hall-quick-actions > .primary-btn,
.shared-hall-screen .hall-quick-actions > .secondary-btn,
.shared-hall-screen .hall-quick-actions > .entry-confirm-btn {
  width: 100%;
}

.shared-hall-screen .primary-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 15px;
}

.shared-hall-screen .secondary-btn,
.shared-hall-screen .form-link-btn,
.shared-hall-screen .entry-confirm-btn,
.shared-hall-screen .progress-op-btn {
  min-height: 44px;
  border: 1px solid #f0e2dc;
  border-radius: 10px;
  color: #6d3a32;
  background: #faf7f5;
  box-shadow: none;
}

.shared-hall-screen .form-link-btn {
  width: 100%;
  margin-top: 0;
  padding: 8px 10px;
  font-size: 13px;
}

.shared-hall-screen .governance-vote-actions,
.shared-hall-screen .project-owner-hall-actions {
  gap: 8px;
  padding: 0;
}

.shared-hall-screen .governance-vote-actions button,
.shared-hall-screen .project-owner-hall-actions button {
  min-height: 44px;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.3;
}

.shared-hall-screen .shared-notice-ticker {
  min-height: 40px;
  margin: 0;
  border: 1px solid #eadfd9;
  border-radius: 12px;
  padding: 8px 10px;
  background: #fff;
  box-shadow: none;
}

.shared-hall-screen .shared-hall-link-grid {
  gap: 8px;
  margin-top: 0;
}

.shared-hall-screen .detail-preview-card {
  gap: 8px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.shared-hall-screen .partner-card {
  gap: 8px;
  border-color: #f0e4de;
  border-radius: 10px;
  padding: 8px;
  box-shadow: none;
}

.shared-hall-screen .partner-grid {
  gap: 8px;
}

.shared-hall-screen .equity-ratio-tip,
.shared-hall-screen .rule-note,
.shared-hall-screen .operation-status-card {
  margin: 0;
  border-radius: 10px;
  padding: 8px 10px;
}

.shared-hall-screen .vertical-step {
  min-height: 44px;
  padding-bottom: 10px;
}

.shared-hall-screen .vertical-step i {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.shared-hall-screen .vertical-step::before {
  top: 28px;
  left: 13px;
}

.shared-hall-screen .vertical-step strong {
  font-size: 13px;
}

.shared-hall-screen .vertical-step span {
  font-size: 12px;
}

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

.shared-hall-screen .vertical-action-only {
  margin: 0 0 8px;
}

.shared-hall-screen .vertical-action-only:last-child {
  margin-bottom: 0;
}

.shared-hall-screen .vertical-action-only > i {
  width: 28px;
  height: 28px;
  color: #c45a32;
  background: #fff1ea;
}

.shared-hall-screen .vertical-action-only .progress-op-btn {
  width: 100%;
}

.shared-hall-screen .progress-op-btn {
  margin-top: 6px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.shared-hall-screen .entry-confirm-state {
  min-height: 44px;
  border-radius: 10px;
  padding: 10px;
  color: var(--red-dark);
  background: #fff4ef;
  font-size: 13px;
  font-weight: 800;
}

.shared-hall-screen .hall-fold {
  border-top: 0;
  margin-top: 0;
}

.shared-hall-screen .meeting-access-card > .hall-fold:first-child,
.shared-hall-screen .hall-card > .hall-fold:first-child {
  border-top: 0;
  margin-top: 0;
}

.shared-hall-screen .hall-fold-title {
  margin: 0 0 8px;
  color: #2b1d1a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.shared-hall-screen .hall-fold-body {
  display: grid;
  gap: 8px;
  overflow: visible;
  height: auto;
}

.shared-hall-screen .hall-copy-fold {
  display: grid;
  gap: 4px;
}

.shared-hall-screen .hall-copy-fold-text {
  overflow: visible;
  max-height: none;
  color: #5c4a45;
  font-size: 13px;
  line-height: 1.45;
}

.shared-hall-screen .hall-copy-fold-text p {
  margin: 0;
}

.shared-hall-screen .hall-copy-fold-text p + p {
  margin-top: 6px;
}

.shared-hall-screen .hall-copy-toggle {
  justify-self: start;
  min-height: 32px;
  border: 0;
  padding: 0 4px;
  color: var(--red-dark);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.shared-hall-screen .pending-match-grid {
  gap: 8px;
}

.shared-hall-screen .pending-card {
  padding: 10px;
}

.shared-hall-screen .timeline-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
}

.shared-hall-screen .timeline-item strong {
  margin-bottom: 0;
  line-height: 1.35;
}

.shared-hall-screen .timeline-item span {
  line-height: 1.55;
}

.shared-hall-screen .timeline-item button {
  justify-self: start;
  min-height: 36px;
  padding: 8px 12px;
}

.shared-hall-screen button:focus-visible,
.shared-hall-screen .form-link-btn:focus-visible,
.shared-hall-screen .hall-copy-toggle:focus-visible,
.shared-hall-screen .hall-fold summary:focus-visible {
  outline: 2px solid rgba(232, 32, 26, 0.58);
  outline-offset: 2px;
}

.shared-hall-screen .primary-btn:active,
.shared-hall-screen .secondary-btn:active,
.shared-hall-screen .form-link-btn:active,
.shared-hall-screen .progress-op-btn:active,
.shared-hall-screen .hall-copy-toggle:active {
  transform: translateY(1px);
}

@media (max-width: 374px) {
  .shared-hall-screen {
    padding-inline: 10px;
  }

  .shared-hall-screen .shared-head {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .shared-hall-screen .shared-head h1 {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shared-hall-screen .hall-fold.is-animating .hall-fold-body,
  .shared-hall-screen .hall-copy-fold-text,
  .shared-hall-screen .hall-fold-chevron {
    transition: none;
  }

  .shared-hall-screen .primary-btn:active,
  .shared-hall-screen .secondary-btn:active,
  .shared-hall-screen .form-link-btn:active,
  .shared-hall-screen .progress-op-btn:active,
  .shared-hall-screen .hall-copy-toggle:active {
    transform: none;
  }
}

/* Homepage resource card is the shared listing card, including lists and modals. */
.home-resource-card-layout {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f4cbbd;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 7px 13px rgba(176, 47, 24, 0.12);
}

.home-resource-card-layout .listing-media,
.home-resource-card-layout .listing-media img,
.home-resource-card-layout .media-gradient {
  height: 108px;
  min-height: 108px;
}

.home-resource-card-layout .listing-media {
  overflow: hidden;
  border-radius: 11px 11px 0 0;
}

.home-resource-card-layout .resource-ribbon {
  z-index: 2;
  top: 11px;
  left: -28px;
  width: 94px;
  padding: 4px 0;
  color: #fff;
  background: linear-gradient(135deg, #ff8a68, #f1664e);
  box-shadow: none;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transform: rotate(-45deg);
}

.home-resource-card-layout .listing-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  min-height: 198px;
  padding: 7px 64px 5px 9px;
  background: #fff;
  box-shadow: inset 0 2px 0 #ed2b19;
}

.home-resource-card-layout .resource-mainline.card-title-zone {
  display: grid;
  flex: 0 0 auto;
  gap: 2px;
  min-height: 36px;
}

.home-resource-card-layout .resource-mainline h3 {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  color: #17110f;
  font-size: 18px;
  font-weight: 1000;
  line-height: 0.98;
}

.home-resource-card-layout .resource-mainline strong {
  color: #3d3531;
  font-size: 10.2px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
}

.home-resource-card-layout .title-trust-badges {
  gap: 2px;
  margin-left: 1px;
}

.home-resource-card-layout .title-trust-badges b {
  padding: 2px 4px;
  font-size: 7.5px;
}

.home-resource-card-layout .resource-cover-fields--split {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  min-width: 0;
  min-height: 0;
  margin-top: 2px;
}

.home-resource-card-layout .resource-mainline.card-title-zone {
  display: grid;
  flex: 0 0 auto;
  gap: 0;
  min-height: 0;
}

.home-resource-card-layout .cover-line.is-condition-line strong {
  color: #3d3531;
  font-size: 10.2px;
  font-weight: 720;
}

.home-resource-card-layout .resource-black-zone,
.home-resource-card-layout .resource-red-zone {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-resource-card-layout .resource-black-zone {
  min-height: 14px;
}

.home-resource-card-layout.skill-resource-card .resource-black-zone {
  min-height: 31px;
}

.home-resource-card-layout .resource-cover-fields .cover-line,
.home-resource-card-layout .resource-cover-fields .cover-line.is-valuation-line,
.home-resource-card-layout .resource-cover-fields .cover-line.is-tool-line {
  display: flex;
  align-items: center;
  min-height: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  line-height: 14px;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-money-line {
  justify-content: flex-start;
  gap: 4px;
}

.home-resource-card-layout .resource-cover-fields .cover-line span {
  flex: 0 0 auto;
  max-width: none;
  font-size: 9.5px;
  font-weight: 780;
  line-height: 14px;
}

.home-resource-card-layout .resource-cover-fields .cover-line strong {
  min-width: 0;
  font-size: 10px;
  font-weight: 760;
  line-height: 14px;
  white-space: nowrap;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-black-line strong {
  color: #29221f;
  font-weight: 720;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-original-line span,
.home-resource-card-layout .resource-cover-fields .cover-line.is-salary-line span,
.home-resource-card-layout .resource-cover-fields .cover-line.is-subsidy-line span,
.home-resource-card-layout .resource-cover-fields .cover-line.is-intent-line span,
.home-resource-card-layout .resource-cover-fields .cover-line.is-primary-line span {
  color: #c62a20;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-original-line span {
  color: #b34238;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-original-line strong {
  color: #4b403c;
  font-weight: 800;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-valuation-line span {
  color: #d71913;
  font-weight: 900;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-valuation-line strong {
  color: #e01410;
  font-size: 11px;
  font-weight: 950;
}

.home-resource-card-layout .resource-cover-fields .cover-line.is-salary-line strong,
.home-resource-card-layout .resource-cover-fields .cover-line.is-subsidy-line strong,
.home-resource-card-layout .resource-cover-fields .cover-line.is-intent-line strong,
.home-resource-card-layout .resource-cover-fields .cover-line.is-primary-line strong {
  color: #29221f;
}

.home-resource-card-layout .cost-down.flame {
  position: absolute;
  top: 59px;
  right: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  width: 68px;
  height: 85px;
  margin: 0;
  padding: 29px 5px 9px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: none;
  clip-path: none;
  box-shadow: none;
  overflow: visible;
  line-height: 1;
  text-align: center;
}

.home-resource-card-layout .cost-down.flame::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -8px;
  left: 0;
  width: 68px;
  height: 85px;
  background: url("assets/flame-badge-generated.png") center / contain no-repeat;
  pointer-events: none;
}

.home-resource-card-layout .cost-down.flame span,
.home-resource-card-layout .cost-down.flame strong {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(112, 0, 0, 0.45);
}

.home-resource-card-layout .cost-down.flame span {
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.home-resource-card-layout .cost-down.flame strong {
  max-width: 58px;
  font-size: 16px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.home-resource-card-layout .owner-line.card-owner-zone {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
  box-sizing: border-box;
  width: calc(100% + 59px);
  max-width: calc(100% + 59px);
  height: 18px;
  min-height: 18px;
  margin: auto 0 0;
  margin-right: -59px;
  padding: 1px 5px;
  overflow: hidden;
  color: #9f1714;
  background: #fff1ec;
  font-size: 8.8px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.home-resource-card-layout .owner-line > span {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0;
  white-space: nowrap;
}

.home-resource-card-layout .owner-line img {
  width: 11px;
  height: 11px;
  margin-right: 2px;
}

.home-resource-card-layout .owner-line .verified {
  min-height: 0;
  margin-left: 5px;
  padding: 0;
  color: #c86255;
  background: transparent;
  font-size: 8px;
  line-height: 1;
}

.home-resource-card-layout .card-actions.card-action-zone {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: stretch;
  box-sizing: border-box;
  width: calc(100% + 59px);
  max-width: calc(100% + 59px);
  height: 24px;
  min-height: 24px;
  margin: 3px 0 0;
  margin-right: -59px;
  gap: 4px;
}

.home-resource-card-layout .card-actions .secondary-btn {
  width: 100%;
  min-width: 0;
  height: 24px;
  min-height: 24px;
  padding: 0 3px;
  overflow: hidden;
  border: 1px solid #e8a08c;
  border-radius: 999px;
  color: #a94838;
  background: #fffaf7;
  font-size: 8.5px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-resource-card-layout .card-actions .offer-card-action {
  border-color: #ec8068;
  color: #fff;
  background: linear-gradient(180deg, #fa9076, #ef7258);
  box-shadow: 0 2px 4px rgba(198, 81, 55, 0.09);
}

.project-cover-card .card-actions.card-action-zone {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  gap: 5px;
}

.project-cover-card .card-actions .secondary-btn {
  min-width: 0;
  width: 100%;
}

.my-project-card .card-actions,
.owner-promotion-actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.my-project-card .card-actions > button,
.owner-promotion-actions button {
  min-width: 0;
}

.guide-rule-panel {
  padding: 4px 12px 6px;
}

.guide-screen .rule-stack {
  gap: 0;
}

.guide-rule-panel .accordion {
  border: 0;
  border-bottom: 1px solid #f0dfd6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guide-rule-panel .accordion:last-child {
  border-bottom: 0;
}

.guide-rule-panel .accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: var(--touch-target);
  padding: 14px 4px;
  color: #3a2521;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.guide-rule-panel .accordion summary::-webkit-details-marker {
  display: none;
}

.guide-rule-panel .guide-rule-chevron {
  display: block;
  width: 18px;
  height: 18px;
  transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-rule-panel .accordion.is-expanded .guide-rule-chevron {
  transform: rotate(90deg);
}

.guide-rule-panel .accordion-content {
  overflow: hidden;
  height: 0;
  border-top: 0;
  padding: 0 4px;
  color: #5c4a45;
  transition:
    height 260ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-rule-panel .accordion[open] .accordion-content {
  padding: 0 4px 12px;
}

.guide-rule-panel .accordion[open]:not(.is-animating) .accordion-content {
  height: auto;
}
