:root {
  --phone-width: 440px;
  --phone-height: 956px;
  --page-bg: #f5f8f6;
  --surface: #ffffff;
  --surface-soft: #f7fbf8;
  --text: #18231f;
  --muted: #78847e;
  --line: rgba(43, 65, 55, 0.09);
  --green: #16875d;
  --green-deep: #0b6f4c;
  --orange: #ec522f;
  --shadow: 0 8px 24px rgba(37, 63, 49, 0.1);
  --panel-radius: 14px;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 139, 97, 0.16), transparent 28%),
    #eef3ef;
  color: var(--text);
}

body.has-open-sheet {
  overflow: hidden;
}

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

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(22, 135, 93, 0.45);
  outline-offset: 2px;
}

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

.phone-shell {
  position: relative;
  width: min(100vw, var(--phone-width));
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: var(--page-bg);
}

.view {
  display: none;
  min-height: calc(100dvh - 70px);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.view.is-active {
  display: block;
}

.login-view {
  min-height: 100dvh;
  padding-bottom: 0;
  overflow: hidden;
  background: #f7f4eb;
}

.login-shell {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: #f7f4eb;
}

.login-visual {
  position: relative;
  height: clamp(290px, 42dvh, 375px);
  overflow: hidden;
  background: #dce9df;
}

.login-visual img,
.login-visual-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.login-visual img {
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.03);
}

.login-visual-shade {
  background:
    linear-gradient(180deg, rgba(247, 244, 235, 0.08) 0%, rgba(247, 244, 235, 0) 55%, #f7f4eb 100%),
    linear-gradient(90deg, rgba(11, 59, 42, 0.04), transparent 42%);
}

.login-content {
  position: relative;
  z-index: 2;
  min-height: calc(58dvh + 76px);
  margin-top: -76px;
  padding: 0 24px calc(22px + env(safe-area-inset-bottom));
  background:
    radial-gradient(ellipse at 4% 100%, transparent 0 58%, rgba(190, 151, 70, 0.13) 58.5% 59%, transparent 59.5% 65%, rgba(190, 151, 70, 0.09) 65.5% 66%, transparent 66.5%),
    linear-gradient(180deg, rgba(247, 244, 235, 0) 0, #f7f4eb 80px);
  text-align: center;
}

.login-brand-mark {
  position: relative;
  width: 78px;
  height: 48px;
  margin: 0 auto 7px;
}

.login-brand-mark::before,
.login-brand-mark::after {
  content: "";
  position: absolute;
  top: 29px;
  width: 23px;
  height: 1px;
  background: #c49b4a;
}

.login-brand-mark::before {
  left: -4px;
}

.login-brand-mark::after {
  right: -4px;
}

.login-brand-mark span {
  position: absolute;
  left: 20px;
  top: 19px;
  width: 42px;
  height: 22px;
  border-radius: 50% 50% 3px 3px;
  background: #275f43;
  transform: skewX(-9deg);
}

.login-brand-mark i,
.login-brand-mark b {
  position: absolute;
  bottom: 5px;
  display: block;
  width: 35px;
  height: 15px;
  border-radius: 50%;
  background: #f7f4eb;
  box-shadow: 0 4px 0 #4f7d58, 0 8px 0 #275f43;
  transform: rotate(-8deg);
}

.login-brand-mark i {
  left: 11px;
}

.login-brand-mark b {
  right: 8px;
  bottom: 3px;
  transform: rotate(8deg) scale(0.88);
}

.login-content h1 {
  margin: 0;
  color: #154f39;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(31px, 8.2vw, 38px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.16;
}

.login-slogan {
  margin: 10px 0 0;
  color: #213c33;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.wechat-login-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  border-radius: 17px;
  color: #ffffff;
  background: #07c160;
  box-shadow: 0 12px 24px rgba(7, 193, 96, 0.2);
  transition: transform 160ms ease, background 160ms ease;
}

.wechat-login-button:hover,
.wechat-login-button:focus-visible {
  background: #06ad56;
}

.wechat-login-button:active {
  transform: scale(0.985);
}

.wechat-login-button strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.wechat-mark {
  position: relative;
  width: 32px;
  height: 27px;
}

.wechat-mark i,
.wechat-mark b {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #ffffff;
}

.wechat-mark i {
  inset: 0 8px 7px 0;
}

.wechat-mark b {
  right: 0;
  bottom: 0;
  width: 21px;
  height: 17px;
  border: 2px solid #07c160;
}

.guest-login-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  color: #1c5a43;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
}

.guest-login-button span {
  color: #b1883d;
  font-size: 24px;
  line-height: 1;
}

.login-trust-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-top: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(177, 136, 61, 0.28);
  border-radius: 13px;
  color: #5f6a64;
  background: rgba(255, 255, 255, 0.38);
  text-align: left;
}

.login-trust-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.login-shield {
  display: grid;
  width: 30px;
  height: 34px;
  place-items: center;
  border: 2px solid #15965f;
  border-radius: 10px 10px 14px 14px;
  color: #15965f;
  font-size: 15px;
  font-weight: 900;
}

.login-agreement {
  margin: 22px 0 0;
  color: #76817c;
  font-size: 10px;
  line-height: 1.55;
}

.login-agreement button {
  padding: 0;
  color: #166a4a;
  background: transparent;
}

.phone-auth-sheet {
  z-index: 70;
}

.phone-auth-panel {
  max-height: min(84dvh, 720px);
  overflow-y: auto;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  background: #fbfcfa;
}

.phone-auth-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.phone-auth-heading span {
  display: block;
  margin-bottom: 4px;
  color: #07a654;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.phone-auth-heading h2,
.sheet-panel .phone-auth-heading h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.phone-auth-heading > button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #63716a;
  background: #edf2ef;
  font-size: 19px;
}

.phone-auth-copy {
  margin: 9px 0 15px;
  color: #68756e;
  font-size: 12px;
  line-height: 1.55;
}

.mock-phone-list {
  display: grid;
  gap: 8px;
}

.mock-phone-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  min-height: 64px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(34, 71, 54, 0.11);
  border-radius: 13px;
  color: #263a31;
  background: #ffffff;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.mock-phone-option:active {
  transform: scale(0.99);
}

.mock-phone-option.is-selected {
  border-color: rgba(7, 193, 96, 0.56);
  background: #effbf4;
}

.mock-phone-option strong,
.mock-phone-option span,
.mock-phone-option small,
.mock-phone-option em {
  min-width: 0;
}

.mock-phone-option strong {
  font-size: 15px;
  font-weight: 900;
}

.mock-phone-option span {
  justify-self: end;
  padding: 4px 7px;
  border-radius: 999px;
  color: #0b754a;
  background: #e4f7ec;
  font-size: 10px;
  font-weight: 900;
}

.mock-phone-option small {
  overflow: hidden;
  color: #768079;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-phone-option em {
  justify-self: end;
  color: #07a654;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.phone-auth-form {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.phone-auth-form label,
.phone-auth-form label span {
  display: block;
}

.phone-auth-form label span {
  margin-bottom: 7px;
  color: #66736d;
  font-size: 11px;
  font-weight: 800;
}

.phone-auth-form input {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid rgba(43, 65, 55, 0.15);
  border-radius: 11px;
  color: #1a2d24;
  background: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.phone-auth-error {
  min-height: 18px;
  margin: -2px 0 0;
  color: #b74444;
  font-size: 11px;
  line-height: 1.5;
}

.phone-auth-submit {
  min-height: 50px;
  border-radius: 13px;
  color: #ffffff;
  background: #07c160;
  font-size: 15px;
  font-weight: 900;
}

.phone-auth-cancel {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  color: #728078;
  background: transparent;
  font-size: 12px;
}

.hero {
  position: relative;
  height: 198px;
  overflow: hidden;
  background: #dceee3;
}

.hero-image,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-wash {
  background:
    linear-gradient(180deg, rgba(246, 251, 251, 0.95) 0%, rgba(246, 251, 251, 0.48) 43%, rgba(246, 251, 251, 0.04) 100%),
    linear-gradient(90deg, rgba(247, 252, 250, 0.86) 0%, rgba(247, 252, 250, 0.4) 54%, rgba(247, 252, 250, 0.06) 100%);
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 18px 0;
}

.capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 74px;
  height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(25, 35, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 20px rgba(31, 53, 43, 0.08);
  color: #0e1714;
  letter-spacing: 2px;
}

.capsule i {
  width: 17px;
  height: 17px;
  border: 3px solid #111;
  border-radius: 50%;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 20px 0 0;
  padding-left: 20px;
  color: #18231f;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
}

.role-chip {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(22, 135, 93, 0.18);
  border-radius: 999px;
  color: #365145;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 14px rgba(37, 63, 49, 0.1);
}

.role-chip span {
  font-size: 11px;
}

.role-chip strong {
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

.home-head {
  padding: calc(20px + env(safe-area-inset-top)) 16px 14px;
  border-bottom: 1px solid rgba(22, 135, 93, 0.08);
  background: #eef7f2;
}

.home-head-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.home-title-copy {
  min-width: 0;
}

.home-role-title {
  display: flex;
  max-width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: #17231d;
  background: transparent;
  text-align: left;
}

.home-role-title strong {
  min-width: 0;
  overflow: hidden;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-role-title span {
  flex: 0 0 auto;
  color: #2f4339;
  font-size: 17px;
  font-weight: 900;
}

.home-title-copy p {
  margin: 4px 0 0;
  color: #66746d;
  font-size: 11px;
  line-height: 1.45;
}

.home-message {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid rgba(28, 60, 43, 0.1);
  border-radius: 8px;
  color: #1d3328;
  background: #ffffff;
}

.home-message > span {
  font-size: 14px;
  font-weight: 900;
}

.home-message em {
  position: absolute;
  top: -6px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #eef7f2;
  border-radius: 999px;
  color: #ffffff;
  background: #df3f35;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.content-stack {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 0 12px 20px;
}

.search-bar,
.page-search {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 5px 0 16px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(37, 63, 49, 0.13);
}

.search-icon {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  padding: 0;
  border: 2px solid #b6c0bb;
  border-radius: 50%;
  background: transparent;
}

.search-icon::after {
  position: absolute;
  right: -6px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: #b6c0bb;
  content: "";
  transform: rotate(45deg);
}

.search-bar input,
.page-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  margin-left: 12px;
  border: 0;
  color: #4e5a55;
  background: transparent;
  font-size: 14px;
}

.search-bar input::placeholder,
.page-search input::placeholder {
  color: #a5aea9;
}

.search-bar button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 27px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.home-search {
  height: 44px;
  margin-top: 16px;
  padding-left: 15px;
  border: 1px solid rgba(35, 67, 51, 0.1);
  border-radius: 22px;
  box-shadow: none;
}

.home-search input {
  font-size: 12px;
}

.home-search button {
  width: 54px;
  height: 30px;
  font-size: 11px;
}

.policy-carousel {
  position: relative;
  height: 150px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(35, 67, 51, 0.1);
  border-radius: 8px;
  background: #dcebe2;
}

.policy-track {
  display: flex;
  height: 100%;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.policy-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  overflow: hidden;
  color: #153526;
  background: #e4f0e8;
  text-align: left;
}

.policy-slide > img,
.policy-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.policy-slide > img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 5.2s ease-out;
}

.policy-slide.is-active > img {
  transform: scale(1.05);
}

.policy-shade {
  background: rgba(238, 248, 242, 0.62);
}

.policy-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: 76%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 14px 42px 20px 20px;
}

.policy-copy em,
.policy-copy strong,
.policy-copy small,
.policy-copy b {
  display: block;
}

.policy-copy em {
  padding: 3px 6px;
  border-radius: 4px;
  color: #087650;
  background: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.policy-copy strong {
  margin-top: 7px;
  color: #0d603e;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.policy-copy small {
  max-width: 28em;
  margin-top: 6px;
  color: #385b49;
  font-size: 10px;
  line-height: 1.45;
}

.policy-copy b {
  min-height: 28px;
  margin-top: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #ffffff;
  background: #16875d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
}

.policy-copy b i {
  margin-left: 4px;
  font-style: normal;
}

.policy-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 28px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  color: #174630;
  background: rgba(255, 255, 255, 0.78);
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
}

.policy-control.is-prev {
  left: 8px;
}

.policy-control.is-next {
  right: 8px;
}

.policy-dots {
  position: absolute;
  bottom: 9px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.policy-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  transition: width 180ms ease, background 180ms ease;
}

.policy-dots button.is-active {
  width: 18px;
  background: #16875d;
}

.policy-detail-panel {
  max-height: min(86dvh, 680px);
  overflow-y: auto;
}

.policy-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.policy-detail-heading span {
  display: block;
  color: #16875d;
  font-size: 10px;
  font-weight: 900;
}

.policy-detail-heading h2,
.sheet-panel .policy-detail-heading h2 {
  margin: 4px 0 0;
  color: #18271f;
  font-size: 19px;
  line-height: 1.35;
}

.policy-detail-heading button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 7px;
  color: #526059;
  background: #f0f5f2;
  font-size: 21px;
}

.policy-detail-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin-top: 13px;
  border-radius: 8px;
  object-fit: cover;
}

.policy-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ede9;
}

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

.policy-detail-meta span {
  color: #7d8982;
  font-size: 9px;
}

.policy-detail-meta strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #2b3c33;
  font-size: 11px;
  line-height: 1.45;
}

.policy-detail-points h3 {
  margin: 14px 0 0;
  color: #1c2d24;
  font-size: 14px;
}

.policy-detail-points ol {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: policy-point;
}

.policy-detail-points li {
  position: relative;
  min-height: 30px;
  padding: 7px 8px 7px 34px;
  border-radius: 7px;
  color: #4d5f56;
  background: #f4f8f6;
  font-size: 11px;
  line-height: 1.5;
  counter-increment: policy-point;
}

.policy-detail-points li::before {
  position: absolute;
  top: 7px;
  left: 8px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #16875d;
  content: counter(policy-point);
  font-size: 8px;
  font-weight: 900;
}

.policy-detail-close {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 8px;
}

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

.service-card {
  display: flex;
  min-width: 0;
  height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px 6px;
  border: 1px solid rgba(41, 65, 53, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 19px rgba(39, 55, 47, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:active,
.tab:active,
.recommend-card:active,
.resource-card:active,
.company-card:active,
.case-card:active {
  transform: scale(0.98);
}

.service-card.green {
  background: linear-gradient(180deg, #eefaf3, #ffffff);
}

.service-card.blue {
  background: linear-gradient(180deg, #edf7ff, #ffffff);
}

.service-card.green-soft {
  background: linear-gradient(180deg, #f0faf2, #ffffff);
}

.service-card.orange {
  background: linear-gradient(180deg, #fff4e8, #ffffff);
}

.service-card.gray {
  background: linear-gradient(180deg, #f4f8f6, #ffffff);
}

.service-card img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.service-card strong,
.service-card span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card strong {
  margin-top: 4px;
  color: #17231d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.service-card span {
  margin-top: 4px;
  color: #818c86;
  font-size: 10px;
  line-height: 1.15;
}

.panel {
  margin-top: 11px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(45, 60, 53, 0.04);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
}

.panel-head h2 {
  margin: 0;
  color: #1a2922;
  font-size: 15px;
  font-weight: 900;
}

.panel-head button {
  padding: 4px 0 4px 10px;
  color: #8d9892;
  background: transparent;
  font-size: 12px;
}

.role-panel {
  padding-bottom: 12px;
}

.role-summary {
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #4f6258;
  background: #f5faf7;
  font-size: 12px;
  line-height: 1.45;
}

.workbench-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 10px;
  padding: 2px 0 11px;
  border-bottom: 1px solid #edf2ef;
}

.workbench-shortcuts[hidden] {
  display: none;
}

.workbench-shortcut {
  display: flex;
  min-width: 0;
  min-height: 78px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4px 2px;
  color: #26372f;
  background: transparent;
  text-align: center;
  transition: background 160ms ease, transform 160ms ease;
}

.workbench-shortcut:active {
  transform: scale(0.97);
}

.workbench-shortcut:focus-visible {
  outline: 2px solid rgba(22, 135, 93, 0.34);
  outline-offset: 2px;
}

.workbench-shortcut-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf7f1;
}

.workbench-shortcut.blue .workbench-shortcut-icon {
  background: #eef7fc;
}

.workbench-shortcut.green-soft .workbench-shortcut-icon {
  background: #f0f8f1;
}

.workbench-shortcut.orange .workbench-shortcut-icon {
  background: #fff3e7;
}

.workbench-shortcut-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.workbench-shortcut strong,
.workbench-shortcut small {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workbench-shortcut strong {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 900;
}

.workbench-shortcut small {
  margin-top: 3px;
  color: #78857e;
  font-size: 9px;
  line-height: 1.2;
}

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

.role-task {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(22, 135, 93, 0.1);
  border-radius: 10px;
  color: #23372d;
  background: #ffffff;
  text-align: left;
}

.role-task strong,
.role-task span {
  display: block;
}

.role-task strong {
  font-size: 13px;
  font-weight: 900;
}

.role-task span {
  margin-top: 5px;
  color: #76837d;
  font-size: 11px;
  line-height: 1.35;
}

.role-task b {
  display: inline-block;
  margin-top: 9px;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

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

.overview-card {
  display: flex;
  min-width: 0;
  min-height: 62px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbff, #eef6fb);
}

.overview-label,
.overview-value,
.overview-unit {
  display: block;
  width: 100%;
  text-align: center;
}

.overview-label {
  color: #6c7b75;
  font-size: 10px;
}

.overview-value {
  margin-top: 4px;
  color: #1c2d25;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.overview-unit {
  margin-top: 2px;
  color: #7c8782;
  font-size: 10px;
}

.map-wrap {
  position: relative;
  height: 220px;
  margin-top: 4px;
}

.province-map,
.mock-province-map {
  position: absolute;
  left: 2px;
  top: 1px;
  width: calc(100% - 12px);
  height: 212px;
  object-fit: contain;
}

.mock-province-map {
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 34% 34%, rgba(22, 135, 93, 0.26), transparent 22%),
    radial-gradient(circle at 68% 58%, rgba(39, 191, 209, 0.22), transparent 24%),
    linear-gradient(135deg, #eef8f1, #f8fbf5);
}

.map-point {
  position: absolute;
  z-index: 2;
  min-width: 44px;
  min-height: 34px;
  padding: 3px 4px;
  border: 0;
  border-radius: 6px;
  color: #314d3c;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.map-point:hover,
.map-point:focus-visible {
  color: #087650;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 12px rgba(28, 70, 48, 0.14);
}

.map-point:active {
  background: rgba(229, 247, 238, 0.94);
}

.map-point span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.12;
}

.map-point strong {
  display: block;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.12;
}

.map-legend {
  position: absolute;
  right: 10px;
  bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-legend span {
  color: #89948f;
  font-size: 11px;
}

.map-legend i {
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e9f5e6, #6fbd75, #198a45);
}

.recommend-panel {
  padding-bottom: 8px;
}

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

.recommend-card {
  min-width: 0;
  border-radius: 8px;
  background: transparent;
  transition: transform 160ms ease;
}

.thumb-wrap {
  position: relative;
  height: 55px;
  overflow: hidden;
  border-radius: 6px;
  background: #eef4ef;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-wrap span {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 3px 6px;
  border-radius: 5px;
  color: #ffffff;
  background: #14a36f;
  font-size: 10px;
  font-weight: 800;
}

.asset-title,
.asset-region,
.asset-heat {
  display: block;
}

.asset-title {
  display: -webkit-box;
  height: 38px;
  margin-top: 6px;
  overflow: hidden;
  color: #26352e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.asset-region {
  margin-top: 2px;
  overflow: hidden;
  color: #929d98;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 5px;
}

.asset-price {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.asset-unit {
  color: var(--orange);
  font-size: 10px;
}

.asset-heat {
  margin-top: 4px;
  color: #8d9892;
  font-size: 10px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: calc(18px + env(safe-area-inset-top)) 18px 12px;
  background: linear-gradient(180deg, #eef8f1, #f5f8f6);
}

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

.page-head h2 {
  margin: 0;
  color: #17231d;
  font-size: 24px;
  font-weight: 900;
}

.page-head p {
  max-width: 28em;
  margin: 6px 0 0;
  color: #6b7771;
  font-size: 13px;
  line-height: 1.55;
}

.page-head-action {
  flex: 0 0 auto;
  min-width: 74px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.page-search {
  margin: 0 14px 12px;
}

.asset-advanced-filters {
  margin: 0 14px 10px;
  padding: 12px;
  border: 1px solid #dce7e0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(37, 63, 49, 0.04);
}

.asset-advanced-filters[hidden] {
  display: none;
}

.asset-filter-heading,
.matched-resource-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.asset-filter-heading > div,
.matched-resource-toggle > span {
  min-width: 0;
}

.asset-filter-heading strong,
.asset-filter-heading span,
.matched-resource-toggle strong,
.matched-resource-toggle small {
  display: block;
}

.asset-filter-heading strong {
  color: #1b3026;
  font-size: 14px;
}

.asset-filter-heading span {
  margin-top: 2px;
  color: #7a8780;
  font-size: 10px;
}

.asset-filter-heading span b {
  color: var(--green-deep);
  font-size: 12px;
}

.asset-filter-heading button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(22, 111, 80, 0.22);
  border-radius: 7px;
  color: #176f50;
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.matched-resource-toggle {
  position: relative;
  justify-content: flex-start;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f1f7f3;
  cursor: pointer;
}

.matched-resource-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.matched-resource-toggle > i {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 22px;
  border: 1px solid #becbc4;
  border-radius: 999px;
  background: #dce5e0;
  transition: background 160ms ease, border-color 160ms ease;
}

.matched-resource-toggle > i span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(31, 60, 46, 0.16);
  transition: transform 160ms ease;
}

.matched-resource-toggle input:checked + i {
  border-color: var(--green);
  background: var(--green);
}

.matched-resource-toggle input:checked + i span {
  transform: translateX(16px);
}

.matched-resource-toggle input:focus-visible + i {
  outline: 2px solid rgba(22, 135, 93, 0.28);
  outline-offset: 2px;
}

.matched-resource-toggle strong {
  color: #243a2f;
  font-size: 11px;
}

.matched-resource-toggle small {
  margin-top: 2px;
  color: #748079;
  font-size: 9px;
}

.village-filter-note {
  margin: 9px 0 0;
  color: #66766d;
  font-size: 10px;
  line-height: 1.45;
}

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

.asset-filter-grid label {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.asset-filter-grid label:last-child {
  grid-column: 1 / -1;
}

.asset-filter-grid label > span {
  color: #56665d;
  font-size: 9px;
  font-weight: 800;
}

.asset-filter-grid select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 26px 0 9px;
  border: 1px solid #dce6e0;
  border-radius: 7px;
  color: #263a30;
  background: #fbfdfb;
  font-size: 11px;
}

.asset-filter-grid select:focus-visible,
.asset-filter-heading button:focus-visible {
  outline: 2px solid rgba(22, 135, 93, 0.25);
  outline-offset: 1px;
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 0 14px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.filter-chip {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(22, 135, 93, 0.12);
  border-radius: 999px;
  color: #52615a;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.filter-chip.is-active {
  color: #ffffff;
  background: var(--green);
}

.asset-list,
.member-list,
.module-list {
  display: grid;
  gap: 10px;
  padding: 0 14px 20px;
}

.village-valuation-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 14px 12px;
  border-top: 1px solid #dce7e0;
  border-bottom: 1px solid #dce7e0;
  background: #f8fbf9;
}

.village-valuation-overview[hidden] {
  display: none;
}

.village-valuation-overview div {
  min-width: 0;
  padding: 9px 3px;
  text-align: center;
}

.village-valuation-overview div + div {
  border-left: 1px solid #e2e9e5;
}

.village-valuation-overview strong,
.village-valuation-overview span {
  display: block;
}

.village-valuation-overview strong {
  color: #173c2d;
  font-size: 16px;
  font-weight: 900;
}

.village-valuation-overview span {
  margin-top: 2px;
  overflow: hidden;
  color: #6d7b74;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-valuation-card {
  padding: 13px;
  border: 1px solid #dce6e0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(37, 63, 49, 0.04);
}

.village-valuation-card.is-intent-mode {
  border-color: rgba(22, 135, 93, 0.32);
}

.village-valuation-card.is-correction {
  border-color: #ead7b4;
}

.valuation-card-head,
.valuation-title-line,
.asset-intent-row,
.asset-intent-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.valuation-card-head > div,
.asset-intent-row > div,
.asset-intent-heading > div {
  min-width: 0;
}

.valuation-title-line {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.valuation-title-line strong {
  color: #182a21;
  font-size: 14px;
  line-height: 1.35;
}

.valuation-title-line span {
  padding: 3px 6px;
  border-radius: 5px;
  color: #5e6e65;
  background: #eef3f0;
  font-size: 9px;
  font-weight: 800;
}

.valuation-card-head p {
  margin: 4px 0 0;
  color: #748079;
  font-size: 10px;
  line-height: 1.4;
}

.valuation-primary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 7px;
  background: #edf7f1;
}

.valuation-correction-message {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 7px;
  background: #fff7e8;
}

.valuation-correction-message > div {
  min-width: 0;
}

.valuation-correction-message span,
.valuation-correction-message strong,
.valuation-correction-message small {
  display: block;
}

.valuation-correction-message span {
  color: #92641e;
  font-size: 9px;
  font-weight: 800;
}

.valuation-correction-message strong {
  margin-top: 4px;
  color: #59431e;
  font-size: 12px;
  line-height: 1.35;
}

.valuation-correction-message small {
  margin-top: 4px;
  color: #8b7a5b;
  font-size: 9px;
}

.valuation-correction-message button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  color: #ffffff;
  background: #b8791b;
  font-size: 10px;
  font-weight: 900;
}

.valuation-primary > div > span,
.valuation-primary strong,
.valuation-primary small {
  display: block;
}

.valuation-primary > div > span {
  color: #52675c;
  font-size: 10px;
  font-weight: 800;
}

.valuation-primary strong {
  margin-top: 3px;
  color: #0b6f4c;
  font-size: 20px;
  line-height: 1.15;
}

.valuation-primary small {
  margin-top: 4px;
  color: #738079;
  font-size: 9px;
}

.valuation-trend {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 6px;
  color: #6b7771;
  background: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.valuation-trend.is-up {
  color: #c64a2a;
}

.valuation-trend.is-steady {
  color: #276c51;
}

.valuation-trend.is-pending {
  color: #8c6a24;
}

.valuation-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  background: #e6ece8;
}

.valuation-metric-row div {
  min-width: 0;
  min-height: 52px;
  padding: 7px;
  background: #fafcfb;
}

.valuation-metric-row span,
.valuation-metric-row strong {
  display: block;
}

.valuation-metric-row span {
  color: #7b8780;
  font-size: 9px;
}

.valuation-metric-row strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #2b3b33;
  font-size: 11px;
  line-height: 1.25;
}

.valuation-basis {
  margin: 9px 0 0;
  color: #718078;
  font-size: 10px;
  line-height: 1.45;
}

.valuation-basis span {
  margin-right: 6px;
  color: #43554b;
  font-weight: 900;
}

.asset-intent-row {
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e4ebe7;
}

.asset-intent-row > div > span {
  color: #56665d;
  font-size: 10px;
  font-weight: 900;
}

.asset-intent-row button {
  flex: 0 0 auto;
  min-width: 52px;
  height: 32px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.asset-intent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.asset-intent-tags span {
  padding: 3px 6px;
  border-radius: 5px;
  color: var(--green-deep);
  background: #e7f4ec;
  font-size: 9px;
  font-weight: 800;
}

.asset-intent-tags em {
  color: #8b958f;
  font-size: 10px;
  font-style: normal;
}

.resource-card,
.company-card,
.case-card,
.profile-card,
.module-card,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(45, 60, 53, 0.04);
}

.resource-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.resource-thumb {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 10px;
  background: #e7f0ea;
}

.resource-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  object-position: center;
}

.thumb-label {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(22, 135, 93, 0.92);
  font-size: 10px;
  font-weight: 800;
}

.resource-body {
  min-width: 0;
}

.resource-head,
.company-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.resource-title,
.company-name {
  display: block;
  color: #1d2d25;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.resource-location,
.company-profile {
  display: block;
  margin-top: 3px;
  color: #7b8781;
  font-size: 11px;
  line-height: 1.35;
}

.pill,
.role-pill {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 10px;
  font-weight: 800;
}

.pill.gold {
  color: #9a681a;
  background: #fff4dd;
}

.pill.blue {
  color: #236b9d;
  background: #e7f3ff;
}

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

.metric-grid.is-public {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid div {
  min-width: 0;
  padding: 7px 5px;
  border-radius: 8px;
  background: #f7fbf8;
}

.metric-grid strong,
.metric-grid span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-grid strong {
  color: #24382e;
  font-size: 11px;
  font-weight: 900;
}

.metric-grid span {
  margin-top: 2px;
  color: #85918b;
  font-size: 10px;
}

.resource-foot,
.tag-row,
.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.resource-foot span,
.small-tag {
  padding: 4px 7px;
  border-radius: 999px;
  color: #66736d;
  background: #f1f6f3;
  font-size: 10px;
  font-weight: 700;
}

.resource-match-mark {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid rgba(22, 135, 93, 0.18);
  border-radius: 6px;
  color: #0d7550;
  background: #e8f6ee;
  font-size: 9px;
  font-weight: 900;
}

.asset-filter-empty {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 26px 18px;
  text-align: center;
}

.asset-filter-empty strong {
  color: #24372d;
  font-size: 14px;
}

.asset-filter-empty span {
  color: #7b8781;
  font-size: 10px;
}

.asset-filter-empty button {
  min-height: 34px;
  margin-top: 5px;
  padding: 0 12px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green);
  font-size: 10px;
  font-weight: 900;
}

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

.resource-card-actions button,
.company-card-actions button {
  min-height: 34px;
  border: 1px solid rgba(22, 111, 80, 0.24);
  border-radius: 8px;
  color: #176f50;
  background: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.resource-card-actions button.is-primary,
.company-card-actions button.is-primary {
  border-color: #176f50;
  color: #ffffff;
  background: #176f50;
}

.valuation-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.valuation-strip div {
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  background: #fff8f1;
}

.valuation-strip strong,
.valuation-strip span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.valuation-strip strong {
  color: #d94d2b;
  font-size: 12px;
  font-weight: 900;
}

.valuation-strip span {
  margin-top: 2px;
  color: #8b7b72;
  font-size: 10px;
}

.empty {
  margin: 0 14px;
  padding: 18px;
  border-radius: var(--panel-radius);
  color: #72807a;
  background: #ffffff;
  text-align: center;
  font-size: 13px;
}

.alliance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 12px;
  margin: 14px;
  padding: calc(18px + env(safe-area-inset-top)) 16px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e6f6ef, #ffffff 62%, #fef4e8);
  box-shadow: var(--shadow);
}

.alliance-hero h2 {
  margin: 0;
  color: #17231d;
  font-size: 24px;
  font-weight: 900;
}

.alliance-hero p {
  margin: 8px 0 0;
  color: #5f6d66;
  font-size: 13px;
  line-height: 1.55;
}

.alliance-detail-view {
  background: #f3f6f4;
}

.alliance-detail-head {
  position: sticky;
  top: 0;
  z-index: 12;
  align-items: center;
  padding-top: calc(12px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.alliance-detail-head h2 {
  font-size: 20px;
}

.alliance-detail-head p {
  margin-top: 2px;
  font-size: 11px;
}

.alliance-cooperation-status {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--green-deep);
  background: #e2f3ea;
  font-size: 10px;
  font-weight: 900;
}

.alliance-detail-content {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

.alliance-subject-summary,
.alliance-detail-section {
  padding: 16px;
  border-top: 1px solid #e1e8e4;
  border-bottom: 1px solid #e1e8e4;
  background: #ffffff;
}

.alliance-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alliance-detail-logo {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.alliance-summary-head > div:last-child {
  min-width: 0;
}

.alliance-detail-role {
  display: flex;
  align-items: center;
  gap: 6px;
}

.alliance-detail-role span,
.alliance-detail-role em {
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.alliance-detail-role span {
  color: #ffffff;
  background: var(--green);
}

.alliance-detail-role em {
  color: #8a611f;
  background: #fff1d6;
}

.alliance-summary-head h2 {
  margin: 6px 0 0;
  color: #17291f;
  font-size: 18px;
  line-height: 1.3;
}

.alliance-summary-head p {
  margin: 3px 0 0;
  color: #718078;
  font-size: 10px;
  line-height: 1.4;
}

.alliance-detail-intro {
  margin: 14px 0 0;
  color: #56665d;
  font-size: 11px;
  line-height: 1.6;
}

.alliance-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.alliance-detail-tags span {
  padding: 4px 7px;
  border-radius: 5px;
  color: var(--green-deep);
  background: #e8f4ed;
  font-size: 9px;
  font-weight: 800;
}

.alliance-detail-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.alliance-detail-section-head h3,
.alliance-detail-section-head p {
  margin: 0;
}

.alliance-detail-section-head h3 {
  color: #1d2f26;
  font-size: 15px;
}

.alliance-detail-section-head p {
  margin-top: 3px;
  color: #7b8781;
  font-size: 9px;
}

.alliance-detail-section-head > span {
  flex: 0 0 auto;
  color: #607067;
  font-size: 9px;
  font-weight: 800;
}

.alliance-basic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 0;
  border-top: 1px solid #e5ebe7;
}

.alliance-basic-grid > div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e5ebe7;
}

.alliance-basic-grid > div:nth-child(odd):not(.is-wide) {
  padding-right: 10px;
}

.alliance-basic-grid > div:nth-child(even) {
  padding-left: 10px;
  border-left: 1px solid #e5ebe7;
}

.alliance-basic-grid > div.is-wide {
  grid-column: 1 / -1;
}

.alliance-basic-grid dt {
  color: #7d8982;
  font-size: 9px;
}

.alliance-basic-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #2c3d34;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.satisfaction-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 13px;
  background: #e3eae6;
}

.satisfaction-overview > div {
  padding: 11px;
  background: #f3f8f5;
}

.satisfaction-overview strong,
.satisfaction-overview span {
  display: block;
}

.satisfaction-overview strong {
  color: var(--green-deep);
  font-size: 22px;
}

.satisfaction-overview span {
  margin-top: 2px;
  color: #68766e;
  font-size: 9px;
}

.satisfaction-overview > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: 7px 11px;
  color: #825b20;
  background: #fff5e3;
  font-size: 10px;
  font-weight: 900;
}

.satisfaction-dimensions {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.satisfaction-dimensions > div > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #53635a;
  font-size: 10px;
}

.satisfaction-dimensions strong {
  color: #2a4035;
  font-size: 10px;
}

.satisfaction-track {
  height: 6px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #e6ece8;
}

.satisfaction-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.alliance-history-list {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.alliance-history-item {
  overflow: hidden;
  border: 1px solid #dde6e1;
  border-radius: 8px;
  background: #ffffff;
}

.alliance-history-item > img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.alliance-history-body {
  padding: 11px;
}

.alliance-history-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.alliance-history-title strong {
  color: #1f3128;
  font-size: 13px;
}

.alliance-history-title span {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 5px;
  color: #8a611f;
  background: #fff1d6;
  font-size: 9px;
  font-weight: 900;
}

.alliance-history-body > p {
  margin: 4px 0 0;
  color: #7b8781;
  font-size: 9px;
}

.alliance-history-body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 0;
  background: #e5ebe7;
}

.alliance-history-body dl > div {
  min-width: 0;
  padding: 8px;
  background: #f8faf9;
}

.alliance-history-body dt {
  color: #7b8781;
  font-size: 9px;
}

.alliance-history-body dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #2d4036;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.onboarding-head {
  align-items: flex-start;
}

.onboarding-form {
  display: grid;
  gap: 10px;
  padding: 0 14px 18px;
}

.onboarding-section.primary-board {
  padding: 14px 12px;
  box-shadow: none;
}

.onboarding-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 10px;
  background: #f1f8f4;
}

.onboarding-identity-mark {
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  background: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.onboarding-identity > div:last-child {
  min-width: 0;
}

.onboarding-identity span,
.onboarding-identity strong,
.onboarding-identity p {
  display: block;
}

.onboarding-identity span {
  color: #68766f;
  font-size: 10px;
  font-weight: 800;
}

.onboarding-identity strong {
  margin-top: 2px;
  color: #1d3026;
  font-size: 15px;
  font-weight: 900;
}

.onboarding-identity p {
  margin: 3px 0 0;
  color: #617068;
  font-size: 11px;
  line-height: 1.4;
}

.section-guidance {
  margin: -1px 0 11px;
  color: #617068;
  font-size: 12px;
  line-height: 1.5;
}

.section-index {
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 11px;
  font-weight: 900;
}

.subject-type-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.subject-type-option {
  min-width: 0;
  min-height: 78px;
  padding: 9px 8px;
  border: 1px solid rgba(43, 65, 55, 0.12);
  border-radius: 10px;
  color: #26372f;
  background: #fbfdfb;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.subject-type-option strong,
.subject-type-option span {
  display: block;
}

.subject-type-option strong {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.subject-type-option span {
  margin-top: 5px;
  color: #6e7b74;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.subject-type-option.is-active {
  border-color: rgba(22, 135, 93, 0.7);
  color: var(--green-deep);
  background: #eefaf3;
}

.subject-type-option.is-active span {
  color: #39715a;
}

.onboarding-role-page,
.onboarding-detail-page {
  display: grid;
  gap: 10px;
}

.onboarding-role-page[hidden],
.onboarding-detail-page[hidden] {
  display: none;
}

.onboarding-section {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--surface);
  box-shadow: none;
}

.role-only-section {
  min-height: 244px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title-row > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.section-title-row h3 {
  margin: 0;
  color: #1a2922;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.step-mark {
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.section-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 11px;
  font-weight: 900;
}

.text-action {
  flex: 0 0 auto;
  padding: 4px 0 4px 10px;
  color: var(--green-deep);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

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

.onboard-role-card {
  min-width: 0;
  min-height: 94px;
  padding: 10px 8px;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 10px;
  color: #23372d;
  background: #f9fcfa;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.onboard-role-card:active {
  transform: scale(0.98);
}

.onboard-role-card.is-active {
  border-color: rgba(22, 135, 93, 0.44);
  background: #eefaf3;
}

.onboard-role-card strong,
.onboard-role-card span {
  display: block;
}

.onboard-role-card strong {
  color: #1a2922;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.onboard-role-card span {
  margin-top: 6px;
  color: #66736d;
  font-size: 11px;
  line-height: 1.4;
}

.role-page-actions {
  position: sticky;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 10;
  padding: 10px;
  border: 1px solid rgba(43, 65, 55, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(37, 63, 49, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.compact-selected-role {
  padding: 10px 12px;
}

.selected-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.selected-role-row span,
.selected-role-row strong {
  display: block;
}

.selected-role-row span {
  color: #7c8983;
  font-size: 11px;
  font-weight: 800;
}

.selected-role-row strong {
  margin-top: 2px;
  color: #1a2922;
  font-size: 16px;
  font-weight: 900;
}

.layer-path {
  display: grid;
  gap: 7px;
}

.layer-node {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.layer-node i {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.layer-node div {
  min-width: 0;
  padding: 7px 9px;
  border-radius: 9px;
  background: #f6faf7;
}

.layer-node strong,
.layer-node span {
  display: block;
}

.layer-node strong {
  color: #24382e;
  font-size: 12px;
  font-weight: 900;
}

.layer-node span {
  margin-top: 2px;
  color: #7c8983;
  font-size: 11px;
  line-height: 1.35;
}

.permission-note {
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #4f6258;
  background: #f5faf7;
  font-size: 12px;
  line-height: 1.45;
}

.field-grid {
  display: grid;
  gap: 9px;
}

.text-field {
  display: grid;
  gap: 6px;
}

.text-field + .text-field {
  margin-top: 10px;
}

.text-field span {
  color: #52615a;
  font-size: 12px;
  font-weight: 900;
}

.text-field input,
.text-field textarea,
.text-field select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(43, 65, 55, 0.12);
  border-radius: 10px;
  color: var(--text);
  background: #fbfdfb;
  font-size: 14px;
}

.text-field input {
  height: 40px;
  padding: 0 11px;
}

.text-field select {
  height: 40px;
  padding: 0 11px;
}

.text-field textarea {
  min-height: 78px;
  padding: 10px 11px;
  resize: vertical;
  line-height: 1.5;
}

.text-field small {
  color: #7f8b85;
  font-size: 11px;
  line-height: 1.35;
}

.field-separator {
  height: 1px;
  margin: 2px 0;
  background: rgba(43, 65, 55, 0.09);
}

.attachment-stack {
  margin-top: 12px;
}

.attachment-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(43, 65, 55, 0.09);
}

.attachment-row > div {
  min-width: 0;
}

.attachment-row strong,
.attachment-row span {
  display: block;
}

.attachment-row strong {
  color: #26372f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.attachment-row span {
  margin-top: 3px;
  color: #738078;
  font-size: 11px;
  line-height: 1.4;
}

.attachment-row .attachment-file {
  overflow: hidden;
  color: var(--green-deep);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.supplement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 5px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 65, 55, 0.09);
}

.supplement-row > div {
  min-width: 0;
}

.supplement-row strong,
.supplement-row span {
  display: block;
}

.supplement-row strong {
  color: #26372f;
  font-size: 13px;
  font-weight: 900;
}

.supplement-row span {
  margin-top: 3px;
  color: #738078;
  font-size: 11px;
  line-height: 1.4;
}

.outline-action {
  min-width: 58px;
  height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(22, 135, 93, 0.34);
  border-radius: 999px;
  color: var(--green-deep);
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.name-verify {
  display: grid;
  gap: 9px;
}

.name-input-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.name-input-head span {
  color: #52615a;
  font-size: 12px;
  font-weight: 900;
}

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

.verify-mode {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(22, 135, 93, 0.12);
  border-radius: 999px;
  color: #52615a;
  background: #f6faf7;
  font-size: 12px;
  font-weight: 900;
}

.verify-mode.is-active {
  color: #ffffff;
  background: var(--green);
}

.name-upload-panel,
.manual-attachment-panel {
  display: grid;
  gap: 7px;
  padding: 9px;
  border-radius: 10px;
  background: #f5faf7;
}

.manual-name-note {
  margin: -2px 0 0;
  color: #df4d2a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.inline-upload {
  position: relative;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px dashed rgba(22, 135, 93, 0.32);
  border-radius: 10px;
  color: var(--green-deep);
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.inline-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-tip {
  color: #7f8b85;
  font-size: 11px;
  line-height: 1.35;
}

.choice-block + .choice-block {
  margin-top: 12px;
}

.choice-block h4 {
  margin: 0 0 8px;
  color: #52615a;
  font-size: 12px;
  font-weight: 900;
}

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

.check-item {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 10px;
  background: #fbfdfb;
  color: #26372f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.check-item input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

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

.choice-accordion {
  overflow: hidden;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 10px;
  background: #fbfdfb;
}

.accordion-trigger {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-height: 43px;
  padding: 0 10px;
  color: #26372f;
  background: transparent;
  text-align: left;
}

.accordion-trigger::after {
  content: "⌄";
  color: #7c8983;
  font-size: 13px;
  font-weight: 900;
}

.choice-accordion.is-open .accordion-trigger::after {
  transform: rotate(180deg);
}

.accordion-trigger span {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
}

.accordion-trigger strong {
  max-width: 142px;
  overflow: hidden;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.accordion-body {
  display: none;
  padding: 0 9px 10px;
}

.choice-accordion.is-open .accordion-body {
  display: block;
}

.publish-intent-action {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 0 11px;
  border-radius: 9px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.publish-intent-action strong {
  font-size: 11px;
  font-weight: 800;
  opacity: 0.82;
}

.is-attention {
  animation: onboarding-attention 850ms ease-out;
}

@keyframes onboarding-attention {
  0%, 100% {
    outline: 0 solid rgba(22, 135, 93, 0);
  }
  35% {
    outline: 5px solid rgba(22, 135, 93, 0.15);
  }
}

.business-accordion {
  margin-top: 12px;
}

.qualification-grid {
  grid-template-columns: 1fr;
}

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

.upload-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 10px;
  background: #fbfdfb;
}

.upload-copy {
  min-width: 0;
}

.upload-copy strong,
.upload-copy span {
  display: block;
}

.upload-copy strong {
  color: #26372f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.upload-copy span {
  margin-top: 3px;
  color: #7f8b85;
  font-size: 11px;
  line-height: 1.35;
}

.required-dot {
  color: #df4d2a;
}

.upload-action {
  position: relative;
  display: inline-flex;
  min-width: 62px;
  height: 30px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 12px;
  font-weight: 900;
}

.upload-action input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.credit-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.credit-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #52615a;
  font-size: 12px;
  font-weight: 900;
}

.radio-choice {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(43, 65, 55, 0.12);
  border-radius: 10px;
  color: #26372f;
  background: #fbfdfb;
  font-size: 13px;
  font-weight: 900;
}

.radio-choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--green);
}

.credit-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 65, 55, 0.09);
}

.credit-detail > p {
  margin: 0;
  color: #738078;
  font-size: 12px;
  line-height: 1.5;
}

.credit-detail-fields {
  display: grid;
  gap: 10px;
}

.credit-note {
  margin: 0;
  color: #39715a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.submit-bar {
  position: sticky;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(43, 65, 55, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(37, 63, 49, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.primary-action,
.secondary-action {
  height: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.primary-action {
  color: #ffffff;
  background: var(--green);
}

.secondary-action {
  color: var(--green-deep);
  background: #e8f7ef;
}

.ai-badge {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(180deg, #21a36f, #0b6f4c);
}

.ai-badge span {
  font-size: 24px;
  font-weight: 900;
}

.ai-badge strong {
  margin-top: 4px;
  font-size: 11px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}

.stat-card {
  min-height: 58px;
  padding: 10px 6px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: #1e3027;
  font-size: 16px;
  font-weight: 900;
}

.stat-card span {
  display: block;
  margin-top: 3px;
  color: #7c8983;
  font-size: 10px;
}

.company-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.company-logo,
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(180deg, #26ad76, #0b7b54);
  font-weight: 900;
}

.company-logo {
  width: 42px;
  height: 42px;
}

.company-main {
  min-width: 0;
}

.name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.company-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-meta div {
  padding: 7px;
  border-radius: 9px;
  background: #f7fbf8;
}

.company-meta strong,
.company-meta span {
  display: block;
}

.company-meta strong {
  overflow: hidden;
  color: #26372f;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-meta span {
  margin-top: 2px;
  color: #87938d;
  font-size: 10px;
}

.case-list {
  gap: 12px;
}

.case-card {
  overflow: hidden;
  box-shadow: none;
  transition: transform 160ms ease;
}

.case-cover {
  position: relative;
  height: 128px;
  overflow: hidden;
  background: #e6eee9;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-cover > span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(22, 39, 30, 0.82);
  font-size: 10px;
  font-weight: 900;
}

.case-body {
  padding: 12px;
}

.case-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.case-title-row > strong {
  min-width: 0;
  color: #1c2d24;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}

.case-location {
  margin: 4px 0 0;
  color: #75827b;
  font-size: 11px;
}

.case-operator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f4f8f5;
}

.case-operator span {
  flex: 0 0 auto;
  color: #7a8780;
  font-size: 10px;
}

.case-operator strong {
  min-width: 0;
  overflow: hidden;
  color: #284035;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 8px;
  margin-top: 9px;
}

.case-result-row div {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f7faf8;
}

.case-result-row span,
.case-result-row strong {
  display: block;
}

.case-result-row span {
  color: #7a8780;
  font-size: 10px;
}

.case-result-row strong {
  margin-top: 3px;
  overflow: hidden;
  color: #1f382b;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.case-foot .tag-row {
  min-width: 0;
}

.case-foot > span {
  flex: 0 0 auto;
  color: #6b7a72;
  font-size: 10px;
  font-weight: 800;
}

.profile-view {
  background: #f3f7f4;
}

.profile-view.is-active {
  display: block;
  min-height: calc(100dvh - 66px - env(safe-area-inset-bottom));
  padding-bottom: calc(86px + env(safe-area-inset-bottom));
}

.profile-center-head {
  padding: calc(18px + env(safe-area-inset-top)) 16px 16px;
  border-bottom: 1px solid rgba(22, 135, 93, 0.08);
  background: #eef7f2;
}

.profile-user-block {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.profile-center-head .avatar {
  display: grid;
  width: 68px;
  height: 68px;
  overflow: hidden;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 3px 8px rgba(30, 86, 58, 0.14);
  font-size: 22px;
  font-weight: 900;
}

.profile-center-head .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-center-head .avatar img[hidden],
.profile-center-head .avatar span[hidden] {
  display: none;
}

.profile-identity-copy {
  min-width: 0;
}

.profile-name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.profile-name-row h2 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #18231f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.profile-verification {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid rgba(22, 135, 93, 0.18);
  border-radius: 5px;
  color: #087650;
  background: #e7f7ee;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-verification.is-pending {
  border-color: #e5c775;
  color: #805309;
  background: #fbf0d1;
}

.profile-verification.is-rejected {
  border-color: #e9b3ad;
  color: #963d32;
  background: #fae5e2;
}

.profile-location {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  margin: 6px 0 0;
  color: #52635a;
  font-size: 10px;
  line-height: 1.4;
}

.profile-location span {
  color: var(--green);
  font-size: 13px;
}

.profile-location b {
  min-width: 0;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-role-chip {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-top: 7px;
  padding: 0 7px;
  border-radius: 5px;
  color: var(--green-deep);
  background: #dff2e8;
  font-size: 9px;
  font-weight: 900;
}

.profile-head-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid rgba(46, 82, 63, 0.1);
}

.profile-head-actions button {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 52px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #31443a;
  background: transparent;
}

.profile-head-actions button + button {
  border-left: 1px solid rgba(46, 82, 63, 0.08);
}

.profile-head-actions button > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  color: #173c2d;
  background: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.profile-head-actions button strong {
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-head-actions button em {
  position: absolute;
  top: 2px;
  left: calc(50% + 8px);
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #eef7f2;
  border-radius: 999px;
  color: #ffffff;
  background: #df3f35;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.profile-data-panel {
  margin: 12px 12px 0;
  padding: 14px;
  border: 1px solid rgba(38, 64, 50, 0.09);
  border-radius: 8px;
  background: #ffffff;
}

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

.profile-section-head h3 {
  margin: 0;
  color: #1b2b23;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.profile-section-head button {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0;
  color: #748078;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.profile-section-head button span {
  font-size: 15px;
}

.profile-overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.profile-overview-metric {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
  padding: 0 5px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.profile-overview-metric + .profile-overview-metric {
  border-left: 1px solid #edf1ef;
}

.profile-overview-metric:hover {
  background: #f4f8f5;
}

.profile-overview-metric:focus-visible {
  outline: 2px solid #16875d;
  outline-offset: 2px;
}

.profile-overview-metric:active {
  transform: translateY(1px);
}

.profile-metric-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.profile-overview-metric.is-green .profile-metric-icon {
  color: #087650;
  background: #ddf4e8;
}

.profile-overview-metric.is-blue .profile-metric-icon {
  color: #326ce0;
  background: #e7efff;
}

.profile-overview-metric.is-orange .profile-metric-icon {
  color: #d96b15;
  background: #fff0df;
}

.profile-overview-metric.is-purple .profile-metric-icon {
  color: #7354d6;
  background: #eee9ff;
}

.profile-overview-metric strong,
.profile-overview-metric b,
.profile-overview-metric small {
  display: block;
  max-width: 100%;
}

.profile-overview-metric strong {
  margin-top: 7px;
  overflow: hidden;
  color: #17241d;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-overview-metric b {
  margin-top: 5px;
  color: #596860;
  font-size: 10px;
  font-weight: 800;
}

.profile-overview-metric small {
  min-height: 24px;
  margin-top: 5px;
  color: #87918c;
  font-size: 8px;
  line-height: 1.45;
}

.profile-status-body {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}

.profile-status-donut {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
}

.profile-status-donut::before {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  content: '';
}

.profile-status-donut > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #526159;
  font-size: 9px;
}

.profile-status-donut strong {
  color: #17241d;
  font-size: 18px;
  font-weight: 900;
}

.profile-status-donut small {
  font-size: 8px;
}

.profile-status-list {
  display: grid;
  gap: 10px;
}

.profile-status-row {
  display: grid;
  grid-template-columns: 56px minmax(32px, 1fr) 54px;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.profile-status-row > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #4f5e56;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-status-row > span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.profile-status-row > b {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f5;
}

.profile-status-row > b i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.profile-status-row > strong {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  color: #26352e;
  font-size: 10px;
  font-weight: 900;
}

.profile-status-row > strong small {
  color: #8a9490;
  font-size: 8px;
  font-weight: 700;
}

.profile-recent-list {
  display: grid;
  margin-top: 7px;
}

.profile-recent-item {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) 80px;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.profile-recent-item + .profile-recent-item {
  border-top: 1px solid #edf1ef;
}

.profile-recent-cover {
  position: relative;
  display: block;
  height: 72px;
  overflow: hidden;
  border-radius: 6px;
  background: #e8efea;
}

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

.profile-recent-cover em {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 3px 5px;
  border-radius: 4px;
  color: #ffffff;
  background: #16875d;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.profile-recent-cover em.is-warning {
  background: #e17b25;
}

.profile-recent-main {
  display: block;
  min-width: 0;
}

.profile-recent-main > strong {
  display: block;
  overflow: hidden;
  color: #1c2b23;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-recent-tags {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  overflow: hidden;
}

.profile-recent-tags i {
  flex: 0 1 auto;
  overflow: hidden;
  padding: 2px 4px;
  border-radius: 4px;
  color: #34735a;
  background: #edf8f2;
  font-size: 7px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-recent-main > small,
.profile-recent-main > b {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #758078;
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-recent-result {
  display: grid;
  min-width: 0;
  justify-items: end;
  text-align: right;
}

.profile-recent-result strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #16875d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.profile-recent-result.is-warning strong {
  color: #e56d22;
}

.profile-recent-result span,
.profile-recent-result small {
  display: block;
  margin-top: 5px;
  color: #8a9490;
  font-size: 7px;
  line-height: 1.35;
}

.profile-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 8px;
  margin-top: 14px;
}

.profile-tools-grid button {
  display: grid;
  min-width: 0;
  place-items: center;
  gap: 7px;
  padding: 2px;
  color: #4f5d56;
  background: transparent;
}

.profile-tool-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(22, 135, 93, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.profile-tool-icon.is-green {
  color: #16875d;
  background: #edf8f2;
}

.profile-tool-icon.is-blue {
  color: #3971df;
  background: #eef3ff;
}

.profile-tool-icon.is-orange {
  color: #d97520;
  background: #fff4e8;
}

.profile-tool-icon.is-purple {
  color: #7454d7;
  background: #f2efff;
}

.profile-tools-grid strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-account-actions {
  margin: 12px 12px 0;
}

.profile-logout {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.profile-logout {
  border: 1px solid #e7c9c9;
  color: #a43b3b;
  background: #ffffff;
}

.profile-logout:active {
  background: #fff4f4;
}

.subject-match-panel {
  margin: 0 14px 14px;
  padding: 14px;
  border: 1px solid rgba(43, 65, 55, 0.11);
  border-radius: var(--panel-radius);
  background: #ffffff;
}

.subject-match-panel[hidden] {
  display: none;
}

.subject-match-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.subject-match-head > div {
  min-width: 0;
}

.subject-match-label {
  display: block;
  color: #66766e;
  font-size: 11px;
  font-weight: 800;
}

.subject-match-head h3 {
  margin: 4px 0 0;
  color: #1b2b23;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}

.match-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 10px;
  font-weight: 900;
}

.subject-match-panel.is-unmatched .match-status {
  color: #87631a;
  background: #fff4d8;
}

.subject-match-panel > p {
  margin: 9px 0 0;
  color: #5d6c64;
  font-size: 12px;
  line-height: 1.55;
}

.subject-record-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 9px;
  background: #f5f9f6;
}

.subject-record-meta div {
  min-width: 0;
}

.subject-record-meta span,
.subject-record-meta strong {
  display: block;
}

.subject-record-meta span {
  color: #7a8780;
  font-size: 10px;
}

.subject-record-meta strong {
  margin-top: 4px;
  overflow: hidden;
  color: #26382f;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.completion-row {
  margin-top: 12px;
}

.completion-row > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5d6c64;
  font-size: 11px;
}

.completion-row strong {
  color: var(--green-deep);
  font-size: 12px;
}

.completion-track {
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ece8;
}

.completion-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.unmatched-guidance {
  margin-top: 12px;
  padding: 10px;
  border-radius: 9px;
  color: #6f5421;
  background: #fff9ea;
  font-size: 11px;
  line-height: 1.5;
}

.subject-match-action {
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.module-card {
  padding: 14px;
}

.module-card h3 {
  margin: 0;
  color: #1d2d25;
  font-size: 15px;
  font-weight: 900;
}

.module-card p {
  margin: 6px 0 0;
  color: #68756f;
  font-size: 12px;
  line-height: 1.5;
}

.module-card span {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f7ef;
  font-size: 10px;
  font-weight: 800;
}

.asset-detail-view,
.asset-entry-view {
  background: #f3f6f4;
}

.asset-detail-head,
.asset-entry-head {
  position: sticky;
  top: 0;
  z-index: 12;
  align-items: center;
  padding-top: calc(12px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.asset-detail-head h2,
.asset-entry-head h2 {
  font-size: 20px;
}

.asset-detail-head p,
.asset-entry-head p {
  margin-top: 2px;
  font-size: 11px;
}

.detail-head-status {
  flex: 0 0 auto;
  padding: 5px 7px;
  border-radius: 6px;
  color: #536159;
  background: #e9efeb;
  font-size: 10px;
  font-weight: 900;
}

.detail-head-status.is-success {
  color: #0b6f4c;
  background: #e2f3ea;
}

.detail-head-status.is-warning {
  color: #9a681a;
  background: #fff2d8;
}

.detail-head-status.is-review {
  color: #236b9d;
  background: #e7f3ff;
}

.asset-detail-content {
  display: grid;
  gap: 10px;
  padding: 0 0 18px;
}

.asset-gallery {
  padding: 0 14px 14px;
  background: #ffffff;
}

.asset-carousel {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce6e0;
}

.asset-carousel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-carousel > p {
  position: absolute;
  left: 10px;
  right: 62px;
  bottom: 9px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  white-space: nowrap;
}

.carousel-count {
  position: absolute;
  right: 9px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #ffffff;
  background: rgba(12, 28, 20, 0.72);
  font-size: 10px;
  font-weight: 800;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 42px;
  color: #ffffff;
  background: rgba(12, 28, 20, 0.56);
  font-size: 25px;
  transform: translateY(-50%);
}

.carousel-arrow.is-prev {
  left: 0;
  border-radius: 0 7px 7px 0;
}

.carousel-arrow.is-next {
  right: 0;
  border-radius: 7px 0 0 7px;
}

.asset-image-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.asset-image-thumbs::-webkit-scrollbar {
  display: none;
}

.asset-image-thumbs button {
  flex: 0 0 64px;
  width: 64px;
  height: 48px;
  overflow: hidden;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #edf2ef;
}

.asset-image-thumbs button.is-active {
  border-color: var(--green);
}

.asset-image-thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
}

.asset-image-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.asset-image-tools label {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.asset-image-tools input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.asset-image-tools label span,
.asset-image-tools button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid #d7e3dc;
  border-radius: 7px;
  color: #315443;
  background: #f7faf8;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.asset-image-tools button {
  color: #a44a37;
  background: #fff8f6;
}

.asset-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid #e1e9e4;
  border-bottom: 1px solid #e1e9e4;
  background: #ffffff;
}

.asset-status-banner.is-warning {
  background: #fffaf0;
}

.asset-status-banner.is-review {
  background: #f3f8fc;
}

.asset-status-banner.is-success {
  background: #f1f8f4;
}

.asset-status-banner span,
.asset-status-banner strong,
.asset-status-banner p {
  display: block;
}

.asset-status-banner span {
  color: #728078;
  font-size: 9px;
  font-weight: 800;
}

.asset-status-banner strong {
  margin-top: 3px;
  color: #1c3026;
  font-size: 15px;
}

.asset-status-banner p {
  max-width: 30em;
  margin: 4px 0 0;
  color: #627068;
  font-size: 10px;
  line-height: 1.45;
}

.asset-status-banner button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 11px;
  border-radius: 7px;
  color: #ffffff;
  background: #b8791b;
  font-size: 11px;
  font-weight: 900;
}

.asset-detail-section {
  padding: 16px;
  border-top: 1px solid #e1e8e4;
  border-bottom: 1px solid #e1e8e4;
  background: #ffffff;
}

.detail-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.detail-section-head h3,
.detail-section-head p {
  margin: 0;
}

.detail-section-head h3 {
  color: #1d2e25;
  font-size: 15px;
}

.detail-section-head p {
  margin-top: 3px;
  color: #7b8781;
  font-size: 9px;
}

.detail-section-head > span {
  flex: 0 0 auto;
  color: #5f7067;
  font-size: 10px;
  font-weight: 800;
}

.asset-detail-name {
  margin: 15px 0 0;
  color: #17291f;
  font-size: 19px;
  line-height: 1.3;
}

.asset-detail-intro {
  margin: 7px 0 0;
  color: #617068;
  font-size: 11px;
  line-height: 1.6;
}

.asset-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 13px 0 0;
  border-top: 1px solid #e5ebe7;
}

.asset-detail-grid div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e5ebe7;
}

.asset-detail-grid div:nth-child(even) {
  padding-left: 12px;
  border-left: 1px solid #e5ebe7;
}

.asset-detail-grid div.is-wide {
  grid-column: 1 / -1;
  padding-left: 0;
  border-left: 0;
}

.asset-detail-grid dt {
  color: #7b8781;
  font-size: 9px;
}

.asset-detail-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: #273930;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.asset-status-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.asset-status-steps::before {
  position: absolute;
  top: 6px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: #dce5df;
  content: "";
}

.asset-status-steps li {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  color: #87918c;
  font-size: 9px;
  text-align: center;
}

.asset-status-steps i {
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #c9d3cd;
  box-shadow: 0 0 0 1px #c9d3cd;
}

.asset-status-steps li.is-done,
.asset-status-steps li.is-current {
  color: #315343;
  font-weight: 800;
}

.asset-status-steps li.is-done i {
  background: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

.asset-status-steps li.is-current i {
  background: #d89b2f;
  box-shadow: 0 0 0 1px #d89b2f;
}

.submitted-material-list {
  display: grid;
  margin-top: 11px;
}

.submitted-material-list > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border-bottom: 1px solid #e6ece8;
}

.submitted-material-list i {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-size: 9px;
  font-style: normal;
}

.submitted-material-list span {
  color: #36483f;
  font-size: 11px;
}

.submitted-material-list strong {
  color: #738079;
  font-size: 9px;
}

.detail-valuation-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #e3eae6;
}

.detail-valuation-main span {
  color: #68766e;
  font-size: 10px;
}

.detail-valuation-main strong {
  color: var(--green-deep);
  font-size: 20px;
}

.detail-valuation-main em {
  margin-left: auto;
  color: #c64a2a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.detail-valuation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.detail-valuation-grid div {
  min-width: 0;
  padding-right: 6px;
}

.detail-valuation-grid div + div {
  padding-left: 8px;
  border-left: 1px solid #e3eae6;
}

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

.detail-valuation-grid span {
  color: #7c8881;
  font-size: 9px;
}

.detail-valuation-grid strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #293b31;
  font-size: 11px;
}

.detail-supplement-section {
  border-color: #ead7b4;
  background: #fffdf8;
}

.missing-material-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.missing-material-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #6b5328;
  background: #fff4dd;
  font-size: 10px;
  line-height: 1.4;
}

.missing-material-list i {
  display: inline-flex;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #c38827;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.detail-document-upload {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  overflow: hidden;
  padding: 10px;
  border: 1px dashed #c49b55;
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
}

.detail-document-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.detail-document-upload > span {
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: #b8791b;
  font-size: 18px;
}

.detail-document-upload strong,
.detail-document-upload small {
  display: block;
}

.detail-document-upload strong {
  color: #4c3b1e;
  font-size: 11px;
}

.detail-document-upload small {
  margin-top: 3px;
  color: #857556;
  font-size: 9px;
}

.detail-selected-files {
  display: grid;
  gap: 3px;
  margin-top: 7px;
}

.detail-selected-files span {
  overflow: hidden;
  color: #6c6049;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-submit-supplement {
  width: 100%;
  height: 40px;
  margin-top: 11px;
  border-radius: 7px;
  color: #ffffff;
  background: #a86d17;
  font-size: 12px;
  font-weight: 900;
}

.back-action {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #1b3026;
  background: transparent;
  font-size: 30px;
  line-height: 1;
}

.draft-status {
  flex: 0 0 auto;
  color: #69766f;
  font-size: 11px;
  font-weight: 800;
}

.asset-entry-form {
  display: grid;
  gap: 10px;
  padding: 10px 0 18px;
}

.asset-form-section {
  padding: 18px 16px 20px;
  border-top: 1px solid rgba(43, 65, 55, 0.05);
  border-bottom: 1px solid rgba(43, 65, 55, 0.08);
  background: #ffffff;
}

.asset-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.asset-section-head > span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.asset-section-head h3,
.asset-section-head p {
  margin: 0;
}

.asset-section-head h3 {
  color: #1a2921;
  font-size: 17px;
  line-height: 1.2;
}

.asset-section-head p {
  margin-top: 4px;
  color: #748079;
  font-size: 11px;
}

.system-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid #e0e9e3;
  border-radius: 8px;
  background: #e0e9e3;
}

.system-field-pair > div,
.system-field-single {
  min-width: 0;
  padding: 10px;
  background: #f4f8f5;
}

.system-field-pair span,
.system-field-single span,
.system-field-single small,
.system-field-pair strong,
.system-field-single strong {
  display: block;
}

.system-field-pair span,
.system-field-single span {
  color: #75817a;
  font-size: 10px;
  font-weight: 700;
}

.system-field-pair strong,
.system-field-single strong {
  margin-top: 4px;
  overflow: hidden;
  color: #254235;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-field-single {
  margin: 13px 0;
  border: 1px solid #e0e9e3;
  border-radius: 8px;
}

.system-field-single small {
  margin-top: 3px;
  color: #8a958f;
  font-size: 9px;
}

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

.asset-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin-top: 11px;
}

.asset-operation-years-field {
  margin-top: 14px;
}

.operation-type-field {
  min-width: 0;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.operation-type-field legend {
  padding: 0;
  color: #4d5d55;
  font-size: 11px;
  font-weight: 800;
}

.operation-type-field legend em {
  color: #dc4a32;
  font-style: normal;
}

.operation-type-field > p {
  margin: 4px 0 0;
  color: #849089;
  font-size: 9px;
  line-height: 1.4;
}

.operation-type-options {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.operation-type-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.operation-type-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.operation-type-options label > span {
  display: grid;
  min-height: 54px;
  align-content: center;
  gap: 3px;
  padding: 9px 12px 9px 42px;
  border: 1px solid #dce6e0;
  border-radius: 8px;
  color: #273a30;
  background: #fbfdfb;
}

.operation-type-options label > span::before,
.operation-type-options label > span::after {
  position: absolute;
  top: 50%;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.operation-type-options label > span::before {
  left: 14px;
  width: 17px;
  height: 17px;
  border: 1px solid #b8c6be;
  background: #ffffff;
}

.operation-type-options label > span::after {
  left: 19px;
  width: 9px;
  height: 9px;
  background: transparent;
}

.operation-type-options strong,
.operation-type-options small {
  display: block;
}

.operation-type-options strong {
  font-size: 12px;
}

.operation-type-options small {
  color: #75827b;
  font-size: 9px;
  line-height: 1.35;
}

.operation-type-options input:checked + span {
  border-color: rgba(22, 135, 93, 0.5);
  background: #eef8f2;
  box-shadow: inset 3px 0 0 var(--green);
}

.operation-type-options input:checked + span::before {
  border-color: var(--green);
}

.operation-type-options input:checked + span::after {
  background: var(--green);
}

.operation-type-options input:focus-visible + span {
  outline: 2px solid rgba(22, 135, 93, 0.25);
  outline-offset: 2px;
}

.system-review-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin-top: 11px;
}

.system-review-field > span {
  color: #4d5d55;
  font-size: 11px;
  font-weight: 800;
}

.review-status-box {
  display: flex;
  min-height: 42px;
  flex-direction: column;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid #dce6e0;
  border-radius: 7px;
  background: #f2f6f3;
}

.review-status-box strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #425148;
  font-size: 12px;
}

.review-status-box strong i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d39a2c;
}

.review-status-box small {
  margin-top: 3px;
  color: #6f7c75;
  font-size: 9px;
  line-height: 1.35;
}

.asset-field > span {
  color: #4d5d55;
  font-size: 11px;
  font-weight: 800;
}

.asset-field em,
.material-upload em {
  color: #dc4a32;
  font-style: normal;
}

.asset-field input,
.asset-field select,
.asset-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce6e0;
  border-radius: 7px;
  color: #1d2c24;
  background: #fbfdfb;
  font-size: 13px;
}

.asset-field input,
.asset-field select {
  height: 42px;
  padding: 0 10px;
}

.asset-field textarea {
  min-height: 104px;
  padding: 10px;
  line-height: 1.55;
  resize: vertical;
}

.asset-field input::placeholder,
.asset-field textarea::placeholder {
  color: #a2aaa6;
}

.extract-action {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid rgba(22, 135, 93, 0.24);
  border-radius: 7px;
  color: var(--green-deep);
  background: #eef8f2;
  font-size: 12px;
  font-weight: 900;
}

.extract-action > span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--green);
  font-size: 9px;
}

.extract-result {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding: 11px;
  border-left: 3px solid #bddbcc;
  background: #f7faf8;
}

.extract-result > div > span {
  color: #6f7d75;
  font-size: 10px;
  font-weight: 800;
}

.extract-result p {
  margin: 4px 0 0;
  color: #718078;
  font-size: 12px;
  line-height: 1.5;
}

.extract-result.is-complete {
  border-left-color: var(--green);
}

.extract-result.is-complete p {
  color: #254235;
  font-weight: 700;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
}

.keyword-list i,
.keyword-list span {
  padding: 4px 7px;
  border-radius: 6px;
  color: #69766f;
  background: #e9efeb;
  font-size: 10px;
  font-style: normal;
}

.keyword-list span {
  color: var(--green-deep);
  background: #e2f3ea;
  font-weight: 800;
}

.location-mode {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 3px;
  border-radius: 8px;
  background: #edf2ef;
}

.location-mode button {
  height: 34px;
  border-radius: 6px;
  color: #6b7771;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.location-mode button.is-active {
  color: var(--green-deep);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(40, 66, 52, 0.08);
}

.location-action {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  padding: 8px 11px;
  border: 1px solid rgba(22, 135, 93, 0.17);
  border-radius: 8px;
  color: #234034;
  background: #f0f8f3;
  text-align: left;
}

.location-action > span:first-child {
  color: var(--green);
  font-size: 24px;
}

.location-action strong,
.location-action small {
  display: block;
}

.location-action strong {
  font-size: 12px;
}

.location-action small {
  margin-top: 3px;
  color: #77837c;
  font-size: 10px;
}

.material-upload {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  overflow: hidden;
  padding: 11px;
  border: 1px dashed rgba(22, 135, 93, 0.38);
  border-radius: 8px;
  color: #274437;
  background: #f6fbf8;
  cursor: pointer;
}

.material-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.material-upload > span:last-child {
  min-width: 0;
}

.material-upload strong,
.material-upload small {
  display: block;
}

.material-upload strong {
  font-size: 12px;
}

.material-upload small {
  margin-top: 4px;
  color: #748079;
  font-size: 10px;
}

.upload-symbol {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green);
  font-size: 20px;
}

.document-symbol {
  font-size: 17px;
}

.photo-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.photo-requirements span {
  padding: 4px 7px;
  border-radius: 6px;
  color: #637169;
  background: #edf2ef;
  font-size: 9px;
  font-weight: 700;
}

.selected-files {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.selected-files span {
  overflow: hidden;
  color: #5f6e66;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-submit-bar {
  position: sticky;
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 10;
  padding: 10px 16px 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.asset-submit-bar .primary-action {
  width: 100%;
  border-radius: 8px;
}

.asset-submit-bar p {
  margin: 6px 0 0;
  color: #829088;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100vw, var(--phone-width));
  max-width: var(--phone-width);
  height: calc(66px + env(safe-area-inset-bottom));
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(43, 65, 55, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(45, 60, 53, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.tabbar[hidden] {
  display: none;
}

.tab {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #6a746d;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  transition: color 160ms ease, transform 160ms ease;
}

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

.tab.is-active {
  color: var(--green);
}

.province-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  justify-items: center;
  overscroll-behavior: contain;
}

.province-sheet[hidden] {
  display: none;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 17, 0.26);
}

.sheet-panel {
  position: relative;
  width: min(100vw, var(--phone-width));
  max-height: min(88dvh, 840px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #ffffff;
  box-shadow: 0 -20px 48px rgba(31, 53, 43, 0.22);
}

.sheet-grabber {
  width: 42px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #d9e2dd;
}

.sheet-panel h2 {
  margin: 0 0 12px;
  color: #17231d;
  font-size: 18px;
}

.city-overview-panel {
  max-height: min(82dvh, 650px);
  overflow-y: auto;
}

.city-overview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.city-overview-heading div,
.city-overview-heading span,
.city-overview-heading h2 {
  display: block;
}

.city-overview-heading span {
  margin-bottom: 3px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.city-overview-heading h2,
.sheet-panel .city-overview-heading h2 {
  margin-bottom: 5px;
  font-size: 20px;
}

.city-overview-heading button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 7px;
  color: #526059;
  background: #f0f5f2;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.city-overview-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
  border-top: 1px solid #e5ece8;
  border-bottom: 1px solid #e5ece8;
}

.city-overview-stats > div {
  min-width: 0;
  padding: 13px 4px 12px;
  text-align: center;
}

.city-overview-stats > div + div {
  border-left: 1px solid #e5ece8;
}

.city-overview-stats span,
.city-overview-stats strong,
.city-overview-stats small {
  display: block;
}

.city-overview-stats span {
  min-height: 28px;
  color: #68766f;
  font-size: 10px;
  line-height: 1.35;
}

.city-overview-stats strong {
  color: #16271f;
  font-size: 17px;
  line-height: 1.15;
}

.city-overview-stats small {
  margin-top: 2px;
  color: #8a948f;
  font-size: 9px;
}

.city-overview-section {
  padding: 15px 0;
  border-bottom: 1px solid #e8eeea;
}

.city-overview-section > span,
.city-overview-section > strong {
  display: block;
}

.city-overview-section > span {
  margin-bottom: 6px;
  color: #78847e;
  font-size: 11px;
}

.city-overview-section > strong {
  color: #24352d;
  font-size: 13px;
  line-height: 1.6;
}

.city-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.city-industry-tags b {
  padding: 6px 9px;
  border-radius: 6px;
  color: #087650;
  background: #eaf7f1;
  font-size: 11px;
  font-weight: 800;
}

.city-overview-summary {
  margin: 14px 0 0;
  padding: 11px 12px;
  border-radius: 7px;
  color: #53635b;
  background: #f4f8f6;
  font-size: 12px;
  line-height: 1.65;
}

.profile-basic-sheet-panel {
  max-height: min(88dvh, 700px);
  overflow-y: auto;
}

.profile-basic-sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.profile-basic-sheet-heading div,
.profile-basic-sheet-heading span,
.profile-basic-sheet-heading h2 {
  display: block;
}

.profile-basic-sheet-heading span {
  margin-bottom: 3px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.profile-basic-sheet-heading h2,
.sheet-panel .profile-basic-sheet-heading h2 {
  margin-bottom: 5px;
  font-size: 20px;
}

.profile-basic-sheet-heading button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 7px;
  color: #526059;
  background: #f0f5f2;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
}

.profile-basic-form {
  margin-top: 14px;
}

.profile-basic-fields {
  display: grid;
  gap: 11px;
}

.profile-basic-fields label,
.profile-basic-fields label > span {
  display: block;
}

.profile-basic-fields label > span {
  margin-bottom: 6px;
  color: #2b3e34;
  font-size: 12px;
  font-weight: 800;
}

.profile-basic-fields label > span em {
  color: #c94d4d;
  font-style: normal;
}

.profile-basic-fields input {
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid #dce5e0;
  border-radius: 7px;
  outline: none;
  color: #21332a;
  background: #fbfdfc;
  font: inherit;
  font-size: 13px;
}

.profile-basic-fields input:focus {
  border-color: rgba(22, 135, 93, 0.62);
  box-shadow: 0 0 0 3px rgba(22, 135, 93, 0.08);
}

.profile-basic-verified {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #dcebe3;
  border-radius: 7px;
  background: #f3f9f6;
}

.profile-basic-verified[hidden] {
  display: none;
}

.profile-basic-verified span,
.profile-basic-verified strong,
.profile-basic-verified small {
  display: block;
}

.profile-basic-verified span {
  color: #78857e;
  font-size: 10px;
}

.profile-basic-verified strong {
  margin-top: 4px;
  color: #087650;
  font-size: 13px;
}

.profile-basic-verified small {
  margin-top: 4px;
  color: #66756d;
  font-size: 10px;
  line-height: 1.5;
}

.profile-basic-form-actions {
  position: sticky;
  bottom: calc(-18px - env(safe-area-inset-bottom));
  margin-top: 14px;
  padding-top: 10px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  background: #ffffff;
}

.business-sheet-panel {
  display: grid;
  max-height: min(78dvh, 720px);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  overflow-y: auto;
}

.asset-intent-panel {
  display: grid;
  max-height: min(82dvh, 720px);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.asset-intent-heading {
  align-items: center;
  margin-bottom: 9px;
}

.asset-intent-heading span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 900;
}

.asset-intent-heading h2,
.sheet-panel .asset-intent-heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.asset-intent-heading button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #5e6b64;
  background: #eef3f0;
  font-size: 21px;
  line-height: 1;
}

.asset-intent-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  overflow-y: auto;
  padding: 2px 1px 4px;
}

.asset-intent-option {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.asset-intent-option input {
  position: absolute;
  opacity: 0;
}

.asset-intent-option span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #dce6e0;
  border-radius: 7px;
  color: #526159;
  background: #f9fbfa;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.asset-intent-option input:checked + span {
  border-color: var(--green);
  color: #ffffff;
  background: var(--green);
}

.asset-intent-option input:focus-visible + span {
  outline: 2px solid rgba(22, 135, 93, 0.4);
  outline-offset: 2px;
}

.intent-selection-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: #4f6158;
  font-size: 11px;
  font-weight: 800;
}

.intent-selection-summary small {
  color: #7c8881;
  font-size: 10px;
  font-weight: 600;
}

.pending-assets-panel {
  display: grid;
  max-height: min(78dvh, 680px);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.recruitment-panel {
  display: grid;
  max-height: min(88dvh, 760px);
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.recruitment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.recruitment-heading span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 900;
}

.recruitment-heading h2,
.sheet-panel .recruitment-heading h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.recruitment-heading button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #5e6b64;
  background: #eef3f0;
  font-size: 21px;
  line-height: 1;
}

.recruitment-asset-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 10px;
  scrollbar-width: none;
}

.recruitment-asset-tabs::-webkit-scrollbar {
  display: none;
}

.recruitment-asset-tab {
  display: flex;
  flex: 0 0 176px;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #dde7e1;
  border-radius: 8px;
  color: #24372d;
  background: #ffffff;
  text-align: left;
}

.recruitment-asset-tab.is-active {
  border-color: var(--green);
  background: #f1faf5;
}

.recruitment-asset-tab img {
  flex: 0 0 48px;
  width: 48px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.recruitment-asset-tab span,
.recruitment-asset-tab strong,
.recruitment-asset-tab small {
  display: block;
  min-width: 0;
}

.recruitment-asset-tab span {
  flex: 1;
}

.recruitment-asset-tab strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-asset-tab small {
  margin-top: 4px;
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 800;
}

.recruitment-content {
  min-height: 0;
  overflow-y: auto;
  padding: 0 1px 4px;
}

.recruitment-resource-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #edf2ef;
}

.recruitment-resource-summary div,
.recruitment-resource-summary strong,
.recruitment-resource-summary span {
  display: block;
  min-width: 0;
}

.recruitment-resource-summary div {
  flex: 1;
}

.recruitment-resource-summary strong {
  overflow: hidden;
  color: #1c2d25;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-resource-summary span {
  margin-top: 4px;
  color: #748079;
  font-size: 10px;
}

.recruitment-resource-summary em {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #08734e;
  background: #e4f6ed;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.recruitment-resource-summary em.is-draft {
  color: #7b633b;
  background: #f4efe5;
}

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

.recruitment-gallery figure {
  position: relative;
  height: 76px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #e9efeb;
}

.recruitment-gallery figure.is-main {
  height: 126px;
  grid-column: 1 / -1;
}

.recruitment-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruitment-gallery figcaption {
  position: absolute;
  right: 5px;
  bottom: 5px;
  left: 5px;
  overflow: hidden;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.recruitment-requirements {
  margin-top: 14px;
  padding-bottom: 4px;
}

.recruitment-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #e8efeb;
}

.recruitment-section-head span {
  display: block;
  color: #718078;
  font-size: 9px;
}

.recruitment-section-head h3 {
  margin: 2px 0 0;
  color: #1c2d25;
  font-size: 15px;
}

.recruitment-section-head button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(22, 135, 93, 0.3);
  border-radius: 7px;
  color: var(--green-deep);
  background: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.recruitment-requirements dl {
  margin: 0;
}

.recruitment-requirements dl > div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2ef;
}

.recruitment-requirements dt {
  color: #6c7972;
  font-size: 10px;
  font-weight: 700;
}

.recruitment-requirements dd {
  margin: 0;
  color: #26372f;
  font-size: 11px;
  line-height: 1.55;
}

.recruitment-form {
  display: grid;
  gap: 10px;
  margin-top: 13px;
  padding-bottom: 2px;
}

.recruitment-form label,
.recruitment-form label > span {
  display: block;
}

.recruitment-form label > span {
  margin-bottom: 6px;
  color: #31453a;
  font-size: 10px;
  font-weight: 800;
}

.recruitment-form input,
.recruitment-form textarea {
  width: 100%;
  border: 1px solid #dce6e0;
  border-radius: 7px;
  color: #25362e;
  background: #fbfdfc;
  font: inherit;
  font-size: 11px;
}

.recruitment-form input {
  height: 40px;
  padding: 0 10px;
}

.recruitment-form textarea {
  min-height: 72px;
  padding: 9px 10px;
  line-height: 1.5;
  resize: vertical;
}

.recruitment-form input:focus,
.recruitment-form textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgba(22, 135, 93, 0.13);
}

.recruitment-form-actions {
  margin-top: 2px;
}

.recruitment-publish-view {
  min-height: 100dvh;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background: #f3f7f4;
}

.recruitment-publish-head {
  position: sticky;
  top: 0;
  z-index: 12;
  align-items: center;
  border-bottom: 1px solid #e1e9e4;
  background: rgba(249, 251, 250, 0.98);
}

.recruitment-publish-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 6px;
  color: #0c7450;
  background: #e6f4ec;
  font-size: 9px;
  font-weight: 900;
}

.recruitment-publish-content {
  padding: 12px 12px 18px;
}

.recruitment-publish-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e1e9e4;
  border-radius: 12px;
  background: #ffffff;
  list-style: none;
}

.recruitment-publish-progress li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #8a9690;
  font-size: 10px;
  font-weight: 800;
}

.recruitment-publish-progress li + li::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 6px);
  width: 18px;
  height: 1px;
  background: #d7e2dc;
  content: "";
}

.recruitment-publish-progress i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid #cfdcd5;
  border-radius: 50%;
  color: #7d8a83;
  background: #f7faf8;
  font-size: 9px;
  font-style: normal;
}

.recruitment-publish-progress li.is-current,
.recruitment-publish-progress li.is-done {
  color: #184f3c;
}

.recruitment-publish-progress li.is-current i,
.recruitment-publish-progress li.is-done i {
  border-color: #18875e;
  color: #ffffff;
  background: #18875e;
}

.recruitment-step-section {
  margin-top: 10px;
  padding: 14px 12px;
  border: 1px solid #e1e9e4;
  border-radius: 12px;
  background: #ffffff;
}

.recruitment-step-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eeea;
}

.recruitment-step-heading span,
.recruitment-step-heading h3,
.recruitment-step-heading small {
  display: block;
}

.recruitment-step-heading span {
  margin-bottom: 3px;
  color: #18875e;
  font-size: 9px;
  font-weight: 900;
}

.recruitment-step-heading h3 {
  margin: 0;
  color: #1b3027;
  font-size: 16px;
}

.recruitment-step-heading small {
  color: #74827b;
  font-size: 9px;
}

.recruitment-page-assets {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.recruitment-page-asset {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 72px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #dde7e1;
  border-radius: 10px;
  color: #1f352a;
  background: #ffffff;
  text-align: left;
  transition: border-color 180ms ease-out, background-color 180ms ease-out, transform 180ms ease-out;
}

.recruitment-page-asset:active {
  transform: translateY(1px);
}

.recruitment-page-asset.is-selected {
  border-color: #18875e;
  background: #f0f8f4;
}

.recruitment-page-asset img {
  width: 72px;
  height: 62px;
  border-radius: 8px;
  object-fit: cover;
}

.recruitment-page-asset > span {
  min-width: 0;
}

.recruitment-page-asset strong,
.recruitment-page-asset small,
.recruitment-page-asset em {
  display: block;
}

.recruitment-page-asset strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-page-asset small {
  margin-top: 5px;
  overflow: hidden;
  color: #6f7d75;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-page-asset em {
  margin-top: 6px;
  color: #16805a;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.recruitment-page-asset > i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #cfdcd5;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.recruitment-page-asset.is-selected > i {
  border-color: #18875e;
  background: #18875e;
}

.recruitment-next-action,
.recruitment-publish-action {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border-radius: 9px;
  color: #ffffff;
  background: #177b57;
  font-size: 13px;
  font-weight: 900;
}

.recruitment-next-action:disabled {
  color: #87938d;
  background: #e5ebe7;
  cursor: not-allowed;
}

.recruitment-selected-asset {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  color: #1d3328;
  background: #e9f5ef;
}

.recruitment-selected-asset img {
  width: 64px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.recruitment-selected-asset div {
  min-width: 0;
}

.recruitment-selected-asset span,
.recruitment-selected-asset strong,
.recruitment-selected-asset small {
  display: block;
}

.recruitment-selected-asset span {
  color: #187955;
  font-size: 8px;
  font-weight: 900;
}

.recruitment-selected-asset strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-selected-asset small {
  margin-top: 4px;
  overflow: hidden;
  color: #61736a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-selected-asset button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid rgba(23, 123, 87, 0.28);
  border-radius: 7px;
  color: #13734f;
  background: #ffffff;
  font-size: 9px;
  font-weight: 900;
}

.recruitment-page-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.recruitment-page-form label,
.recruitment-page-form label > span {
  display: block;
}

.recruitment-page-form label > span {
  margin-bottom: 6px;
  color: #2d4137;
  font-size: 10px;
  font-weight: 800;
}

.recruitment-page-form label > span em {
  color: #c9473e;
  font-style: normal;
}

.recruitment-page-form input,
.recruitment-page-form textarea,
.recruitment-page-form select {
  width: 100%;
  border: 1px solid #d5e0da;
  border-radius: 8px;
  color: #21362b;
  background: #fbfdfc;
  font: inherit;
  font-size: 11px;
}

.recruitment-page-form input,
.recruitment-page-form select {
  min-height: 42px;
  padding: 0 10px;
}

.recruitment-page-form textarea {
  min-height: 76px;
  padding: 10px;
  line-height: 1.55;
  resize: vertical;
}

.recruitment-page-form input::placeholder,
.recruitment-page-form textarea::placeholder {
  color: #69776f;
}

.recruitment-page-form input:focus,
.recruitment-page-form textarea:focus,
.recruitment-page-form select:focus {
  border-color: #18875e;
  outline: 2px solid rgba(24, 135, 94, 0.14);
}

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

.recruitment-publish-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  color: #53665d;
  background: #f0f5f2;
  font-size: 9px;
  line-height: 1.55;
}

.recruitment-publish-note i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #167a56;
  background: #dceee5;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.recruitment-publish-action {
  min-height: 50px;
  margin-top: 2px;
  font-size: 14px;
}

.recruitment-publish-success,
.recruitment-page-empty {
  display: flex;
  min-height: 360px;
  margin-top: 10px;
  padding: 30px 20px;
  align-items: center;
  flex-direction: column;
  border: 1px solid #e1e9e4;
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
}

.recruitment-publish-success > span,
.recruitment-page-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #18875e;
  font-size: 22px;
  font-weight: 900;
}

.recruitment-publish-success > strong,
.recruitment-page-empty > strong {
  margin-top: 14px;
  color: #1c3127;
  font-size: 18px;
}

.recruitment-publish-success > p,
.recruitment-page-empty > p {
  max-width: 30em;
  margin: 8px 0 0;
  color: #68766f;
  font-size: 11px;
  line-height: 1.6;
}

.recruitment-publish-success dl {
  width: 100%;
  margin: 18px 0 0;
  text-align: left;
}

.recruitment-publish-success dl > div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e8eeea;
}

.recruitment-publish-success dt,
.recruitment-publish-success dd {
  font-size: 10px;
  line-height: 1.5;
}

.recruitment-publish-success dt {
  color: #748179;
}

.recruitment-publish-success dd {
  margin: 0;
  color: #24382e;
  font-weight: 800;
}

.recruitment-publish-success > div {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.recruitment-publish-success button,
.recruitment-page-empty button {
  min-height: 42px;
  border: 1px solid rgba(23, 123, 87, 0.3);
  border-radius: 8px;
  color: #177b57;
  background: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.recruitment-publish-success button.is-primary,
.recruitment-page-empty button {
  color: #ffffff;
  background: #177b57;
}

.recruitment-page-empty button {
  min-width: 132px;
  margin-top: 18px;
}

.pending-assets-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.pending-assets-heading span {
  display: block;
  margin-bottom: 3px;
  color: #95661e;
  font-size: 10px;
  font-weight: 900;
}

.pending-assets-heading h2,
.sheet-panel .pending-assets-heading h2 {
  margin: 0;
  font-size: 18px;
}

.pending-assets-heading button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  color: #5e6b64;
  background: #eef3f0;
  font-size: 21px;
}

.pending-asset-list {
  display: grid;
  align-content: start;
  gap: 0;
  overflow-y: auto;
  border-top: 1px solid #e4ebe7;
}

.pending-asset-item {
  padding: 13px 0;
  border-bottom: 1px solid #e4ebe7;
}

.pending-asset-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pending-asset-head > div {
  min-width: 0;
}

.pending-asset-head strong,
.pending-asset-head span {
  display: block;
}

.pending-asset-head strong {
  color: #20332a;
  font-size: 13px;
}

.pending-asset-head span {
  margin-top: 3px;
  color: #7b8781;
  font-size: 9px;
}

.pending-asset-head em {
  flex: 0 0 auto;
  color: #a56d1b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.pending-progress {
  height: 5px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 3px;
  background: #ece7dc;
}

.pending-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c38827;
}

.pending-asset-item p {
  margin: 7px 0 0;
  color: #6c6049;
  font-size: 10px;
  line-height: 1.45;
}

.pending-asset-item button {
  width: 100%;
  height: 38px;
  margin-top: 9px;
  border-radius: 7px;
  color: #ffffff;
  background: #a86d17;
  font-size: 11px;
  font-weight: 900;
}

.pending-assets-empty {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #68766e;
  text-align: center;
}

.pending-assets-empty strong {
  font-size: 14px;
}

.pending-assets-empty span {
  margin-top: 5px;
  font-size: 10px;
}

.village-pending-panel {
  display: grid;
  max-height: min(82dvh, 720px);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.village-pending-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 14px;
}

.village-pending-summary div {
  display: flex;
  min-width: 0;
  padding: 10px 7px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #dfebe5;
  border-radius: 10px;
  background: #f3f8f5;
}

.village-pending-summary strong {
  color: #087b56;
  font-size: 20px;
  line-height: 1;
}

.village-pending-summary span {
  margin-top: 5px;
  color: #66756d;
  font-size: 10px;
  font-weight: 700;
}

.village-pending-all-list {
  display: grid;
  gap: 9px;
  min-height: 0;
  padding-bottom: 18px;
  overflow-y: auto;
}

.village-pending-all-item {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px;
  align-items: center;
  border: 1px solid #e2ebe6;
  border-radius: 12px;
  color: #14362b;
  background: #ffffff;
  text-align: left;
}

.village-pending-all-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #087b56;
  background: #e9f5ef;
  font-size: 11px;
  font-weight: 900;
}

.village-pending-all-item.is-danger .village-pending-all-index {
  color: #c9423c;
  background: #fff0ee;
}

.village-pending-all-item.is-warning .village-pending-all-index {
  color: #ad6e10;
  background: #fff5df;
}

.village-pending-all-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.village-pending-all-copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.village-pending-all-copy em {
  color: #6c7b73;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.village-pending-all-copy b {
  color: #13815d;
  font-size: 10px;
}

.village-pending-all-copy b.is-danger {
  color: #cf473f;
}

.village-pending-all-copy b.is-warning {
  color: #b06c09;
}

.village-pending-all-copy strong {
  overflow: hidden;
  color: #17382d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-pending-all-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #728078;
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.village-pending-all-item > i {
  color: #8b9992;
  font-size: 18px;
  font-style: normal;
}

.sheet-copy {
  margin: -4px 0 12px;
  color: #68756f;
  font-size: 12px;
  line-height: 1.45;
}

.sheet-field-grid {
  display: grid;
  gap: 10px;
}

.sheet-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 65, 55, 0.09);
  background: #ffffff;
}

.province-options {
  display: grid;
  gap: 8px;
}

.province-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #27372f;
  background: #f6faf7;
  font-size: 14px;
  font-weight: 800;
}

.province-options button.is-active {
  color: #ffffff;
  background: var(--green);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 80;
  max-width: calc(min(100vw, var(--phone-width)) - 48px);
  padding: 9px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(17, 34, 26, 0.88);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.panel-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ai-assistant-fab {
  position: fixed;
  right: max(18px, calc((100vw - var(--phone-width)) / 2 + 18px));
  top: calc(50dvh - 74px);
  bottom: auto;
  z-index: 35;
  display: flex;
  width: 64px;
  min-height: 76px;
  padding: 10px 5px 7px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  color: #ffffff;
  background: #173d2e;
  box-shadow: 0 12px 30px rgba(23, 61, 46, 0.28);
  cursor: grab;
  text-align: center;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: left 200ms cubic-bezier(0.22, 1, 0.36, 1), top 200ms cubic-bezier(0.22, 1, 0.36, 1), transform 180ms ease, background 180ms ease;
}

.ai-assistant-fab[hidden] {
  display: none;
}

.ai-assistant-fab:hover {
  background: #225a43;
}

.ai-assistant-fab.is-dragging {
  cursor: grabbing;
  transition: none;
  transform: scale(1.04);
}

.ai-assistant-fab:active {
  transform: scale(0.97);
}

.ai-assistant-fab.is-dragging:active {
  transform: scale(1.04);
}

.ai-fab-drag-handle {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  transform: translateX(-50%);
}

.ai-assistant-fab > strong,
.ai-assistant-fab > span {
  display: block;
}

.ai-assistant-fab > strong {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.ai-assistant-fab > span[data-ai-assistant-role-label] {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.ai-assistant-fab > .angela-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 1px 0 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: #ffffff;
}

.angela-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
}

.ai-assistant-panel,
.cooperation-panel {
  max-height: min(84dvh, 760px);
  overflow-y: auto;
}

.ai-assistant-heading,
.cooperation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ai-assistant-heading span,
.cooperation-heading span {
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ai-assistant-heading h2,
.cooperation-heading h2 {
  margin: 4px 0 0;
  font-size: 21px;
}

.ai-assistant-heading > button,
.cooperation-heading > button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #405149;
  background: #edf3ef;
  font-size: 20px;
}

.ai-quick-list {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 8px;
  margin-top: 14px;
  padding: 2px 1px 7px;
  overflow-x: scroll;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.ai-quick-list::-webkit-scrollbar {
  display: none;
}

.ai-quick-list.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.ai-quick-list button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  color: #315347;
  background: #e7f2ec;
  font-size: 11px;
  font-weight: 700;
  scroll-snap-align: start;
  white-space: nowrap;
}

.ai-message-list {
  display: grid;
  gap: 12px;
  max-height: 320px;
  margin-top: 15px;
  padding: 14px;
  overflow-y: auto;
  border-radius: 16px;
  background: #f1f5f2;
}

.ai-message {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ai-message.is-user {
  flex-direction: row-reverse;
}

.ai-message-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(29, 116, 79, 0.16);
  border-radius: 50%;
  color: #ffffff;
  background: #17875d;
  font-size: 11px;
  font-weight: 900;
}

.ai-message-avatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
}

.ai-message-avatar b {
  font: inherit;
}

.ai-message-content {
  display: grid;
  max-width: calc(100% - 38px);
  justify-items: start;
}

.ai-message.is-user .ai-message-content {
  justify-items: end;
}

.ai-message-content > p {
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  color: #34453c;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.55;
}

.ai-message.is-user .ai-message-content > p {
  border-radius: 14px 14px 4px 14px;
  color: #ffffff;
  background: var(--green);
}

.ai-result-card {
  display: block;
  width: min(100%, 330px);
  margin-top: 7px;
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  border-radius: 7px 12px 12px 7px;
  color: #20342a;
  background: #ffffff;
  text-align: left;
}

.ai-result-card strong,
.ai-result-card span {
  display: block;
}

.ai-result-card strong {
  font-size: 12px;
}

.ai-result-card span {
  margin-top: 4px;
  color: #748079;
  font-size: 10px;
  line-height: 1.4;
}

.ai-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.ai-composer input {
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 11px;
  background: #f5f8f6;
}

.ai-composer button {
  padding: 0 15px;
  border-radius: 11px;
  color: #ffffff;
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.public-resource-actions,
.alliance-detail-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 14px 16px 0;
  padding: 16px;
  border-radius: 16px;
  color: #ffffff;
  background: #173d2e;
}

.public-resource-actions strong,
.public-resource-actions span,
.alliance-detail-cta strong,
.alliance-detail-cta span {
  display: block;
}

.public-resource-actions strong,
.alliance-detail-cta strong {
  font-size: 14px;
}

.public-resource-actions span,
.alliance-detail-cta span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  line-height: 1.45;
}

.public-resource-actions button,
.alliance-detail-cta button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 11px;
  color: #173d2e;
  background: #d8f0e4;
  font-size: 11px;
  font-weight: 800;
}

.cooperation-match-card {
  margin-top: 15px;
  padding: 15px;
  border-radius: 15px;
  background: #edf6f1;
}

.cooperation-match-card > span,
.cooperation-match-card > strong,
.cooperation-match-card > p {
  display: block;
}

.cooperation-match-card > span {
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 800;
}

.cooperation-match-card > strong {
  margin-top: 5px;
  font-size: 16px;
}

.cooperation-match-card > p {
  margin: 6px 0 0;
  color: #68766e;
  font-size: 11px;
}

.cooperation-match-card > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}

.cooperation-match-card > div b {
  color: var(--green-deep);
  font-size: 24px;
}

.cooperation-match-card > div span {
  color: #65736b;
  font-size: 10px;
}

.cooperation-form {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.cooperation-form label span {
  display: block;
  margin-bottom: 6px;
  color: #3d4d45;
  font-size: 11px;
  font-weight: 800;
}

.cooperation-form input,
.cooperation-form select,
.cooperation-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid rgba(43, 65, 55, 0.1);
  border-radius: 11px;
  color: #26362e;
  background: #f5f8f6;
  font-size: 12px;
}

.cooperation-success {
  margin-top: 18px;
  padding: 22px 16px;
  border-radius: 16px;
  background: #edf6f1;
  text-align: center;
}

.cooperation-success strong {
  color: #173d2e;
  font-size: 18px;
}

.cooperation-success p {
  color: #66736c;
  font-size: 12px;
}

.cooperation-success ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(43, 65, 55, 0.1);
  list-style: none;
  color: #78847e;
  font-size: 10px;
}

.cooperation-success li.is-done {
  color: var(--green-deep);
  font-weight: 800;
}

@media (min-width: 700px) {
  body {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 16px;
  }

  .phone-shell {
    height: min(var(--phone-height), calc(100dvh - 32px));
    min-height: 0;
    border: 1px solid rgba(24, 40, 31, 0.12);
    border-radius: 44px;
    box-shadow: 0 24px 70px rgba(30, 52, 39, 0.24);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .phone-shell::-webkit-scrollbar {
    display: none;
  }

  .phone-shell.has-open-sheet {
    overflow-y: hidden;
  }

  .tabbar {
    bottom: max(16px, calc((100dvh - var(--phone-height)) / 2));
    width: var(--phone-width);
    border-right: 1px solid rgba(24, 40, 31, 0.08);
    border-bottom: 1px solid rgba(24, 40, 31, 0.08);
    border-left: 1px solid rgba(24, 40, 31, 0.08);
    border-radius: 16px 16px 43px 43px;
  }

  .login-view,
  .login-shell {
    min-height: 100%;
  }

  .login-shell {
    padding-bottom: 0;
  }

  .province-sheet {
    position: fixed;
    inset: auto;
    top: 50%;
    left: 50%;
    width: min(var(--phone-width), calc(100vw - 32px));
    height: min(var(--phone-height), calc(100dvh - 32px));
    overflow: hidden;
    border-radius: 44px;
    transform: translate(-50%, -50%);
  }

  .province-sheet .sheet-panel {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .recruitment-form-grid {
    grid-template-columns: 1fr;
  }

  .login-content {
    padding-right: 18px;
    padding-left: 18px;
  }

  .login-content h1 {
    font-size: 29px;
  }

  .wechat-login-button {
    margin-top: 23px;
  }

  .home-role-title strong {
    font-size: 21px;
  }

  .policy-copy {
    width: 82%;
    padding-right: 34px;
    padding-left: 16px;
  }

  .policy-copy strong {
    font-size: 18px;
  }

  .policy-control {
    width: 24px;
  }

  .service-card strong {
    font-size: 13px;
  }

  .service-card span {
    font-size: 9px;
  }

  .overview-value {
    font-size: 14px;
  }

  .profile-recent-item {
    grid-template-columns: 88px minmax(0, 1fr) 68px;
    gap: 8px;
  }

  .profile-recent-cover {
    height: 66px;
  }

  .profile-status-body {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 12px;
  }

  .profile-status-donut {
    width: 100px;
    height: 100px;
  }
}

/* 2026-07 authenticated public home */
.view-home {
  background:
    radial-gradient(circle at 50% 0%, rgba(119, 220, 190, 0.18), transparent 26%),
    #f2f8f5;
}

.public-home-head {
  position: sticky;
  top: 0;
  z-index: 12;
  padding: calc(13px + env(safe-area-inset-top)) 13px 12px;
  border-bottom: 1px solid rgba(41, 87, 65, 0.06);
  background: rgba(242, 249, 246, 0.95);
  backdrop-filter: blur(14px);
}

.public-home-head h1 {
  margin: 0 0 13px;
  color: #13251d;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
}

.home-tool-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.home-city-location {
  display: flex;
  min-width: 74px;
  height: 40px;
  align-items: center;
  gap: 5px;
  padding: 0 3px;
  color: #253a31;
  background: transparent;
  white-space: nowrap;
}

.home-city-location > span {
  color: #22a976;
  font-size: 15px;
  line-height: 1;
}

.home-city-location strong {
  font-size: 13px;
  font-weight: 900;
}

.home-city-location i {
  color: #728078;
  font-size: 10px;
  font-style: normal;
}

.public-home-head .home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 5px;
  min-width: 0;
  height: 42px;
  margin: 0;
  padding: 0 5px 0 13px;
  border: 1px solid rgba(50, 122, 89, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 7px 16px rgba(50, 106, 79, 0.08);
}

.public-home-head .home-search input {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: #24372e;
  background: transparent;
  font-size: 12px;
}

.public-home-head .home-search .search-icon {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #17885d;
  box-shadow: 0 4px 10px rgba(23, 136, 93, 0.2);
}

.public-home-head .home-search .search-icon::before {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.public-home-head .home-search .search-icon::after {
  right: 7px;
  bottom: 8px;
  width: 7px;
  height: 2px;
  background: #ffffff;
}

.public-home-head .home-message {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(46, 84, 65, 0.12);
  border-radius: 50%;
  color: #22533e;
  background: #ffffff;
  box-shadow: 0 7px 16px rgba(50, 106, 79, 0.08);
}

.public-home-head .home-message > span {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.public-home-head .home-message em {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  color: #ffffff;
  background: #d84b4b;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.public-home-stack {
  gap: 12px;
  padding: 10px 12px calc(100px + env(safe-area-inset-bottom));
}

.public-home-stack .policy-carousel {
  height: 168px;
  margin: 0;
  border: 1px solid rgba(75, 142, 110, 0.14);
  border-radius: 15px;
  box-shadow: 0 9px 22px rgba(53, 105, 80, 0.11);
}

.public-home-stack .policy-copy {
  width: 72%;
  justify-content: center;
  padding: 18px 10px 25px 18px;
}

.public-home-stack .policy-copy em {
  display: none;
}

.public-home-stack .policy-copy strong {
  font-family: "Songti SC", "STSong", serif;
  font-size: 25px;
  line-height: 1.14;
}

.public-home-stack .policy-copy small {
  margin-top: 8px;
  font-size: 11px;
}

.public-home-stack .policy-copy b {
  display: none;
}

.public-quick-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px 0;
  overflow: hidden;
  border: 1px solid rgba(52, 100, 77, 0.08);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(53, 105, 80, 0.08);
}

.public-quick-grid .service-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 68px;
  grid-template-rows: 34px auto;
  align-content: center;
  align-items: center;
  justify-content: stretch;
  justify-items: center;
  gap: 5px;
  padding: 6px 2px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.public-quick-grid .service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  width: 1px;
  background: rgba(47, 84, 66, 0.1);
}

.public-quick-grid .service-card img {
  display: block;
  width: clamp(28px, 7.5vw, 34px);
  height: clamp(28px, 7.5vw, 34px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  justify-self: center;
}

.public-quick-grid .service-card strong {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: #16271f;
  font-size: clamp(11px, 3.15vw, 13px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  justify-self: center;
}

.public-quick-grid .service-card span {
  display: none;
}

.home-public-section {
  padding: 11px;
  border: 1px solid rgba(52, 100, 77, 0.08);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(53, 105, 80, 0.075);
}

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

.home-section-head h2 {
  position: relative;
  margin: 0;
  padding-left: 12px;
  color: #15271f;
  font-size: 17px;
  font-weight: 900;
}

.home-section-head h2::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: #24b07a;
}

.home-section-head button {
  padding: 5px 0;
  color: #7d8882;
  background: transparent;
  font-size: 11px;
}

.home-policy-list {
  position: relative;
  min-height: 114px;
  overflow: hidden;
}

.home-policy-batch {
  display: grid;
  width: 100%;
}

.home-policy-batch.is-leaving {
  position: absolute;
  inset: 0;
  animation: home-policy-batch-out 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
  pointer-events: none;
}

.home-policy-batch.is-entering {
  animation: home-policy-batch-in 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes home-policy-batch-out {
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes home-policy-batch-in {
  from {
    opacity: 0.35;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-policy-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 38px;
  padding: 5px 0;
  border-top: 1px solid rgba(45, 78, 62, 0.08);
  color: #26352e;
  background: transparent;
  text-align: left;
}

.home-policy-row:first-child {
  border-top: 0;
}

.home-policy-row em {
  padding: 4px 7px;
  border: 1px solid rgba(27, 160, 107, 0.2);
  border-radius: 4px;
  color: #138557;
  background: #f0faf5;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.home-policy-row span {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-policy-row time {
  color: #98a09c;
  font-size: 10px;
}

.home-horizontal-list {
  display: grid;
  grid-auto-flow: column;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.home-horizontal-list::-webkit-scrollbar {
  display: none;
}

.home-horizontal-list.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.home-topic-list {
  grid-auto-columns: 144px;
}

.home-topic-card {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: 11px;
  color: #ffffff;
  background: #dceadd;
  scroll-snap-align: start;
  text-align: left;
}

.home-topic-card img,
.home-topic-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-topic-card img {
  object-fit: cover;
}

.home-topic-card::after {
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgba(7, 34, 23, 0.76));
}

.home-topic-card span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
}

.home-topic-card strong,
.home-topic-card small,
.home-topic-card b {
  display: block;
}

.home-topic-card strong {
  font-size: 15px;
  font-weight: 900;
}

.home-topic-card small {
  margin-top: 3px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-topic-card b {
  width: max-content;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 10px;
}

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

.home-operator-list,
.home-case-list {
  grid-template-columns: minmax(0, 1fr);
}

.home-operator-card {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 120px;
  overflow: hidden;
  border: 1px solid rgba(45, 78, 62, 0.11);
  border-radius: 10px;
  color: #26372e;
  background: #ffffff;
}

.home-operator-open {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 120px;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  color: #26372e;
  background: transparent;
  text-align: left;
  transition: background-color 180ms ease-out;
}

.home-operator-logo {
  display: grid;
  width: 64px;
  height: 64px;
  align-self: center;
  justify-self: center;
  place-items: center;
  border: 1px solid rgba(25, 148, 98, 0.3);
  border-radius: 50%;
  color: #16875d;
  background: #f2fbf6;
  font-size: 15px;
  font-weight: 900;
}

.home-operator-logo img,
.curated-operator-logo img,
.operator-application-logo img,
.company-logo img,
.alliance-detail-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.home-operator-open:hover,
.home-operator-open:focus-visible {
  background: #f2f8f4;
}

.home-operator-open:focus-visible,
.home-resource-card:focus-visible,
.home-case-card:focus-visible {
  outline: 2px solid #16875d;
  outline-offset: 2px;
}

.home-operator-open > span:last-child {
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 12px 12px 11px 4px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-operator-card strong,
.home-operator-card small {
  display: block;
}

.home-operator-card strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-operator-card small {
  width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #839089;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-operator-tags {
  display: flex;
  max-height: 22px;
  gap: 4px;
  margin: 8px 0 4px;
  overflow: hidden;
  justify-content: flex-start;
}

.home-operator-tags i {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 4px;
  color: #16875d;
  background: #eaf8f0;
  font-size: 9px;
  font-style: normal;
}

.home-resource-card {
  display: grid;
  width: 100%;
  grid-template-columns: 120px minmax(0, 1fr);
  min-width: 0;
  min-height: 120px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(45, 78, 62, 0.11);
  border-radius: 10px;
  color: #25372e;
  background: #ffffff;
  text-align: left;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.home-resource-list {
  display: grid;
  gap: 8px;
}

.home-resource-card img {
  width: 120px;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.home-resource-card > span {
  display: flex;
  min-width: 0;
  padding: 11px 10px;
  flex: 1 1 auto;
  flex-direction: column;
}

.home-resource-card strong,
.home-resource-card small,
.home-resource-card b {
  display: block;
}

.home-resource-card strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 34px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-resource-card small {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #697970;
  font-size: 9px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-resource-card b {
  margin-top: auto;
  padding-top: 8px;
  color: #16875d;
  font-size: 12px;
}

.home-resource-card:hover {
  background: #f6faf7;
}

.home-resource-card:active,
.home-case-card:active {
  transform: translateY(1px);
}

.workbench-view,
.region-view,
.news-view,
.topic-detail-view {
  padding: 16px 14px calc(96px + env(safe-area-inset-bottom));
  background: #f3f7f4;
}

.workbench-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 4px 18px;
}

.workbench-page-head span {
  color: #16875d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.workbench-page-head h2 {
  margin: 5px 0 0;
  color: #18271f;
  font-size: 25px;
}

.workbench-page-head button {
  padding: 8px 10px;
  border-radius: 9px;
  color: #0b6f4c;
  background: #e7f6ee;
  font-size: 11px;
  font-weight: 900;
}

.workbench-page-summary {
  margin: 0 0 12px;
  padding: 13px;
  border-radius: 12px;
  background: #e8f5ee;
}

.workbench-page-tasks {
  margin-top: 12px;
}

.workbench-overview-panel {
  margin-top: 16px;
  padding: 13px 12px 10px;
  border-color: rgba(45, 78, 62, 0.12);
  box-shadow: none;
}

.workbench-overview-head {
  align-items: flex-start;
}

.workbench-overview-head > div {
  min-width: 0;
}

.workbench-overview-head h2 {
  font-size: 16px;
}

.workbench-overview-head p {
  margin: 5px 0 0;
  color: #66756e;
  font-size: 11px;
  line-height: 1.45;
}

.workbench-overview-head button {
  flex: 0 0 auto;
  color: #16875d;
  font-weight: 800;
}

.workbench-overview-panel .overview-card {
  background: #f1f7f4;
}

.workbench-map-wrap {
  margin-top: 8px;
  border-top: 1px solid rgba(45, 78, 62, 0.08);
}

/* Resource supplier workbench — image-first valuation layout */
.workbench-account-line[hidden],
.village-match-panel[hidden],
.village-workbench-dashboard[hidden],
.workbench-page-summary[hidden],
.workbench-page-tasks[hidden] {
  display: none !important;
}

.workbench-view.is-village-mode {
  padding: 0 12px calc(100px + env(safe-area-inset-bottom));
  background: #f5f8f6;
}

.is-village-mode .workbench-page-head {
  position: relative;
  min-height: 158px;
  margin: 0 -12px;
  overflow: hidden;
  padding: calc(22px + env(safe-area-inset-top)) 20px 20px;
  background: #fbfcfa;
}

.is-village-mode .workbench-page-head::before {
  position: absolute;
  right: -30px;
  bottom: -28px;
  width: 78%;
  height: 120px;
  background: url("./assets/hero-rural-panorama.png") right bottom / cover no-repeat;
  content: "";
  opacity: 0.14;
}

.is-village-mode .workbench-page-head > * {
  position: relative;
  z-index: 1;
}

.is-village-mode .workbench-page-head > div {
  min-width: 0;
}

.is-village-mode .workbench-page-head span {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.is-village-mode .workbench-page-head h2 {
  margin-top: 10px;
  color: #073b2f;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.is-village-mode .workbench-page-head > button {
  border: 1px solid #1b7558;
  color: #155f49;
  background: #ffffff;
}

.workbench-account-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #4b5d55;
}

.workbench-account-line i {
  color: #16875d;
  font-size: 18px;
  font-style: normal;
}

.workbench-account-line strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-match-panel {
  position: relative;
  z-index: 2;
  margin-top: -12px;
  padding: 14px 14px 10px;
  overflow: hidden;
  border-radius: 13px;
  color: #ffffff;
  background: #064a39;
}

.village-match-head,
.village-match-labels,
.village-match-foot,
.village-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.village-match-head h3,
.village-section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.village-match-head button {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 11px;
}

.village-match-resource {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 11px;
  width: 100%;
  align-items: center;
  margin-top: 10px;
  color: #ffffff;
  background: transparent;
  text-align: left;
}

.village-match-resource img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
}

.village-match-resource span,
.village-match-resource strong,
.village-match-resource small,
.village-match-resource em {
  display: block;
}

.village-match-resource strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-match-resource small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
}

.village-match-resource em {
  width: max-content;
  margin-top: 6px;
  padding: 3px 7px;
  border: 1px solid #d7b34a;
  border-radius: 5px;
  color: #f5d975;
  font-size: 9px;
  font-style: normal;
}

.village-match-labels {
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.village-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.village-match-member {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto 38px;
  gap: 7px;
  width: 100%;
  min-height: 36px;
  align-items: center;
  color: #ffffff;
  background: transparent;
  text-align: left;
}

.village-match-member > b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #174938;
  background: #d8f1e4;
  font-size: 11px;
}

.village-match-row:first-child .village-match-member > b {
  background: #f7d56f;
}

.village-match-member > strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-match-member > em {
  padding: 3px 5px;
  border-radius: 4px;
  color: #c2ead8;
  background: rgba(31, 147, 107, 0.34);
  font-size: 8px;
  font-style: normal;
}

.village-match-member > span {
  color: #9ee0bf;
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.village-match-row:first-child .village-match-member > span {
  color: #f5d45a;
}

.village-match-connect {
  min-width: 46px;
  min-height: 27px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 9px;
  font-weight: 800;
}

.village-match-foot {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.village-match-foot b {
  margin-left: auto;
  font-weight: 500;
}

.is-village-mode .workbench-shortcuts {
  margin-top: 12px;
  padding: 10px 4px 7px;
  border: 1px solid rgba(33, 74, 55, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.is-village-mode .workbench-shortcut {
  min-height: 72px;
}

.is-village-mode .workbench-shortcut-icon {
  width: 42px;
  height: 42px;
}

.village-workbench-dashboard {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.village-pending-center,
.village-valuation-panel,
.village-structure-panel,
.village-key-project {
  padding: 11px;
  border: 1px solid rgba(33, 74, 55, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.village-section-head h3 {
  color: #172a21;
  font-size: 15px;
}

.village-section-head > button,
.village-section-head > span {
  padding: 3px 0;
  color: #7d8983;
  background: transparent;
  font-size: 10px;
}

.village-pending-list {
  margin-top: 6px;
}

.village-pending-list button {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto 10px;
  gap: 8px;
  width: 100%;
  min-height: 37px;
  align-items: center;
  border-top: 1px solid rgba(45, 78, 62, 0.08);
  color: #26362e;
  background: transparent;
  text-align: left;
}

.village-pending-list button > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.village-pending-list button > span {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-pending-list button > b {
  font-size: 10px;
}

.village-pending-list button > em {
  color: #8b9690;
  font-size: 14px;
  font-style: normal;
}

.is-danger {
  color: #e34b41;
}

.is-warning {
  color: #e98524;
}

.is-success {
  color: #16875d;
}

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

.village-total-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 9px 0 0;
}

.village-total-value > span {
  color: #22342b;
  font-size: 12px;
  font-weight: 800;
}

.village-total-value > strong {
  color: #087c54;
  font-size: 25px;
  line-height: 1;
}

.village-total-value > b {
  color: #087c54;
  font-size: 11px;
}

.village-value-update {
  display: block;
  margin-top: 4px;
  color: #7e8983;
  font-size: 9px;
}

.village-resource-values {
  display: grid;
  gap: 8px;
  margin-top: 9px;
}

.village-resource-values > button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  align-items: center;
  color: #27382f;
  background: transparent;
  text-align: left;
}

.village-resource-values > button > img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
}

.village-resource-values > button > span {
  min-width: 0;
}

.village-value-name {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 4px;
  align-items: center;
}

.village-value-name > strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-value-name > em {
  grid-column: 1;
  grid-row: 2;
  width: max-content;
  padding: 2px 4px;
  border-radius: 4px;
  color: #147750;
  background: #e8f3ea;
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
}

.village-value-name > b {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #24362d;
  font-size: 11px;
  white-space: nowrap;
}

.village-value-name > b small {
  margin-left: 1px;
  color: #78847e;
  font-size: 7px;
  font-weight: 500;
}

.village-resource-values > button > span > i,
.village-structure-list em,
.village-project-progress > i {
  display: block;
  height: 4px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eeeb;
}

.village-resource-values > button > span > i > span,
.village-structure-list em > span,
.village-project-progress > i > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #13855b;
}

.village-structure-list {
  display: grid;
  gap: 16px;
  margin-top: 23px;
}

.village-structure-list > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.village-structure-list > div > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  color: #16875d;
  background: #eaf4e8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.village-structure-list > div > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  min-width: 0;
  align-items: center;
}

.village-structure-list strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-structure-list b {
  font-size: 10px;
}

.village-structure-list em {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
}

.village-key-project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  align-items: center;
  margin-top: 8px;
  color: #23352c;
  background: transparent;
  text-align: left;
}

.village-key-project-card > img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 8px;
}

.village-key-project-card > span {
  min-width: 0;
}

.village-key-project-card > span > strong,
.village-key-project-card > span > small,
.village-key-project-card > span > b {
  display: block;
}

.village-key-project-card > span > strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-key-project-card > span > small {
  margin-top: 5px;
  color: #76827c;
  font-size: 9px;
}

.village-key-project-card > span > small em {
  color: #16875d;
  font-style: normal;
  font-weight: 900;
}

.village-project-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}

.village-project-progress > i {
  margin: 0;
}

.village-project-progress > b {
  font-size: 9px;
}

.village-project-income {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1;
}

.village-project-income em {
  margin-left: 2px;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.village-project-status {
  position: absolute;
  right: 0;
  bottom: 2px;
  padding: 4px 7px;
  border-radius: 5px;
  color: #ffffff;
  background: #13855b;
  font-size: 9px;
  font-style: normal;
}

.is-village-mode .workbench-overview-panel {
  margin-top: 10px;
}

.village-match-panel button:focus-visible,
.village-workbench-dashboard button:focus-visible {
  outline: 2px solid rgba(28, 142, 96, 0.5);
  outline-offset: 2px;
}

.compact-page-head {
  padding: 8px 0 15px;
}

.region-overview-panel {
  margin: 0;
}

.news-page-list {
  display: grid;
  gap: 10px;
}

.news-page-card {
  padding: 14px;
  border: 1px solid rgba(45, 78, 62, 0.09);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(53, 105, 80, 0.07);
  text-align: left;
}

.news-page-card em,
.news-page-card time,
.news-page-card strong,
.news-page-card p {
  display: block;
}

.news-page-card em {
  color: #16875d;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.news-page-card strong {
  margin-top: 7px;
  color: #1e3127;
  font-size: 16px;
  line-height: 1.4;
}

.news-page-card p {
  margin: 7px 0 0;
  color: #6f7c75;
  font-size: 12px;
  line-height: 1.55;
}

.news-page-card time {
  margin-top: 9px;
  color: #929d97;
  font-size: 10px;
}

.message-center-view,
.message-detail-view {
  padding: 16px 14px calc(96px + env(safe-area-inset-bottom));
  background: #f3f7f4;
}

.message-page-head {
  align-items: center;
  padding: 8px 0 15px;
  background: transparent;
}

.message-page-head > div {
  flex: 1 1 auto;
}

.message-page-head h2 {
  font-size: 22px;
}

.message-page-head p {
  margin-top: 3px;
  font-size: 11px;
}

.message-read-all {
  min-width: 64px;
  min-height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #176b4d;
  background: #e4f2e9;
  font-size: 11px;
  font-weight: 800;
}

.message-center-content {
  display: grid;
  gap: 11px;
}

.message-center-summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 13px;
  align-items: center;
  border-radius: 14px;
  color: #173a2c;
  background: #e5f2e9;
}

.message-summary-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: #187a56;
  font-size: 13px;
  font-weight: 900;
}

.message-center-summary strong,
.message-center-summary p,
.message-center-summary b {
  display: block;
}

.message-center-summary strong {
  font-size: 14px;
}

.message-center-summary p {
  margin: 3px 0 0;
  color: #486458;
  font-size: 10px;
  line-height: 1.45;
}

.message-center-summary b {
  color: #166d4d;
  font-size: 10px;
  white-space: nowrap;
}

.message-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 1px 0 2px;
  scrollbar-width: none;
}

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

.message-filter-row button {
  min-height: 32px;
  padding: 0 12px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #52645b;
  background: #e8eeea;
  font-size: 11px;
  font-weight: 700;
}

.message-filter-row button.is-active {
  color: #ffffff;
  background: #176f50;
}

.message-list {
  overflow: hidden;
  border: 1px solid rgba(38, 72, 55, 0.1);
  border-radius: 15px;
  background: #ffffff;
}

.message-list-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) 14px;
  gap: 10px;
  padding: 13px 11px;
  align-items: center;
  color: #20342a;
  background: #ffffff;
  text-align: left;
}

.message-list-item:not(:last-child) {
  border-bottom: 1px solid #e8eeea;
}

.message-list-item.is-unread {
  background: #f7fbf8;
}

.message-list-item.is-unread::before {
  position: absolute;
  top: 18px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e65147;
  content: '';
}

.message-item-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #176f50;
  background: #e5f2e9;
  font-size: 12px;
  font-weight: 900;
}

.message-item-main,
.message-item-title {
  min-width: 0;
}

.message-item-title {
  display: flex;
  gap: 6px;
  align-items: center;
}

.message-item-title strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-item-title i {
  padding: 2px 5px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #b33631;
  background: #fce8e6;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.message-item-main > small {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #5d6c64;
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.message-item-meta {
  display: flex;
  gap: 8px;
  margin-top: 7px;
  align-items: center;
  color: #89938e;
  font-size: 9px;
}

.message-item-meta em {
  color: #25775a;
  font-style: normal;
  font-weight: 700;
}

.message-item-arrow {
  color: #86928c;
  font-size: 18px;
}

.message-empty {
  display: grid;
  min-height: 210px;
  padding: 28px;
  place-items: center;
  align-content: center;
  color: #74827b;
  text-align: center;
}

.message-empty > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: #207355;
  background: #e6f1e9;
  font-weight: 900;
}

.message-empty strong {
  margin-top: 10px;
  color: #2b4035;
  font-size: 14px;
}

.message-empty p {
  margin: 5px 0 0;
  font-size: 11px;
}

.message-detail-content {
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
}

.message-detail-header,
.message-detail-body,
.message-delivery-note {
  padding: 16px;
}

.message-detail-header {
  border-bottom: 1px solid #e7ece9;
}

.message-detail-category {
  display: inline-flex;
  min-height: 24px;
  padding: 0 9px;
  align-items: center;
  border-radius: 999px;
  color: #176f50;
  background: #e5f2e9;
  font-size: 10px;
  font-weight: 800;
}

.message-detail-header h3 {
  margin: 11px 0 0;
  color: #183126;
  font-size: 20px;
  line-height: 1.35;
  text-wrap: balance;
}

.message-detail-header > p {
  margin: 8px 0 0;
  color: #53665c;
  font-size: 12px;
  line-height: 1.55;
}

.message-detail-header dl {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf1ee;
}

.message-detail-header dl > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  color: #65756c;
  font-size: 10px;
}

.message-detail-header dt,
.message-detail-header dd {
  margin: 0;
}

.message-detail-header dd {
  color: #2f463a;
}

.message-detail-body h4 {
  margin: 0 0 10px;
  color: #1d3529;
  font-size: 15px;
}

.message-detail-body p {
  margin: 0;
  color: #465a50;
  font-size: 12px;
  line-height: 1.8;
}

.message-detail-body p + p {
  margin-top: 10px;
}

.message-delivery-note {
  margin: 0 16px 16px;
  border-radius: 12px;
  color: #4e6258;
  background: #f0f5f2;
}

.message-delivery-note strong {
  color: #234438;
  font-size: 12px;
}

.message-delivery-note p {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.6;
}

.message-related-action {
  width: calc(100% - 32px);
  min-height: 42px;
  margin: 0 16px 16px;
  border-radius: 10px;
  color: #ffffff;
  background: #176f50;
  font-size: 13px;
  font-weight: 800;
}

.message-read-all:hover,
.message-filter-row button:hover,
.message-list-item:hover {
  filter: brightness(0.98);
}

.message-read-all:focus-visible,
.message-filter-row button:focus-visible,
.message-list-item:focus-visible,
.message-related-action:focus-visible {
  outline: 2px solid rgba(28, 142, 96, 0.5);
  outline-offset: 2px;
}

.recruitment-board-view {
  padding: 16px 14px calc(96px + env(safe-area-inset-bottom));
  background: #f3f7f4;
}

.recruitment-board-head {
  align-items: center;
  padding: 8px 0 15px;
  background: transparent;
}

.recruitment-board-head > div {
  flex: 1 1 auto;
}

.recruitment-board-head h2 {
  font-size: 22px;
}

.recruitment-board-head p {
  margin-top: 3px;
  font-size: 11px;
}

.recruitment-board-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 14px;
  color: #ffffff;
  background: #155d46;
}

.recruitment-board-summary > div {
  min-width: 0;
  padding: 13px 9px;
  text-align: center;
}

.recruitment-board-summary > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.recruitment-board-summary span,
.recruitment-board-summary strong,
.recruitment-board-summary small {
  display: block;
}

.recruitment-board-summary span,
.recruitment-board-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.recruitment-board-summary strong {
  margin: 4px 0 2px;
  font-size: 22px;
  line-height: 1;
}

.recruitment-board-filters {
  display: flex;
  gap: 7px;
  margin-top: 11px;
  overflow-x: auto;
  scrollbar-width: none;
}

.recruitment-board-filters::-webkit-scrollbar {
  display: none;
}

.recruitment-board-filters button {
  min-height: 32px;
  padding: 0 13px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #51645a;
  background: #e7ede9;
  font-size: 11px;
  font-weight: 700;
}

.recruitment-board-filters button.is-active {
  color: #ffffff;
  background: #176f50;
}

.recruitment-board-list {
  display: grid;
  gap: 11px;
  margin-top: 11px;
}

.recruitment-post-card {
  overflow: hidden;
  border: 1px solid rgba(39, 76, 58, 0.11);
  border-radius: 15px;
  background: #ffffff;
}

.recruitment-post-cover {
  position: relative;
  height: 142px;
  overflow: hidden;
  background: #dfe9e3;
}

.recruitment-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruitment-post-cover span,
.recruitment-post-cover b {
  position: absolute;
  top: 10px;
  display: inline-flex;
  min-height: 25px;
  padding: 0 9px;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18, 54, 41, 0.82);
  font-size: 9px;
  font-weight: 800;
}

.recruitment-post-cover span {
  left: 10px;
}

.recruitment-post-cover b {
  right: 10px;
  background: #16875d;
}

.recruitment-post-body {
  padding: 13px;
}

.recruitment-post-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.recruitment-post-title > div {
  min-width: 0;
}

.recruitment-post-title strong,
.recruitment-post-title small {
  display: block;
}

.recruitment-post-title strong {
  overflow: hidden;
  color: #1c3428;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recruitment-post-title small {
  margin-top: 4px;
  color: #75827b;
  font-size: 10px;
}

.recruitment-post-title em {
  padding: 4px 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #9a6618;
  background: #fff1d5;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.recruitment-post-tags {
  display: flex;
  gap: 5px;
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.recruitment-post-tags::-webkit-scrollbar {
  display: none;
}

.recruitment-post-tags span {
  padding: 4px 7px;
  flex: 0 0 auto;
  border-radius: 6px;
  color: #176f50;
  background: #e8f4ed;
  font-size: 9px;
  font-weight: 700;
}

.recruitment-post-meta {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e9eeeb;
}

.recruitment-post-meta > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  font-size: 10px;
  line-height: 1.5;
}

.recruitment-post-meta dt,
.recruitment-post-meta dd {
  margin: 0;
}

.recruitment-post-meta dt {
  color: #75837b;
}

.recruitment-post-meta dd {
  color: #31473b;
}

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

.recruitment-post-actions button {
  min-height: 38px;
  border: 1px solid rgba(22, 111, 80, 0.25);
  border-radius: 9px;
  color: #176f50;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.recruitment-post-actions button.is-primary {
  border-color: #176f50;
  color: #ffffff;
  background: #176f50;
}

.recruitment-post-actions button:disabled {
  border-color: #d8e2dc;
  color: #6f7e76;
  background: #e8eeea;
  cursor: default;
}

.recruitment-board-empty {
  display: grid;
  min-height: 250px;
  place-items: center;
  align-content: center;
  color: #718078;
  text-align: center;
}

.recruitment-board-empty span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #176f50;
  background: #e6f2eb;
  font-weight: 900;
}

.recruitment-board-empty strong {
  margin-top: 10px;
  color: #2b4035;
  font-size: 14px;
}

.recruitment-board-empty p {
  margin: 5px 0 0;
  font-size: 11px;
}

.recruitment-board-filters button:focus-visible,
.recruitment-post-actions button:focus-visible,
.resource-card-actions button:focus-visible,
.company-card-actions button:focus-visible,
.village-match-connect:focus-visible {
  outline: 2px solid rgba(28, 142, 96, 0.5);
  outline-offset: 2px;
}

.topic-detail-hero {
  position: relative;
  height: 230px;
  overflow: hidden;
  border-radius: 16px;
}

.topic-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-detail-body {
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
}

.topic-detail-body h3 {
  margin: 0;
  font-size: 20px;
}

.topic-detail-body p {
  margin: 10px 0 0;
  color: #68756e;
  font-size: 13px;
  line-height: 1.7;
}

.tabbar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 68px;
  overflow: visible;
  padding: 5px 5px calc(6px + env(safe-area-inset-bottom));
}

.tabbar.is-guest {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tabbar.is-guest [data-workbench-tab] {
  display: none !important;
}

.tab.is-workbench {
  position: relative;
  align-self: start;
  margin-top: -26px;
}

.workbench-chart-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 5px solid #eaf7f0;
  border-radius: 50%;
  background: conic-gradient(#ffffff 0 25%, transparent 25% 33%, #ffffff 33% 61%, transparent 61% 69%, #ffffff 69% 100%), #20a56f;
  box-shadow: 0 7px 18px rgba(21, 129, 84, 0.28);
}

.workbench-chart-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #20a56f;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.tab.is-workbench > span:last-child {
  margin-top: 2px;
}

@media (max-width: 374px) {
  .home-tool-row {
    grid-template-columns: auto minmax(0, 1fr) 38px;
    gap: 5px;
  }

  .home-city-location {
    min-width: 64px;
  }

  .home-city-location strong {
    font-size: 12px;
  }

  .public-home-stack .policy-carousel {
    height: 154px;
  }

  .message-center-summary {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .message-summary-icon {
    width: 36px;
    height: 36px;
  }

  .message-center-summary > b {
    grid-column: 2;
  }

  .message-read-all {
    min-width: 58px;
    padding: 0 9px;
  }

  .village-analysis-layout {
    grid-template-columns: 1fr;
  }

  .village-structure-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .village-structure-list > div {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .village-structure-list > div > span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .is-attention {
    animation: none;
  }

  .ai-assistant-fab {
    transition: none;
  }

  .home-policy-batch.is-leaving,
  .home-policy-batch.is-entering {
    animation: none;
  }
}

/* Operator-side workbenches */
.operator-match-panel[hidden],
.operator-workbench-dashboard[hidden] {
  display: none !important;
}

.workbench-view.is-operator-mode {
  padding: 0 12px calc(100px + env(safe-area-inset-bottom));
  background: #f3f7f4;
}

.is-operator-mode .workbench-page-head {
  position: relative;
  min-height: 145px;
  margin: 0 -12px;
  overflow: hidden;
  padding: calc(20px + env(safe-area-inset-top)) 20px 18px;
  background: #fbfcfa;
}

.is-operator-mode .workbench-page-head::after {
  position: absolute;
  right: -26px;
  bottom: -8px;
  width: 210px;
  height: 94px;
  background: url("./assets/hero-rural-panorama.png") center / cover no-repeat;
  content: "";
  opacity: 0.08;
  mask-image: linear-gradient(90deg, transparent, #000 38%);
}

.is-operator-mode .workbench-page-head > * {
  position: relative;
  z-index: 1;
}

.is-operator-mode .workbench-page-head span {
  color: #16875d;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.is-operator-mode .workbench-page-head h2 {
  margin-top: 7px;
  color: #073b2f;
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.is-operator-mode .workbench-page-head > button {
  border: 1px solid #20785c;
  color: #155f49;
  background: #ffffff;
}

.is-operator-mode .workbench-account-line {
  margin-top: 9px;
}

.is-operator-mode .workbench-account-line i {
  display: none;
}

.is-operator-mode .workbench-account-line strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475851;
  font-size: 12px;
  font-weight: 700;
}

.workbench-account-line > span {
  padding: 2px 6px;
  border-radius: 999px;
  color: #0b7953;
  background: #e5f4ec;
  font-size: 9px;
  font-weight: 800;
}

.workbench-account-line > span.is-pending {
  color: #8a5a07;
  background: #f8edcf;
}

.workbench-account-line > span.is-rejected {
  color: #9a3f34;
  background: #f9e3df;
}

.operator-match-panel {
  position: relative;
  margin-top: -9px;
  overflow: hidden;
  border-radius: 14px;
  color: #ffffff;
  background: #064735;
}

.operator-match-copy {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.operator-match-copy span,
.operator-match-copy small {
  display: block;
}

.operator-match-copy span {
  font-size: 15px;
  font-weight: 900;
}

.operator-match-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
}

.operator-match-all {
  position: absolute;
  top: 13px;
  right: 12px;
  z-index: 4;
  padding: 4px 0 4px 8px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-size: 11px;
}

.operator-match-card {
  position: relative;
  display: block;
  width: 100%;
  height: 236px;
  overflow: hidden;
  color: #ffffff;
  background: #064735;
  text-align: left;
}

.operator-match-card > img,
.operator-match-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.operator-match-card > img {
  object-fit: cover;
}

.operator-match-overlay {
  background: linear-gradient(90deg, rgba(3, 55, 41, 0.98) 0%, rgba(3, 55, 41, 0.88) 42%, rgba(3, 55, 41, 0.16) 100%), linear-gradient(0deg, rgba(2, 36, 27, 0.78), transparent 54%);
}

.operator-match-content {
  position: absolute;
  inset: 61px 14px 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.operator-match-content > strong {
  max-width: 78%;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-match-content > small {
  max-width: 84%;
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-match-content > b {
  margin-top: 8px;
  color: #ffd35b;
  font-size: 18px;
  line-height: 1;
}

.operator-match-content > em {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 6px;
  color: #ffffff;
  font-size: 16px;
  font-style: normal;
}

.operator-match-content > em strong {
  font-size: 30px;
  line-height: 1;
}

.operator-match-content > em small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
}

.operator-match-tags {
  display: flex;
  max-width: 82%;
  gap: 5px;
  margin-top: 7px;
}

.operator-match-tags i {
  padding: 3px 7px;
  border-radius: 4px;
  color: #d5f5e5;
  background: rgba(14, 120, 82, 0.7);
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.operator-match-cta {
  margin-top: auto;
  padding: 7px 13px;
  border-radius: 6px;
  color: #18372c;
  background: #ffd451;
  font-size: 11px;
  font-weight: 900;
}

.operator-match-pager {
  position: absolute;
  right: 14px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
}

.operator-match-pager span {
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
}

.operator-match-pager i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.operator-match-pager i.is-active {
  background: #ffffff;
}

.is-operator-mode .workbench-shortcuts {
  margin-top: 10px;
  padding: 9px 3px 10px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
}

.is-operator-mode .workbench-shortcut {
  position: relative;
  min-height: 66px;
  padding: 2px 3px;
}

.is-operator-mode .workbench-shortcut:not(:last-child)::after {
  position: absolute;
  top: 7px;
  right: -2px;
  width: 1px;
  height: 44px;
  background: #e5ebe7;
  content: "";
}

.is-operator-mode .workbench-shortcut-icon {
  width: 36px;
  height: 36px;
}

.is-operator-mode .workbench-shortcut-icon img {
  width: 28px;
  height: 28px;
}

.is-operator-mode .workbench-shortcut strong {
  margin-top: 4px;
  font-size: 11px;
}

.is-operator-mode .workbench-shortcut small {
  display: none;
}

.operator-workbench-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.operator-progress,
.operator-task-panel,
.operator-capability,
.operator-visit,
.operator-more-assets,
.operator-resource-pool {
  border-radius: 12px;
  background: #ffffff;
}

.operator-progress {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #e8f1eb;
}

.operator-progress h3 {
  flex: 0 0 74px;
  margin: 0;
  color: #263d33;
  font-size: 12px;
}

.operator-progress > div {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.operator-progress span {
  min-width: 0;
  text-align: center;
}

.operator-progress strong,
.operator-progress small {
  display: block;
}

.operator-progress strong {
  color: #123d2e;
  font-size: 16px;
}

.operator-progress small {
  margin-top: 2px;
  overflow: hidden;
  color: #5f6f67;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.operator-section-head h3 {
  margin: 0;
  color: #17392d;
  font-size: 14px;
}

.operator-section-head button,
.operator-section-head > span {
  color: #738179;
  background: transparent;
  font-size: 10px;
}

.operator-task-panel {
  padding: 11px 12px 7px;
}

.operator-task-list {
  margin-top: 7px;
}

.operator-task-list button {
  display: grid;
  width: 100%;
  min-height: 37px;
  align-items: center;
  grid-template-columns: 7px minmax(88px, 1fr) minmax(95px, 1.25fr) auto 8px;
  gap: 6px;
  border-top: 1px solid #edf1ee;
  color: #314039;
  background: transparent;
  text-align: left;
}

.operator-task-list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16875d;
}

.operator-task-list i.is-danger { background: #f04444; }
.operator-task-list i.is-warning { background: #ed8b22; }

.operator-task-list strong,
.operator-task-list span,
.operator-task-list b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-task-list span {
  color: #7b8781;
  font-weight: 500;
}

.operator-task-list b { color: #38483f; }
.operator-task-list em { color: #8b9690; font-style: normal; }

.operator-insight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8px;
}

.operator-capability,
.operator-visit {
  min-width: 0;
  padding: 11px;
}

.operator-capability > p {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 10px 0 5px;
}

.operator-capability > p strong {
  color: #076b4b;
  font-size: 27px;
  line-height: 1;
}

.operator-capability > p b { color: #076b4b; font-size: 12px; }
.operator-capability > p span { margin-left: 4px; color: #748078; font-size: 9px; }

.operator-capability > i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ece8;
}

.operator-capability > i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #149263;
}

.operator-capability dl {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.75fr;
  margin: 10px 0 0;
}

.operator-capability dl div { min-width: 0; text-align: center; }
.operator-capability dl div:not(:last-child) { border-right: 1px solid #e5ebe7; }

.operator-capability dt,
.operator-capability dd {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-capability dt { color: #7b8881; font-size: 8px; }
.operator-capability dd { margin: 3px 0 0; color: #244338; font-size: 10px; font-weight: 900; }

.operator-capability > button {
  margin-top: 9px;
  padding: 0;
  color: #16875d;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.operator-visit > strong {
  display: block;
  margin-top: 12px;
  color: #075d43;
  font-size: 27px;
  line-height: 1;
}

.operator-visit p { margin: 8px 0 0; color: #30463c; font-size: 10px; font-weight: 800; line-height: 1.35; }
.operator-visit small { display: block; margin-top: 3px; color: #7c8882; font-size: 8px; }

.operator-visit > button {
  margin-top: 11px;
  padding: 7px 11px;
  border-radius: 6px;
  color: #ffffff;
  background: #16875d;
  font-size: 10px;
  font-weight: 800;
}

.operator-more-assets { padding: 11px 10px 10px; }

.operator-more-assets > div:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.operator-more-assets > div:last-child button {
  min-width: 0;
  overflow: hidden;
  padding: 0 0 8px;
  border-radius: 9px;
  color: #304039;
  background: #f7f9f7;
  text-align: left;
}

.operator-more-assets img { width: 100%; height: 83px; object-fit: cover; }

.operator-more-assets strong,
.operator-more-assets b,
.operator-more-assets small {
  display: block;
  margin-right: 8px;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-more-assets strong { margin-top: 6px; font-size: 10px; }
.operator-more-assets b { margin-top: 3px; color: #16875d; font-size: 10px; }
.operator-more-assets small { margin-top: 2px; color: #79867f; font-size: 8px; }

.operator-resource-pool {
  position: relative;
  display: grid;
  min-height: 105px;
  overflow: hidden;
  padding: 12px;
  grid-template-columns: 1.25fr 0.75fr;
}

.operator-resource-pool h3 { margin: 0; color: #17392d; font-size: 14px; }

.operator-resource-pool p {
  display: grid;
  width: 182px;
  margin: 9px 0 0;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: end;
  gap: 3px;
}

.operator-resource-pool p strong { color: #123d2e; font-size: 19px; }
.operator-resource-pool p span { color: #7a8780; font-size: 8px; }
.operator-resource-pool img { width: 100%; height: 76px; object-fit: contain; }

.operator-resource-pool > button {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 6px 9px;
  border: 1px solid #16875d;
  border-radius: 6px;
  color: #0f7252;
  background: #ffffff;
  font-size: 9px;
  font-weight: 800;
}

.is-operator-mode .workbench-overview-panel { display: none; }

.operator-match-card:focus-visible,
.operator-match-all:focus-visible,
.operator-task-list button:focus-visible,
.operator-capability button:focus-visible,
.operator-visit button:focus-visible,
.operator-more-assets button:focus-visible,
.operator-resource-pool button:focus-visible {
  outline: 2px solid rgba(255, 211, 81, 0.9);
  outline-offset: -2px;
}

@media (max-width: 390px) {
  .operator-progress { padding-right: 8px; padding-left: 8px; }
  .operator-progress h3 { flex-basis: 62px; }
  .operator-task-list button { grid-template-columns: 7px minmax(78px, 1fr) minmax(74px, 1fr) auto 8px; }
  .operator-capability dl { grid-template-columns: 1fr 0.7fr 0.7fr; }
}

/* Business owner operation intent */
.operation-intent-view {
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
  background: #f3f6f4;
}

.operation-intent-head {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 66px;
  border-bottom: 1px solid #e0e8e3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.operation-intent-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 6px;
  color: #7b6a48;
  background: #f6efe1;
  font-size: 10px;
  font-weight: 900;
}

.operation-intent-status.is-published {
  color: #0d7550;
  background: #e6f5ec;
}

.operation-intent-guide {
  margin: 12px 14px 10px;
  padding: 12px 13px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #eaf5ee;
}

.operation-intent-guide strong,
.operation-intent-guide p {
  display: block;
  margin: 0;
}

.operation-intent-guide strong {
  color: #164c38;
  font-size: 13px;
}

.operation-intent-guide p {
  margin-top: 4px;
  color: #5e7468;
  font-size: 10px;
  line-height: 1.5;
}

.operation-intent-published {
  margin: 0 14px 10px;
  padding: 13px;
  border: 1px solid rgba(22, 135, 93, 0.2);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(37, 63, 49, 0.05);
}

.operation-intent-published[hidden] {
  display: none;
}

.operation-intent-published > div span,
.operation-intent-published > div strong {
  display: block;
}

.operation-intent-published > div span {
  color: #74827a;
  font-size: 9px;
}

.operation-intent-published > div strong {
  margin-top: 3px;
  color: #173e2f;
  font-size: 14px;
}

.operation-intent-published > p {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 9px 0 0;
}

.operation-intent-published > p b {
  padding: 4px 7px;
  border-radius: 5px;
  color: #0d7550;
  background: #e8f6ee;
  font-size: 9px;
}

.operation-intent-published dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 0;
  overflow: hidden;
  background: #e2eae5;
}

.operation-intent-published dl div {
  min-width: 0;
  padding: 8px;
  background: #f8fbf9;
}

.operation-intent-published dt,
.operation-intent-published dd {
  margin: 0;
}

.operation-intent-published dt {
  color: #7a8780;
  font-size: 8px;
}

.operation-intent-published dd {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #263b30;
  font-size: 10px;
  font-weight: 900;
}

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

.intent-form-section {
  padding: 16px 14px 18px;
  border-top: 1px solid #e1e9e4;
  border-bottom: 1px solid #e1e9e4;
  background: #ffffff;
}

.intent-section-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.intent-section-head > span {
  display: inline-flex;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--green);
  font-size: 9px;
  font-weight: 900;
}

.intent-section-head h3,
.intent-section-head p {
  margin: 0;
}

.intent-section-head h3 {
  color: #1b2f25;
  font-size: 15px;
}

.intent-section-head p {
  margin-top: 3px;
  color: #7b8781;
  font-size: 9px;
}

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

.intent-field {
  display: grid;
  min-width: 0;
  gap: 5px;
  margin-top: 9px;
}

.intent-field-grid > .intent-field {
  margin-top: 0;
}

.intent-field > span,
.intent-industry-fieldset legend {
  color: #4c5e54;
  font-size: 10px;
  font-weight: 900;
}

.intent-field em,
.intent-industry-fieldset em {
  color: #d84c34;
  font-style: normal;
}

.intent-field input,
.intent-field select,
.intent-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9e4dd;
  border-radius: 7px;
  color: #20342a;
  background: #fbfdfb;
  font-size: 12px;
}

.intent-field input,
.intent-field select {
  height: 41px;
  padding: 0 9px;
}

.intent-field select:disabled {
  color: #9aa59f;
  background: #f0f3f1;
}

.intent-field textarea {
  min-height: 92px;
  padding: 10px;
  line-height: 1.5;
  resize: vertical;
}

.intent-field input::placeholder,
.intent-field textarea::placeholder {
  color: #a0aaa5;
}

.intent-field input:focus-visible,
.intent-field select:focus-visible,
.intent-field textarea:focus-visible {
  outline: 2px solid rgba(22, 135, 93, 0.24);
  outline-offset: 1px;
}

.intent-industry-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.intent-industry-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 8px;
}

.intent-industry-group {
  min-width: 0;
  padding: 10px;
  border: 1px solid #e0e8e3;
  border-radius: 9px;
  background: #f9fcfa;
}

.intent-industry-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.intent-industry-group-head strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #173d2f;
  font-size: 12px;
}

.intent-industry-group-head strong i {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #ffffff;
  background: var(--green);
  font-size: 8px;
  font-style: normal;
}

.intent-industry-group-head small {
  color: #7b8881;
  font-size: 8px;
}

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

.intent-industry-empty {
  margin: 0;
  padding: 10px;
  border: 1px dashed #d9e3dd;
  border-radius: 7px;
  color: #8a9690;
  background: #f3f6f4;
  font-size: 9px;
  text-align: center;
}

.intent-industry-options label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.intent-industry-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.intent-industry-options span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid #dce5df;
  border-radius: 7px;
  color: #52635a;
  background: #fbfdfb;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.intent-industry-options input:checked + span {
  border-color: rgba(22, 135, 93, 0.45);
  color: #0d7550;
  background: #e9f6ee;
  box-shadow: inset 3px 0 0 var(--green);
}

.intent-industry-options input:focus-visible + span {
  outline: 2px solid rgba(22, 135, 93, 0.24);
  outline-offset: 1px;
}

.intent-industry-fieldset > small {
  display: block;
  margin-top: 7px;
  color: #738078;
  font-size: 9px;
  text-align: right;
}

.intent-area-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 7px;
  align-items: end;
}

.intent-area-range > i {
  padding-bottom: 14px;
  color: #859088;
  font-size: 9px;
  font-style: normal;
}

.intent-area-range .intent-area-unit {
  grid-column: 1 / -1;
}

.operation-intent-submit {
  padding: 0 14px 18px;
}

.operation-intent-submit button {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.operation-intent-submit button:active {
  transform: scale(0.98);
}

.operation-intent-submit button:focus-visible {
  outline: 3px solid rgba(22, 135, 93, 0.25);
  outline-offset: 2px;
}

.operation-intent-submit p {
  margin: 7px 0 0;
  color: #7b8781;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

/* Real policy carousel and full policy article */
.policy-slide > img.is-contain {
  object-fit: contain;
  background: #edf4ef;
}

.policy-shade {
  background: linear-gradient(90deg, rgba(244, 251, 247, 0.96) 0%, rgba(239, 248, 243, 0.86) 52%, rgba(232, 245, 237, 0.18) 100%);
}

.public-home-stack .policy-copy {
  width: 78%;
}

.public-home-stack .policy-copy strong {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-home-stack .policy-copy small {
  display: -webkit-box;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.policy-detail-panel {
  max-height: min(92dvh, 820px);
  overscroll-behavior: contain;
}

.policy-detail-image.is-contain {
  object-fit: contain;
  background: #edf4ef;
}

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

.policy-detail-meta > div:first-child {
  grid-column: 1 / -1;
}

.policy-detail-content {
  margin-top: 14px;
}

.policy-article-summary {
  margin: 0;
  padding: 12px 13px;
  border-left: 3px solid #16875d;
  border-radius: 0 9px 9px 0;
  color: #29493a;
  background: #eef7f2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
}

.policy-article-body {
  padding-top: 6px;
}

.policy-article-body p {
  margin: 12px 0 0;
  color: #42564b;
  font-size: 12px;
  line-height: 1.85;
  text-align: justify;
  overflow-wrap: anywhere;
}

.policy-article-body h3 {
  position: relative;
  margin: 24px 0 0;
  padding: 9px 11px 9px 17px;
  border-radius: 9px;
  color: #123d2d;
  background: #e8f3ec;
  font-size: 15px;
  line-height: 1.45;
}

.policy-article-body h3::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 8px;
  width: 3px;
  border-radius: 999px;
  background: #16875d;
  content: "";
}

.policy-article-body h4 {
  margin: 18px 0 0;
  color: #182f24;
  font-size: 13px;
  line-height: 1.5;
}

.policy-article-body .policy-article-callout {
  padding: 11px 12px;
  border: 1px solid #dbeadf;
  border-radius: 9px;
  color: #315443;
  background: #f7faf8;
}

.policy-article-body .policy-article-source {
  padding-top: 11px;
  border-top: 1px solid #e4ebe7;
  color: #75847c;
  font-size: 10px;
  text-align: left;
}

.policy-article-body figure {
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid #e2eae5;
  border-radius: 10px;
  background: #f3f7f4;
}

.policy-article-body figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.policy-detail-close {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-bottom: max(0px, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 18px rgba(255, 255, 255, 0.92);
}

@media (min-width: 700px) {
  .policy-detail-sheet {
    position: fixed;
    inset: 16px auto 16px 50%;
    width: min(var(--phone-width), calc(100vw - 32px));
    overflow: hidden;
    border-radius: 44px;
    transform: translateX(-50%);
  }

  .policy-detail-panel {
    width: 100%;
    max-height: calc(100% - 12px);
  }
}

@media (max-width: 390px) {
  .intent-field-grid,
  .operation-intent-published dl {
    grid-template-columns: 1fr;
  }
}
/* 组团片区：省域资源运营总览 */
.region-view {
  padding: 0 12px calc(108px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 82% 3%, rgba(122, 181, 130, 0.13), transparent 20%),
    #f4f7f2;
}

.region-page-head {
  position: relative;
  min-height: 126px;
  margin: 0 -12px -18px;
  padding: 24px 68px 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(250, 250, 246, 0.98), rgba(244, 248, 240, 0.92)),
    url("./assets/hero-rural-panorama.png") center 72% / cover;
  text-align: center;
}

.region-page-head::after {
  position: absolute;
  right: -24px;
  bottom: 2px;
  width: 190px;
  height: 64px;
  content: "";
  opacity: 0.17;
  background: url("./assets/hero-rural-panorama.png") center / cover;
  clip-path: polygon(0 100%, 20% 52%, 35% 71%, 53% 30%, 67% 56%, 81% 20%, 100% 66%, 100% 100%);
}

.region-page-head h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #123d31;
  font-size: 25px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.region-page-head p {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  color: #62736a;
  font-size: 12px;
}

.region-back-action,
.region-province-action {
  position: absolute;
  z-index: 2;
  top: 26px;
  border: 0;
  color: #214b3d;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.region-back-action {
  left: 18px;
  width: 38px;
  height: 38px;
  padding: 0 8px 5px 0;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.region-province-action {
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 800;
}

.region-province-action i {
  font-style: normal;
  font-size: 14px;
}

.region-dashboard {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.region-dashboard-panel {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(31, 83, 62, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 22px rgba(27, 68, 48, 0.055);
}

.region-section-head {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.region-section-head h3 {
  margin: 0;
  color: #193d31;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0.01em;
}

.region-section-head > span,
.region-section-head button {
  flex: 0 0 auto;
  padding: 3px 0;
  border: 0;
  color: #6a7871;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.region-section-head button {
  color: #29785a;
  font-weight: 800;
}

.region-section-head button span {
  margin-left: 2px;
  font-size: 16px;
  line-height: 0;
}

.region-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
  padding: 10px 2px;
  border: 1px solid #edf1ed;
  border-radius: 11px;
  background: #fbfcfa;
}

.region-overview-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 5px;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-right: 1px solid #e7ece8;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.region-overview-item:last-child {
  border-right: 0;
}

.region-overview-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  color: #16845d;
  background: #e9f5ed;
  font-size: 12px;
  font-weight: 950;
}

.region-overview-item div {
  min-width: 0;
}

.region-overview-item strong,
.region-overview-item small {
  display: block;
}

.region-overview-item strong {
  color: #18392e;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.region-overview-item small {
  margin-top: 3px;
  overflow: hidden;
  color: #738078;
  font-size: 9px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-map-wrap {
  height: 294px;
  margin: 5px -2px 0;
}

.region-map-wrap .province-map,
.region-map-wrap .mock-province-map {
  top: 2px;
  left: 4%;
  width: 92%;
  height: 270px;
}

.region-map-wrap .map-point {
  min-width: 15px;
  min-height: 15px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(18, 137, 91, 0.74);
  box-shadow: 0 2px 5px rgba(18, 74, 49, 0.14);
  opacity: 1;
}

.region-map-wrap .map-point span {
  display: none;
}

.region-map-wrap .map-point strong {
  display: none;
}

.region-map-wrap .map-point:hover,
.region-map-wrap .map-point:focus-visible {
  border: 5px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(17, 137, 92, 0.76);
  box-shadow: 0 0 0 4px rgba(22, 135, 93, 0.12);
  opacity: 1;
}

.region-map-wrap .map-legend {
  right: auto;
  bottom: 0;
  left: 2px;
}

.region-map-wrap .map-legend i {
  width: 56px;
}

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

.region-featured-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8ede9;
  border-radius: 12px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.region-featured-media {
  position: relative;
  height: 102px;
  overflow: hidden;
  background: #e8f0e9;
}

.region-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-featured-media span {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #8b6500;
  background: rgba(255, 250, 224, 0.94);
  font-size: 9px;
  font-weight: 900;
}

.region-featured-body {
  position: relative;
  padding: 8px 8px 38px;
}

.region-featured-body > strong,
.region-featured-body > small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-featured-body > strong {
  color: #18382e;
  font-size: 13px;
  font-weight: 950;
}

.region-featured-body > small {
  margin-top: 3px;
  color: #718078;
  font-size: 10px;
}

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

.region-featured-stats span {
  min-width: 0;
  color: #76827c;
  font-size: 8px;
  line-height: 1.25;
  text-align: center;
}

.region-featured-stats span + span {
  border-left: 1px solid #e5eae7;
}

.region-featured-stats b {
  display: block;
  color: #1c4436;
  font-size: 11px;
  font-weight: 950;
}

.region-featured-entry {
  position: absolute;
  right: 8px;
  bottom: 7px;
  display: inline-block;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #17805b;
  font-size: 10px;
  font-weight: 850;
}

.region-city-heat {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.region-heat-row {
  display: grid;
  grid-template-columns: 22px 42px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.region-heat-rank {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: #56645e;
  background: #edf1ee;
  font-size: 10px;
  font-weight: 900;
}

.region-heat-row:nth-child(1) .region-heat-rank {
  color: #775400;
  background: #fff0b7;
}

.region-heat-row:nth-child(2) .region-heat-rank {
  color: #53605c;
  background: #e6ebe9;
}

.region-heat-row:nth-child(3) .region-heat-rank {
  color: #7a523d;
  background: #f3ded2;
}

.region-heat-row strong {
  color: #263c34;
  font-size: 11px;
}

.region-heat-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ee;
}

.region-heat-row i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #86c9aa, #1d976a);
}

.region-heat-row em {
  color: #31473e;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-align: right;
}

.region-opportunity-card {
  display: grid;
  grid-template-columns: 37% minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  margin-top: 9px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7ece8;
  border-radius: 12px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.region-opportunity-media {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  background: #e5ede6;
}

.region-opportunity-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.region-opportunity-media span {
  position: absolute;
  left: 7px;
  bottom: 8px;
  padding: 5px 7px;
  border-radius: 7px;
  color: #fff;
  background: rgba(19, 125, 87, 0.92);
  font-size: 9px;
  font-weight: 900;
}

.region-opportunity-body {
  min-width: 0;
  padding: 10px;
}

.region-opportunity-body > strong {
  display: block;
  overflow: hidden;
  color: #173b2f;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-opportunity-body > p {
  margin: 4px 0 0;
  color: #708078;
  font-size: 10px;
}

.region-opportunity-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 9px;
}

.region-opportunity-facts span {
  color: #466155;
  font-size: 9px;
}

.region-opportunity-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.region-opportunity-footer > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px;
}

.region-opportunity-footer b {
  padding: 3px 5px;
  border-radius: 4px;
  color: #527564;
  background: #edf5ef;
  font-size: 8px;
  font-weight: 800;
}

.region-opportunity-footer > span {
  flex: 0 0 auto;
  display: inline-block;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #187f5a;
  font-size: 9px;
  font-weight: 900;
}

.group-package-view {
  background:
    radial-gradient(circle at 100% 0, rgba(120, 190, 154, 0.16), transparent 34%),
    #f3f7f4;
}

.group-package-head {
  background: rgba(248, 251, 249, 0.96);
}

.group-package-content {
  display: grid;
  gap: 12px;
  padding: 12px 12px 108px;
}

.group-package-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(26, 113, 78, 0.1);
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf6ef, #ffffff);
}

.group-package-summary > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: #187f5a;
  font-size: 18px;
  font-weight: 950;
}

.group-package-summary strong {
  display: block;
  color: #183c30;
  font-size: 13px;
}

.group-package-summary p {
  margin: 3px 0 0;
  color: #6d7e75;
  font-size: 9px;
  line-height: 1.5;
}

.group-package-summary > b {
  align-self: start;
  padding: 5px 7px;
  border-radius: 999px;
  color: #187f5a;
  background: rgba(24, 127, 90, 0.09);
  font-size: 9px;
  white-space: nowrap;
}

.group-package-list {
  display: grid;
  gap: 11px;
}

.group-package-card {
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(35, 78, 59, 0.11);
  border-radius: 14px;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(30, 78, 55, 0.06);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.group-package-card-media {
  position: relative;
  height: 126px;
  overflow: hidden;
  background: #dfeae3;
}

.group-package-card-media::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(7, 39, 27, 0.44));
  content: "";
}

.group-package-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.group-package-card-media span {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(20, 111, 78, 0.92);
  font-size: 9px;
  font-weight: 900;
}

.group-package-card-body {
  padding: 11px 12px 12px;
}

.group-package-card-heading,
.group-package-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.group-package-card-heading > span {
  overflow: hidden;
  color: #738279;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-package-card-heading > b {
  flex: 0 0 auto;
  color: #16875d;
  font-size: 10px;
}

.group-package-card-body > strong {
  display: block;
  margin-top: 5px;
  color: #183b2f;
  font-size: 15px;
  font-weight: 950;
}

.group-package-card-body > p {
  margin: 4px 0 0;
  color: #6c7d74;
  font-size: 10px;
}

.group-package-publishers {
  display: flex;
  min-width: 0;
  margin-top: 9px;
  padding: 7px 8px;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  background: #f1f7f3;
}

.group-package-publishers span {
  flex: 0 0 auto;
  padding: 3px 5px;
  border-radius: 5px;
  color: #087b56;
  background: #dff1e7;
  font-size: 8px;
  font-weight: 900;
}

.group-package-publishers p {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #53675d;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-package-card-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.group-package-card-facts span {
  min-width: 0;
  padding: 7px 4px;
  border-radius: 8px;
  color: #77857e;
  background: #f3f7f4;
  font-size: 8px;
  text-align: center;
}

.group-package-card-facts b {
  display: block;
  overflow: hidden;
  margin-bottom: 2px;
  color: #24483a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-package-card-footer {
  margin-top: 10px;
}

.group-package-card-footer > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 4px;
}

.group-package-card-footer i {
  padding: 3px 5px;
  border-radius: 5px;
  color: #41715b;
  background: #edf6f0;
  font-size: 8px;
  font-style: normal;
}

.group-package-card-footer > span {
  flex: 0 0 auto;
  color: #187f5a;
  font-size: 9px;
  font-weight: 900;
}

.group-package-card:hover,
.group-package-card:focus-visible {
  outline: none;
  border-color: rgba(24, 127, 90, 0.36);
  box-shadow: 0 10px 24px rgba(30, 95, 64, 0.11);
}

.group-package-card:hover .group-package-card-media img {
  transform: scale(1.025);
}

.group-package-basic dl {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
}

.group-package-basic dl > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #edf1ee;
}

.group-package-basic dl > div:last-child {
  border-bottom: 0;
}

.group-package-basic dt {
  color: #7a8881;
  font-size: 10px;
}

.group-package-basic dd {
  margin: 0;
  color: #263f34;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
}

.home-case-card {
  display: grid;
  width: 100%;
  grid-template-columns: 120px minmax(0, 1fr);
  min-width: 0;
  min-height: 120px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(45, 78, 62, 0.11);
  border-radius: 10px;
  color: #26372e;
  background: #ffffff;
  text-align: left;
  transition: background-color 180ms ease-out, transform 180ms ease-out;
}

.home-case-card > img {
  width: 120px;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.home-case-shade {
  display: none;
}

.home-case-copy {
  display: flex;
  min-width: 0;
  gap: 4px;
  padding: 11px 10px;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

.home-case-copy em {
  width: max-content;
  padding: 3px 5px;
  border-radius: 4px;
  color: #117a54;
  background: #e8f6ee;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.home-case-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #24382f;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-case-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #718078;
  font-size: 9px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-case-copy b {
  margin-top: auto;
  padding-top: 6px;
  color: #16875d;
  font-size: 11px;
}

.home-case-card:hover {
  background: #f6faf7;
}

.curated-list-view {
  background:
    radial-gradient(circle at 100% 0, rgba(79, 166, 124, 0.12), transparent 32%),
    #f4f7f5;
}

.curated-list-head {
  background: rgba(249, 251, 250, 0.97);
}

.curated-list-content {
  display: grid;
  gap: 11px;
  padding: 12px 12px 108px;
}

.curated-operator-card,
.curated-resource-card {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(31, 87, 61, 0.11);
  border-radius: 14px;
  color: inherit;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(31, 76, 55, 0.055);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.curated-operator-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

.curated-operator-logo {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid #a8dcc2;
  border-radius: 50%;
  color: #18865c;
  background: linear-gradient(145deg, #f5fff9, #e2f5ea);
  font-size: 18px;
  font-weight: 950;
}

.curated-operator-main {
  min-width: 0;
}

.curated-operator-main > div:first-child,
.curated-resource-card > div > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.curated-operator-main > div:first-child span,
.curated-resource-card > div > span:first-child em {
  color: #17865d;
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
}

.curated-operator-main > div:first-child em,
.curated-resource-card > div > span:first-child b {
  color: #6a7c73;
  font-size: 9px;
  font-style: normal;
}

.curated-operator-main > strong,
.curated-resource-card > div > strong {
  display: block;
  margin-top: 5px;
  color: #173a2e;
  font-size: 14px;
  font-weight: 950;
}

.curated-operator-main > p,
.curated-resource-card > div > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 4px 0 0;
  color: #6c7b74;
  font-size: 9px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.curated-tag-row,
.curated-sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.curated-tag-row {
  margin-top: 7px;
}

.curated-tag-row i,
.curated-sheet-tags span {
  padding: 3px 5px;
  border-radius: 5px;
  color: #347157;
  background: #ebf6ef;
  font-size: 8px;
  font-style: normal;
}

.curated-operator-main dl,
.curated-resource-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 9px 0 0;
}

.curated-operator-main dl > div,
.curated-resource-card dl > div {
  min-width: 0;
  padding: 6px 4px;
  border-radius: 7px;
  background: #f3f7f4;
  text-align: center;
}

.curated-operator-main dt,
.curated-resource-card dt {
  color: #829087;
  font-size: 7px;
}

.curated-operator-main dd,
.curated-resource-card dd {
  overflow: hidden;
  margin: 2px 0 0;
  color: #2e4b3e;
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curated-card-entry {
  display: block;
  margin-top: 9px;
  color: #17865d;
  font-size: 9px;
  font-weight: 900;
  text-align: right;
}

.curated-resource-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 11px;
  padding: 0;
  overflow: hidden;
}

.curated-resource-card > img {
  width: 126px;
  height: 100%;
  min-height: 174px;
  object-fit: cover;
}

.curated-resource-card > div {
  min-width: 0;
  padding: 11px 11px 11px 0;
}

.curated-resource-card > div > small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 9px;
  overflow: hidden;
  color: #7b8982;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curated-resource-card > div > small i {
  flex: 0 0 auto;
  color: #17865d;
  font-style: normal;
  font-weight: 900;
}

.curated-operator-card:hover,
.curated-operator-card:focus-visible,
.curated-resource-card:hover,
.curated-resource-card:focus-visible {
  outline: none;
  border-color: rgba(23, 134, 93, 0.34);
  box-shadow: 0 10px 24px rgba(31, 88, 61, 0.1);
}

.curated-case-list {
  display: grid;
  gap: 11px;
}

.curated-case-card {
  cursor: pointer;
}

.curated-detail-panel {
  max-height: min(88vh, 840px);
  padding-bottom: calc(22px + env(safe-area-inset-bottom));
}

.curated-detail-panel > [data-curated-operator-content],
.curated-detail-panel > [data-curated-resource-content] {
  display: grid;
  gap: 10px;
}

.curated-sheet-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, #eaf7ef, #f9fcfa);
}

.curated-sheet-hero > div:last-child {
  min-width: 0;
}

.curated-sheet-hero span {
  color: #16845b;
  font-size: 9px;
  font-weight: 850;
}

.curated-sheet-hero strong {
  display: block;
  margin-top: 3px;
  color: #173a2e;
  font-size: 16px;
  font-weight: 950;
}

.curated-sheet-hero p {
  margin: 4px 0 0;
  color: #6a7c73;
  font-size: 9px;
}

.curated-sheet-intro {
  margin: 0;
  color: #607169;
  font-size: 10px;
  line-height: 1.65;
}

.curated-sheet-section {
  padding: 12px;
  border: 1px solid #e7ede9;
  border-radius: 12px;
  background: #ffffff;
}

.curated-sheet-section > h3,
.curated-sheet-section-head h3 {
  margin: 0;
  color: #1d3d31;
  font-size: 12px;
}

.curated-sheet-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.curated-sheet-section-head > span {
  color: #17865d;
  font-size: 9px;
  font-weight: 850;
}

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

.curated-sheet-grid > div {
  padding: 8px;
  border-radius: 8px;
  background: #f3f7f4;
}

.curated-sheet-grid > .is-wide {
  grid-column: 1 / -1;
}

.curated-sheet-grid dt {
  color: #839087;
  font-size: 8px;
}

.curated-sheet-grid dd {
  margin: 3px 0 0;
  color: #2d493c;
  font-size: 9px;
  font-weight: 850;
}

.curated-sheet-case-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.curated-sheet-case-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 9px;
  overflow: hidden;
  border: 1px solid #e7ede9;
  border-radius: 9px;
}

.curated-sheet-case-list img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.curated-sheet-case-list article > div {
  min-width: 0;
  padding: 8px 8px 8px 0;
}

.curated-sheet-case-list strong,
.curated-sheet-case-list p,
.curated-sheet-case-list span,
.curated-sheet-case-list b {
  display: block;
}

.curated-sheet-case-list strong {
  color: #213f33;
  font-size: 10px;
}

.curated-sheet-case-list p {
  margin: 3px 0;
  color: #7a8881;
  font-size: 8px;
}

.curated-sheet-case-list span {
  color: #557064;
  font-size: 8px;
}

.curated-sheet-case-list b {
  margin-top: 5px;
  color: #16845b;
  font-size: 9px;
}

.curated-resource-hero {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-radius: 13px;
  background: #dfebe4;
}

.curated-resource-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curated-resource-hero span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18, 115, 78, 0.92);
  font-size: 9px;
  font-weight: 900;
}

.curated-valuation > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.curated-valuation span {
  color: #66776e;
  font-size: 9px;
}

.curated-valuation strong {
  color: #14845a;
  font-size: 18px;
}

.curated-valuation em {
  color: #d88c24;
  font-size: 9px;
  font-style: normal;
}

.curated-valuation p {
  margin: 5px 0 0;
  color: #819087;
  font-size: 8px;
}

.curated-sheet-action {
  width: 100%;
  min-height: 42px;
}

.region-activity-list {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.region-activity-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  width: 100%;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #e8ede9;
  border-radius: 10px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.region-activity-item time {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #1d6f52;
  background: #edf7f0;
  font-size: 12px;
  font-weight: 950;
}

.region-activity-item div {
  min-width: 0;
}

.region-activity-item strong,
.region-activity-item p {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-activity-item strong {
  color: #203c31;
  font-size: 11px;
  font-weight: 900;
}

.region-activity-item p {
  margin: 4px 0 0;
  color: #748078;
  font-size: 9px;
}

.region-activity-item > span:last-child {
  display: inline-block;
  padding: 6px 8px;
  border: 1px solid #17805b;
  border-radius: 999px;
  color: #17805b;
  background: #fff;
  font-size: 9px;
  font-weight: 900;
}

.region-overview-item:hover,
.region-overview-item:focus-visible,
.region-featured-card:hover,
.region-featured-card:focus-visible,
.region-opportunity-card:hover,
.region-opportunity-card:focus-visible,
.region-activity-item:hover,
.region-activity-item:focus-visible {
  outline: none;
  border-color: rgba(23, 128, 91, 0.34);
  box-shadow: 0 6px 18px rgba(23, 92, 64, 0.1);
}

@media (max-width: 390px) {
  .region-overview-item {
    display: block;
    padding: 0 3px;
    text-align: center;
  }

  .region-overview-icon {
    margin: 0 auto 5px;
  }

  .region-featured-list {
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .region-featured-card {
    scroll-snap-align: start;
  }

  .region-opportunity-card {
    grid-template-columns: 34% minmax(0, 1fr);
  }
}

/* 底部金刚区：凸起工作台主入口 */
.tabbar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(72px + env(safe-area-inset-bottom));
  min-height: 72px;
  overflow: visible;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(31, 64, 49, 0.07);
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.985);
  box-shadow:
    0 -7px 22px rgba(28, 63, 46, 0.07),
    0 -1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tabbar.is-guest {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tab {
  position: relative;
  min-height: 54px;
  padding: 2px 0 0;
  border: 0;
  gap: 4px;
  color: #4d5651;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.tab img {
  width: 21px;
  height: 21px;
  opacity: 0.82;
  object-fit: contain;
  transition: opacity 160ms ease, transform 160ms ease;
}

.tab span {
  white-space: nowrap;
}

.tab.is-active:not(.is-workbench) {
  color: #176b45;
}

.tab.is-active:not(.is-workbench) img {
  opacity: 1;
  transform: translateY(-1px);
}

.tab.is-workbench {
  position: relative;
  align-self: start;
  min-height: 68px;
  margin-top: -17px;
  padding: 0;
  overflow: visible;
  color: #fff;
}

.workbench-chart-icon {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  place-items: center;
  border: 4px solid #f4fbf7;
  border-radius: 50%;
  background: #28794e;
  box-shadow:
    0 0 0 3px rgba(207, 236, 218, 0.92),
    0 8px 18px rgba(31, 107, 68, 0.24);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.workbench-chart-icon::before {
  display: none;
}

.workbench-chart-icon i {
  position: relative;
  width: 21px;
  height: 15px;
  margin-top: -13px;
  border: 2px solid #fff;
  border-radius: 3px;
  background: transparent;
}

.workbench-chart-icon i::before {
  position: absolute;
  left: 50%;
  top: -7px;
  width: 9px;
  height: 5px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  content: "";
  transform: translateX(-50%);
}

.workbench-chart-icon i::after {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 3px;
  border-radius: 1px;
  content: "";
  background: #fff;
  transform: translateX(-50%);
}

.tab.is-workbench > span:last-child {
  position: absolute;
  z-index: 2;
  top: 39px;
  left: 50%;
  margin: 0;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: translateX(-50%);
}

.tab.is-workbench:hover .workbench-chart-icon,
.tab.is-workbench:focus-visible .workbench-chart-icon,
.tab.is-workbench.is-active .workbench-chart-icon {
  background: #176b45;
  box-shadow:
    0 0 0 3px rgba(207, 236, 218, 0.96),
    0 10px 22px rgba(25, 101, 62, 0.3);
}

.tab.is-workbench:active .workbench-chart-icon {
  transform: translateY(1px) scale(0.98);
}

@media (max-width: 374px) {
  .tabbar {
    padding-right: 3px;
    padding-left: 3px;
  }

  .workbench-chart-icon {
    width: 58px;
    height: 58px;
  }

  .tab.is-workbench > span:last-child {
    top: 36px;
  }
}

/* 组团片区下钻抽屉 */
.city-overview-panel,
.region-drill-panel {
  max-height: min(88dvh, 720px);
  overflow-y: auto;
}

.city-overview-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-list-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 14px;
  padding: 4px;
  border-radius: 9px;
  background: #eef4f0;
}

.city-list-tabs button {
  min-width: 0;
  padding: 8px 3px;
  border: 0;
  border-radius: 7px;
  color: #68776f;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.city-list-tabs button.is-active {
  color: #176e4a;
  background: #fff;
  box-shadow: 0 3px 9px rgba(28, 83, 57, 0.09);
}

.city-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 2px 7px;
}

.city-list-head strong {
  color: #1f3d31;
  font-size: 14px;
}

.city-list-head span {
  color: #77847d;
  font-size: 10px;
}

.city-drill-list {
  overflow: hidden;
  border: 1px solid #e7ece9;
  border-radius: 10px;
}

.city-drill-list article {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr) minmax(74px, 34%);
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #fff;
}

.city-drill-list article + article {
  border-top: 1px solid #edf1ee;
}

.city-drill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #239667;
}

.city-drill-list div {
  min-width: 0;
}

.city-drill-list strong,
.city-drill-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-drill-list strong {
  color: #253d33;
  font-size: 11px;
}

.city-drill-list small {
  margin-top: 4px;
  color: #78857e;
  font-size: 9px;
}

.city-drill-list em {
  color: #527164;
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
  text-align: right;
}

.province-metric-total {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  color: #4e685d;
  background: #edf7f0;
}

.province-metric-total span {
  margin-right: auto;
  font-size: 11px;
  font-weight: 800;
}

.province-metric-total strong {
  color: #14734e;
  font-size: 25px;
  font-weight: 950;
}

.province-metric-total small {
  font-size: 10px;
}

.city-list-caption {
  margin: 10px 2px;
  color: #718078;
  font-size: 10px;
  line-height: 1.55;
}

.province-city-metric-list {
  display: grid;
  gap: 6px;
}

.province-city-metric-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e7ede9;
  border-radius: 9px;
  color: inherit;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.province-city-metric-list strong {
  color: #263e34;
  font-size: 12px;
}

.province-city-metric-list span {
  color: #167c55;
  font-size: 10px;
  font-weight: 850;
}

.province-city-metric-list i {
  color: #91a099;
  font-size: 16px;
  font-style: normal;
}

.region-drill-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.region-drill-heading span {
  display: block;
  margin-bottom: 4px;
  color: #168059;
  font-size: 10px;
  font-weight: 900;
}

.region-drill-heading h2,
.sheet-panel .region-drill-heading h2 {
  margin: 0 0 9px;
  font-size: 19px;
}

.region-drill-heading button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 8px;
  color: #526059;
  background: #eff4f1;
  cursor: pointer;
  font-size: 21px;
}

.region-drill-hero {
  display: block;
  width: 100%;
  height: 170px;
  margin-top: 4px;
  border-radius: 12px;
  object-fit: cover;
}

.region-detail-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.region-detail-meta span {
  color: #6e7c75;
  font-size: 10px;
}

.region-detail-meta b {
  padding: 5px 7px;
  border-radius: 999px;
  color: #16764f;
  background: #eaf6ee;
  font-size: 9px;
}

.region-detail-intro {
  margin: 10px 0 0;
  color: #53645c;
  font-size: 11px;
  line-height: 1.7;
}

.region-detail-stats,
.group-plan-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  padding: 11px 0;
  border-top: 1px solid #e9eeeb;
  border-bottom: 1px solid #e9eeeb;
}

.region-detail-stats div,
.group-plan-facts div {
  min-width: 0;
  text-align: center;
}

.region-detail-stats div + div,
.group-plan-facts div + div {
  border-left: 1px solid #e6ece8;
}

.region-detail-stats strong,
.region-detail-stats span,
.group-plan-facts strong,
.group-plan-facts span {
  display: block;
}

.region-detail-stats strong,
.group-plan-facts strong {
  color: #176f4c;
  font-size: 16px;
  font-weight: 950;
}

.region-detail-stats span,
.group-plan-facts span {
  margin-bottom: 4px;
  color: #77847d;
  font-size: 9px;
}

.region-detail-section {
  padding: 13px 0;
  border-bottom: 1px solid #e9eeeb;
}

.region-detail-section h3,
.activity-registration-box h3 {
  margin: 0 0 8px;
  color: #203d31;
  font-size: 13px;
}

.region-detail-tags,
.region-detail-structure {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.region-detail-tags span,
.region-detail-structure span {
  padding: 6px 8px;
  border-radius: 6px;
  color: #37705a;
  background: #edf6f0;
  font-size: 9px;
  font-weight: 750;
}

.region-detail-structure span {
  color: #53655c;
  background: #f2f5f3;
}

.group-plan-list,
.group-plan-timeline {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-plan-list li,
.group-plan-timeline li {
  position: relative;
  padding-left: 17px;
  color: #53635b;
  font-size: 10px;
  line-height: 1.55;
}

.group-plan-list li::before,
.group-plan-timeline li::before {
  position: absolute;
  left: 1px;
  top: 5px;
  width: 7px;
  height: 7px;
  border: 2px solid #bfe3cd;
  border-radius: 50%;
  content: "";
  background: #218d62;
}

.region-drill-primary {
  width: 100%;
  margin-top: 14px;
  border-radius: 9px;
}

.region-drill-primary.is-complete,
.region-drill-primary:disabled {
  color: #5b6d64;
  background: #e5eee9;
  cursor: default;
}

.activity-detail-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #edf7f0;
}

.activity-detail-status span {
  color: #137a53;
  font-size: 11px;
  font-weight: 900;
}

.activity-detail-status b {
  color: #607169;
  font-size: 9px;
}

.activity-detail-facts {
  margin: 12px 0 0;
  border-top: 1px solid #e8eeea;
}

.activity-detail-facts div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 2px;
  border-bottom: 1px solid #e8eeea;
}

.activity-detail-facts dt {
  color: #7a867f;
  font-size: 10px;
}

.activity-detail-facts dd {
  margin: 0;
  color: #354b41;
  font-size: 10px;
  line-height: 1.45;
}

.activity-registration-box {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dcebe2;
  border-radius: 10px;
  background: #f4faf6;
}

.activity-registration-box p,
.activity-registration-box small {
  display: block;
  margin: 0;
  color: #4f6359;
  font-size: 10px;
  line-height: 1.65;
}

.activity-registration-box small {
  margin-top: 7px;
  color: #78867e;
}

/* 运营企业：补充运营方案弹窗 */
.operator-plan-panel {
  max-height: min(84dvh, 680px);
  overflow-y: auto;
}

.operator-applications-panel {
  max-height: min(88dvh, 720px);
  overflow-y: auto;
}

.operator-applications-panel .sheet-copy {
  margin: -3px 0 12px;
  color: #6e7d75;
  font-size: 10px;
  line-height: 1.6;
}

.operator-application-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 11px;
}

.operator-application-summary > div {
  min-width: 0;
  padding: 10px 4px;
  border: 1px solid #e3eee8;
  border-radius: 10px;
  background: #f3f8f5;
  text-align: center;
}

.operator-application-summary strong,
.operator-application-summary span {
  display: block;
}

.operator-application-summary strong {
  color: #126f4d;
  font-size: 16px;
  line-height: 1.1;
}

.operator-application-summary span {
  margin-top: 4px;
  overflow: hidden;
  color: #728078;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.operator-application-card {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 11px;
  border: 1px solid #e2ece6;
  border-radius: 12px;
  color: #263a30;
  background: #fff;
  box-shadow: 0 5px 16px rgba(25, 64, 46, 0.05);
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

.operator-application-card:active {
  border-color: rgba(24, 142, 97, 0.45);
  transform: scale(0.985);
}

.operator-application-card.is-approved {
  border-color: #cce7da;
  background: #f5fbf8;
}

.operator-application-card.is-approved .operator-application-foot b {
  color: #087b56;
  background: #dff3e9;
}

.operator-application-logo {
  display: grid;
  width: 43px;
  height: 43px;
  border: 1px solid #bce2ce;
  border-radius: 13px;
  color: #158159;
  background: #eff8f3;
  font-size: 17px;
  font-weight: 900;
  place-items: center;
}

.operator-application-main,
.operator-application-title,
.operator-application-tags,
.operator-application-resource,
.operator-application-note,
.operator-application-foot {
  min-width: 0;
}

.operator-application-main {
  display: block;
}

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

.operator-application-title strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-application-title em {
  flex: 0 0 auto;
  color: #158159;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.operator-application-tags {
  display: flex;
  gap: 5px;
  margin-top: 6px;
}

.operator-application-tags i {
  padding: 3px 6px;
  border-radius: 999px;
  color: #287556;
  background: #eaf5ee;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.operator-application-resource,
.operator-application-note {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.45;
}

.operator-application-resource {
  color: #344c40;
  font-weight: 800;
}

.operator-application-note {
  color: #77847d;
}

.operator-application-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #edf1ef;
}

.operator-application-foot small {
  margin-right: auto;
  color: #8a958f;
  font-size: 8px;
}

.operator-application-foot b {
  padding: 3px 6px;
  border-radius: 999px;
  color: #d17a17;
  background: #fff3df;
  font-size: 8px;
}

.operator-application-foot i {
  color: #167a55;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.operator-plan-form {
  display: grid;
  gap: 12px;
}

.operator-plan-resource-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  border: 1px solid #e4ece7;
  border-radius: 11px;
  background: #f8faf8;
}

.operator-plan-resource-card > img {
  width: 108px;
  height: 94px;
  border-radius: 8px;
  object-fit: cover;
}

.operator-plan-resource-card > div {
  min-width: 0;
}

.operator-plan-resource-card span {
  color: #16805a;
  font-size: 9px;
  font-weight: 900;
}

.operator-plan-resource-card h3 {
  margin: 5px 0 0;
  overflow: hidden;
  color: #213a30;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-plan-resource-card p {
  margin: 5px 0 0;
  overflow: hidden;
  color: #6f7e76;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-plan-resource-card > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.operator-plan-resource-card b {
  padding: 3px 5px;
  border-radius: 4px;
  color: #39735a;
  background: #e8f4ec;
  font-size: 8px;
}

.operator-plan-intro {
  padding: 12px;
  border: 1px solid #e5ece8;
  border-radius: 11px;
  background: #fff;
}

.operator-plan-intro h3,
.operator-plan-upload h3 {
  margin: 0;
  color: #203d31;
  font-size: 13px;
}

.operator-plan-intro > p {
  margin: 7px 0 0;
  color: #52645b;
  font-size: 10px;
  line-height: 1.7;
}

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

.operator-plan-intro dl div {
  padding: 8px;
  border-radius: 7px;
  background: #f2f7f4;
}

.operator-plan-intro dt {
  color: #78867f;
  font-size: 8px;
}

.operator-plan-intro dd {
  margin: 4px 0 0;
  color: #2f4c3e;
  font-size: 10px;
  font-weight: 850;
}

.operator-plan-upload {
  padding: 12px;
  border: 1px solid #dce8e1;
  border-radius: 11px;
  background: #f7fbf8;
}

.operator-plan-upload-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.operator-plan-upload-head p {
  margin: 5px 0 0;
  color: #7a8780;
  font-size: 9px;
  line-height: 1.5;
}

.operator-plan-upload-head > span {
  flex: 0 0 auto;
  padding: 4px 6px;
  border-radius: 999px;
  color: #8a6221;
  background: #fff4d8;
  font-size: 8px;
  font-weight: 850;
}

.operator-plan-dropzone {
  position: relative;
  display: grid;
  min-height: 106px;
  place-items: center;
  align-content: center;
  gap: 5px;
  margin-top: 10px;
  padding: 12px;
  border: 1px dashed #9fcbb5;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  text-align: center;
}

.operator-plan-file-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #20845e;
  font-size: 11px;
  font-weight: 900;
}

.operator-plan-dropzone strong {
  color: #246b50;
  font-size: 11px;
}

.operator-plan-dropzone small {
  max-width: 100%;
  overflow: hidden;
  color: #839089;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operator-plan-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.operator-plan-actions {
  margin-top: 0;
}

.operator-plan-actions button {
  min-height: 38px;
  border-radius: 8px;
}

@media (max-width: 374px) {
  .operator-plan-resource-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .operator-plan-resource-card > img {
    width: 88px;
  }
}

/* Complete drill-down pages */
.drill-list-view,
.match-explain-view,
.cooperation-progress-view,
.capability-profile-view,
.certification-view,
.case-management-view,
.alliance-case-detail-view,
.help-center-view,
.legal-detail-view {
  background: var(--page-bg);
}

.drill-page-search {
  margin: 0 16px 12px;
}

.drill-page-content {
  padding: 0 16px 104px;
}

.drill-page-empty {
  padding: 44px 24px;
  text-align: center;
  color: #6f7e76;
}

.drill-page-empty span {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: #147a55;
  background: #e7f3eb;
  font-size: 20px;
  font-weight: 900;
}

.drill-page-empty strong,
.drill-page-empty p {
  display: block;
}

.drill-page-empty strong {
  color: #233c32;
  font-size: 15px;
}

.drill-page-empty p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.65;
}

.drill-section {
  margin-top: 14px;
}

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

.drill-section-head h3,
.drill-section-head p {
  margin: 0;
}

.drill-section-head h3 {
  color: #1d352b;
  font-size: 15px;
  font-weight: 900;
}

.drill-section-head p,
.drill-section-head span {
  color: #77847e;
  font-size: 10px;
}

.search-result-list {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.search-result-item {
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.search-result-item + .search-result-item {
  border-top: 1px solid #edf1ee;
}

.search-result-item > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #147a55;
  background: #eaf5ee;
  font-size: 13px;
  font-weight: 900;
}

.search-result-item > span:first-child.is-policy {
  color: #a96519;
  background: #fbf0df;
}

.search-result-item > span:first-child.is-subject {
  color: #356ab5;
  background: #eaf1fb;
}

.search-result-item strong,
.search-result-item small {
  display: block;
}

.search-result-item strong {
  overflow: hidden;
  color: #20372d;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item small {
  overflow: hidden;
  margin-top: 4px;
  color: #75827c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item > i {
  color: #9aa69f;
  font-style: normal;
}

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

.topic-page-card {
  display: grid;
  width: 100%;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: inherit;
  background: #fff;
  text-align: left;
}

.topic-page-card img {
  width: 112px;
  height: 94px;
  border-radius: 10px;
  object-fit: cover;
}

.topic-page-card span,
.topic-page-card strong,
.topic-page-card small,
.topic-page-card p {
  display: block;
}

.topic-page-card span {
  min-width: 0;
}

.topic-page-card strong {
  color: #21392e;
  font-size: 14px;
  line-height: 1.35;
}

.topic-page-card small {
  margin-top: 4px;
  color: #16875d;
  font-size: 10px;
  font-weight: 800;
}

.topic-page-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: #6a7871;
  font-size: 10px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.match-score-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  background: #176f4c;
}

.match-score-summary strong {
  font-size: 36px;
  line-height: 1;
}

.match-score-summary strong small {
  font-size: 13px;
}

.match-score-summary div span,
.match-score-summary div b {
  display: block;
}

.match-score-summary div b {
  margin-top: 4px;
  font-size: 13px;
}

.match-score-summary div span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.5;
}

.match-dimension-group {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.match-dimension-group h3 {
  margin: 0 0 4px;
  color: #20382d;
  font-size: 13px;
}

.match-dimension-group > p {
  margin: 0 0 12px;
  color: #77847e;
  font-size: 10px;
  line-height: 1.55;
}

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

.match-dimension-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 8px;
}

.match-dimension-item span,
.match-dimension-item b {
  color: #53645b;
  font-size: 10px;
}

.match-dimension-item b {
  color: #176f4c;
  text-align: right;
}

.match-dimension-item i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eee9;
}

.match-dimension-item i::before {
  display: block;
  width: var(--dimension-score);
  height: 100%;
  border-radius: inherit;
  content: "";
  background: #239467;
}

.match-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  color: #506259;
  background: #eaf5ee;
  font-size: 10px;
  line-height: 1.65;
}

.drill-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 16px 10px;
  scrollbar-width: none;
}

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

.drill-filter-row button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  color: #68776f;
  background: #e9efeb;
  font-size: 10px;
  font-weight: 800;
}

.drill-filter-row button.is-active {
  color: #fff;
  background: #16875d;
}

.cooperation-list {
  display: grid;
  gap: 11px;
}

.cooperation-card {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.cooperation-card-head,
.cooperation-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cooperation-card-head strong {
  color: #20382e;
  font-size: 13px;
}

.cooperation-card-head span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #147a55;
  background: #e7f3eb;
  font-size: 9px;
  font-weight: 850;
}

.cooperation-card p {
  margin: 7px 0 11px;
  color: #6f7d76;
  font-size: 10px;
  line-height: 1.55;
}

.cooperation-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 12px;
}

.cooperation-steps span {
  position: relative;
  padding-top: 14px;
  color: #8a9690;
  font-size: 8px;
  text-align: center;
}

.cooperation-steps span::before,
.cooperation-steps span::after {
  position: absolute;
  top: 4px;
  content: "";
}

.cooperation-steps span::before {
  left: calc(50% - 4px);
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8e2dc;
}

.cooperation-steps span::after {
  left: 0;
  width: 100%;
  height: 2px;
  background: #d8e2dc;
}

.cooperation-steps span:first-child::after {
  left: 50%;
  width: 50%;
}

.cooperation-steps span:last-child::after {
  width: 50%;
}

.cooperation-steps span.is-done,
.cooperation-steps span.is-current {
  color: #176f4c;
  font-weight: 800;
}

.cooperation-steps span.is-done::before,
.cooperation-steps span.is-current::before,
.cooperation-steps span.is-done::after {
  background: #269668;
}

.cooperation-card-foot small {
  color: #829089;
  font-size: 9px;
}

.cooperation-card-foot button {
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: #16875d;
  font-size: 9px;
  font-weight: 850;
}

.capability-summary {
  padding: 17px;
  border-radius: 14px;
  color: #fff;
  background: #176f4c;
}

.capability-summary > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.capability-summary strong {
  font-size: 32px;
}

.capability-summary strong small {
  font-size: 12px;
}

.capability-summary span {
  font-size: 10px;
}

.capability-summary > i {
  display: block;
  height: 7px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.capability-summary > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.capability-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  line-height: 1.6;
}

.capability-section,
.case-management-card,
.case-detail-section,
.help-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
}

.capability-section h3,
.case-detail-section h3,
.help-panel h3 {
  margin: 0 0 11px;
  color: #20382e;
  font-size: 13px;
}

.capability-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.capability-facts div {
  padding: 10px;
  border-radius: 9px;
  background: #f1f6f3;
}

.capability-facts span,
.capability-facts strong {
  display: block;
}

.capability-facts span {
  color: #7a8780;
  font-size: 9px;
}

.capability-facts strong {
  margin-top: 4px;
  color: #2d463a;
  font-size: 11px;
}

.capability-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.capability-tag-list span {
  padding: 6px 8px;
  border-radius: 7px;
  color: #176f4c;
  background: #e8f4ec;
  font-size: 9px;
  font-weight: 750;
}

.capability-edit {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  background: #16875d;
  font-size: 12px;
  font-weight: 900;
}

/* Role certification */
.certification-page-head {
  align-items: center;
}

.certification-content {
  display: grid;
  gap: 12px;
  padding: 0 16px 108px;
}

.certification-status {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-radius: 14px;
  color: #effbf4;
  background: #124e3a;
}

.certification-status.is-pending {
  color: #412a07;
  background: #f7e6bd;
}

.certification-status.is-rejected {
  color: #5d211d;
  background: #f6d8d4;
}

.certification-status.is-draft {
  color: #263b32;
  background: #e8eeea;
}

.certification-role-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.14);
  font-size: 19px;
  font-weight: 900;
}

.certification-status small,
.certification-status strong,
.certification-status p,
.certification-status time {
  display: block;
}

.certification-status small {
  opacity: 0.72;
  font-size: 10px;
}

.certification-status strong {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 900;
}

.certification-status p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.certification-status time {
  grid-column: 2;
  opacity: 0.72;
  font-size: 9px;
}

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

.certification-section {
  padding: 15px;
  border: 1px solid #e1e9e4;
  border-radius: 14px;
  background: #ffffff;
}

.certification-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.certification-section-head h3,
.certification-section-head p {
  margin: 0;
}

.certification-section-head h3 {
  color: #18392d;
  font-size: 15px;
}

.certification-section-head p {
  margin-top: 4px;
  color: #66776f;
  font-size: 10px;
}

.certification-section-head > span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #116b4b;
  background: #e9f5ee;
  font-size: 9px;
  font-weight: 800;
}

.certification-field-list,
.certification-upload-list {
  display: grid;
  gap: 11px;
}

.certification-field {
  display: grid;
  gap: 6px;
}

.certification-field > span {
  color: #35463f;
  font-size: 11px;
  font-weight: 800;
}

.certification-field em,
.certification-upload em {
  margin-left: 3px;
  color: #d54c3e;
  font-style: normal;
}

.certification-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe5df;
  border-radius: 9px;
  color: #17362b;
  background: #fbfdfc;
  font-size: 13px;
}

.certification-field input::placeholder {
  color: #737f79;
}

.certification-field > small {
  color: #69786f;
  font-size: 9px;
}

.certification-upload {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px;
  border: 1px dashed #b9cdc1;
  border-radius: 10px;
  background: #f8fbf9;
  cursor: pointer;
}

.certification-upload.has-file {
  border-style: solid;
  border-color: #90bda6;
  background: #f1f8f4;
}

.certification-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.certification-file-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  color: #11704e;
  background: #e4f2e9;
  font-size: 14px;
  font-weight: 900;
}

.certification-upload strong,
.certification-upload small {
  display: block;
}

.certification-upload strong {
  color: #243c32;
  font-size: 11px;
}

.certification-upload small {
  overflow: hidden;
  margin-top: 4px;
  color: #63746b;
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.certification-upload > b {
  padding: 6px 9px;
  border-radius: 7px;
  color: #ffffff;
  background: #16875d;
  font-size: 10px;
}

.certification-privacy-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  color: #43564d;
  background: #edf3ef;
}

.certification-privacy-note > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #176f50;
  background: #dcebe2;
  font-size: 11px;
  font-weight: 900;
}

.certification-privacy-note p,
.certification-privacy-note strong {
  display: block;
  margin: 0;
}

.certification-privacy-note p {
  font-size: 10px;
  line-height: 1.55;
}

.certification-privacy-note strong {
  margin-bottom: 2px;
  color: #243d32;
  font-size: 11px;
}

.certification-submit-bar {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
}

.certification-submit-bar button {
  min-height: 46px;
  border-radius: 10px;
}

.case-management-list {
  display: grid;
  gap: 11px;
}

.case-management-card {
  margin-top: 0;
}

.case-management-card > div:first-child {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.case-management-card strong {
  color: #223a30;
  font-size: 13px;
}

.case-management-card em {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: #147a55;
  background: #e7f3eb;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.case-management-card p {
  margin: 7px 0 10px;
  color: #6d7b74;
  font-size: 10px;
  line-height: 1.55;
}

.case-management-card button {
  padding: 7px 10px;
  border-radius: 8px;
  color: #176f4c;
  background: #eaf5ee;
  font-size: 9px;
  font-weight: 850;
}

.case-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #dce8e1;
}

.case-detail-hero img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.case-detail-hero-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 14px 14px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(12, 42, 30, 0.9));
}

.case-detail-hero-copy strong,
.case-detail-hero-copy span {
  display: block;
}

.case-detail-hero-copy strong {
  font-size: 17px;
}

.case-detail-hero-copy span {
  margin-top: 4px;
  font-size: 10px;
}

.case-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  color: #174d39;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(20, 62, 45, 0.14);
  font-size: 24px;
  line-height: 1;
  place-items: center;
  transform: translateY(-50%);
}

.case-carousel-arrow.is-prev {
  left: 9px;
}

.case-carousel-arrow.is-next {
  right: 9px;
}

.case-carousel-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 52, 37, 0.68);
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(5px);
}

.case-carousel-meta {
  display: grid;
  gap: 6px;
  padding: 8px 3px 0;
  text-align: center;
}

.case-carousel-meta p {
  margin: 0;
  color: #6a7971;
  font-size: 9px;
  line-height: 1.45;
}

.case-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.case-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  background: #c8d8d0;
  transition: width 160ms ease, background 160ms ease;
}

.case-carousel-dots button.is-active {
  width: 18px;
  background: #198c61;
}

.case-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case-section-heading h3 {
  margin: 0;
}

.case-section-heading > span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  color: #147a55;
  background: #e9f5ee;
  font-size: 9px;
  font-weight: 800;
}

.case-detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 12px 0 0;
  border: 1px solid #e5eee9;
  border-radius: 10px;
  background: #e5eee9;
}

.case-detail-facts div {
  min-width: 0;
  padding: 9px 10px;
  background: #f8fbf9;
}

.case-detail-facts dt,
.case-detail-facts dd {
  margin: 0;
}

.case-detail-facts dt {
  color: #7a8981;
  font-size: 8px;
}

.case-detail-facts dd {
  overflow: hidden;
  margin-top: 4px;
  color: #2d453a;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.case-detail-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.case-detail-result div {
  padding: 11px;
  border-radius: 9px;
  background: #edf6f0;
}

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

.case-detail-result span {
  color: #6e7d75;
  font-size: 9px;
}

.case-detail-result strong {
  margin-top: 4px;
  color: #176f4c;
  font-size: 13px;
}

.case-detail-result small {
  display: block;
  margin-top: 4px;
  color: #839087;
  font-size: 8px;
  line-height: 1.4;
}

.case-detail-metric-grid div {
  min-height: 72px;
}

.case-detail-copy {
  margin: 0;
  color: #56675e;
  font-size: 11px;
  line-height: 1.75;
}

.case-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-timeline::before {
  position: absolute;
  top: 9px;
  bottom: 16px;
  left: 52px;
  width: 1px;
  background: #cfe4d8;
  content: "";
}

.case-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 0 0 12px;
}

.case-timeline li:last-child {
  padding-bottom: 0;
}

.case-timeline li::before {
  position: absolute;
  top: 5px;
  left: 49px;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #1a9366;
  box-shadow: 0 0 0 1px #b9ddca;
  content: "";
}

.case-timeline time {
  padding-top: 2px;
  color: #16815b;
  font-size: 9px;
  font-weight: 850;
}

.case-timeline strong {
  display: block;
  color: #2c4438;
  font-size: 10px;
}

.case-timeline p {
  margin: 3px 0 0;
  color: #718078;
  font-size: 9px;
  line-height: 1.5;
}

.case-impact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-impact-list li {
  position: relative;
  padding: 9px 10px 9px 28px;
  border-radius: 9px;
  color: #4e6358;
  background: #f2f8f4;
  font-size: 10px;
  line-height: 1.5;
}

.case-impact-list li::before {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  color: #fff;
  background: #1c9367;
  content: "✓";
  font-size: 8px;
  font-weight: 900;
  place-items: center;
}

.help-panel details {
  border-top: 1px solid #ebf0ed;
}

.help-panel details:first-of-type {
  border-top: 0;
}

.help-panel summary {
  padding: 11px 0;
  color: #2d4339;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.help-panel details p {
  margin: -3px 0 12px;
  color: #68776f;
  font-size: 10px;
  line-height: 1.7;
}

.help-contact-list {
  display: grid;
  gap: 8px;
}

.help-contact-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 9px;
  background: #f1f6f3;
}

.help-contact-list span,
.help-contact-list strong {
  font-size: 10px;
}

.help-contact-list span {
  color: #78867f;
}

.help-contact-list strong {
  color: #2d4439;
}

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

.feedback-form label {
  color: #506159;
  font-size: 10px;
  font-weight: 750;
}

.feedback-form textarea,
.feedback-form input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #dce5e0;
  border-radius: 9px;
  color: #253c32;
  background: #fff;
}

.feedback-form textarea {
  min-height: 110px;
  padding: 11px;
  resize: vertical;
}

.feedback-form input {
  height: 42px;
  padding: 0 11px;
}

.feedback-form button {
  padding: 12px;
  border-radius: 9px;
  color: #fff;
  background: #16875d;
  font-size: 11px;
  font-weight: 900;
}

.legal-article {
  color: #4e6157;
  font-size: 11px;
  line-height: 1.85;
}

.legal-article h3 {
  margin: 18px 0 7px;
  color: #213a2f;
  font-size: 14px;
}

.legal-article p,
.legal-article ul {
  margin: 0 0 10px;
}

.legal-article ul {
  padding-left: 19px;
}

@media (prefers-reduced-motion: reduce) {
  .match-dimension-item i::before,
  .cooperation-steps span::before,
  .cooperation-steps span::after {
    transition: none;
  }
}

/* 2026-07 workbench swipe carousels and centered mobile headings */
.workbench-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.workbench-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.workbench-carousel-track {
  display: flex;
  width: 100%;
}

.workbench-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.workbench-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.workbench-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 180ms ease, background 180ms ease;
}

.workbench-carousel-dots button.is-active {
  width: 16px;
  background: #ffffff;
}

.village-match-viewport {
  margin-top: 2px;
}

.village-match-slide {
  padding-right: 1px;
}

.village-match-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
}

.village-match-foot > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.village-match-foot b {
  min-width: 28px;
  margin-left: 0;
  text-align: right;
}

.operator-match-viewport,
.operator-match-slide {
  height: 236px;
}

.operator-match-pager {
  gap: 8px;
}

.operator-match-pager .workbench-carousel-dots {
  gap: 4px;
}

.operator-match-pager .workbench-carousel-dots button {
  width: 5px;
  height: 5px;
}

.operator-match-pager .workbench-carousel-dots button.is-active {
  width: 13px;
}

/* Keep secondary-page titles on the true screen center, independent of side actions. */
.page-head:not(.workbench-page-head) {
  position: relative;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  padding-inline: 58px;
  text-align: center;
}

.page-head:not(.workbench-page-head) > div {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.page-head:not(.workbench-page-head) h2,
.page-head:not(.workbench-page-head) p {
  margin-inline: auto;
  text-align: center;
}

.page-head:not(.workbench-page-head) > .back-action {
  position: absolute;
  top: 50%;
  left: 10px;
  margin: 0;
  transform: translateY(-50%);
}

.page-head:not(.workbench-page-head) > .page-head-action:not([hidden]),
.page-head:not(.workbench-page-head) > .message-read-all,
.page-head:not(.workbench-page-head) > .detail-head-status,
.page-head:not(.workbench-page-head) > .draft-status {
  position: absolute;
  top: 50%;
  right: 12px;
  margin: 0;
  transform: translateY(-50%);
}

.page-head:not(.workbench-page-head):has(> .page-head-action:not([hidden])),
.page-head:not(.workbench-page-head):has(> .message-read-all),
.page-head:not(.workbench-page-head):has(> .detail-head-status),
.page-head:not(.workbench-page-head):has(> .draft-status) {
  padding-inline: 92px;
}

.compact-page-head {
  padding-block: 10px 15px;
}

/* Drawer headings share the same center line while close controls remain thumb-reachable. */
:is(
    .policy-detail-heading,
    .city-overview-heading,
    .profile-basic-sheet-heading,
    .asset-intent-heading,
    .recruitment-heading,
    .pending-assets-heading,
    .ai-assistant-heading,
    .cooperation-heading,
    .region-drill-heading
  ) {
  position: relative;
  display: block;
  min-height: 44px;
  padding-inline: 42px;
  text-align: center;
}

:is(
    .policy-detail-heading,
    .city-overview-heading,
    .profile-basic-sheet-heading,
    .asset-intent-heading,
    .recruitment-heading,
    .pending-assets-heading,
    .ai-assistant-heading,
    .cooperation-heading,
    .region-drill-heading
  ) > div {
  width: 100%;
  min-width: 0;
  text-align: center;
}

:is(
    .policy-detail-heading,
    .city-overview-heading,
    .profile-basic-sheet-heading,
    .asset-intent-heading,
    .recruitment-heading,
    .pending-assets-heading,
    .ai-assistant-heading,
    .cooperation-heading,
    .region-drill-heading
  ) :is(span, h2) {
  margin-inline: auto;
  text-align: center;
}

:is(
    .policy-detail-heading,
    .city-overview-heading,
    .profile-basic-sheet-heading,
    .asset-intent-heading,
    .recruitment-heading,
    .pending-assets-heading,
    .ai-assistant-heading,
    .cooperation-heading,
    .region-drill-heading
  ) > button {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

.sheet-panel > h2 {
  text-align: center;
}

/* Search placeholders sit on the control center; entered queries return to normal left alignment. */
.public-home-head .home-search {
  position: relative;
  display: block;
  padding: 0;
}

.public-home-head .home-search input {
  width: 100%;
  height: 100%;
  padding: 0 43px;
  text-align: center;
}

.public-home-head .home-search input:not(:placeholder-shown) {
  text-align: left;
}

.public-home-head .home-search .search-icon {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
}

.page-search {
  position: relative;
  padding-inline: 42px;
}

.page-search .search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.page-search input {
  width: 100%;
  margin-left: 0;
  text-align: center;
}

.page-search input:not(:placeholder-shown) {
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  .workbench-carousel-viewport {
    scroll-behavior: auto;
  }

  .workbench-carousel-dots button {
    transition: none;
  }
}

.resource-package-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 12px 0;
  padding: 12px;
  border: 1px solid rgba(22, 135, 93, 0.18);
  border-radius: 12px;
  background: #eef8f2;
}

.resource-package-toolbar[hidden],
.asset-entry-package-config[hidden],
.package-partner-field[hidden] {
  display: none;
}

.resource-package-toolbar > div {
  min-width: 0;
}

.resource-package-toolbar strong,
.resource-package-toolbar span {
  display: block;
}

.resource-package-toolbar strong {
  color: #164b37;
  font-size: 13px;
}

.resource-package-toolbar span {
  margin-top: 3px;
  color: #5d7167;
  font-size: 9px;
  line-height: 1.45;
}

.resource-package-toolbar button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--green);
  font-size: 10px;
  font-weight: 850;
}

.asset-publish-mode-section {
  padding-top: 14px;
}

.asset-publish-mode-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.asset-publish-mode-options label,
.package-scope-options label,
.asset-package-choice,
.package-builder-asset {
  position: relative;
  cursor: pointer;
}

.asset-publish-mode-options input,
.package-scope-options input,
.asset-package-choice input,
.package-builder-asset input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.asset-publish-mode-options label > span {
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 5px;
  padding: 11px;
  border: 1px solid #dce6e0;
  border-radius: 10px;
  color: #263a30;
  background: #f8fbf9;
}

.asset-publish-mode-options strong,
.asset-publish-mode-options small,
.asset-package-choice strong,
.asset-package-choice small,
.package-builder-asset strong,
.package-builder-asset small,
.package-scope-options strong,
.package-scope-options small {
  display: block;
}

.asset-publish-mode-options strong {
  font-size: 12px;
}

.asset-publish-mode-options small {
  color: #718078;
  font-size: 9px;
  line-height: 1.45;
}

.asset-publish-mode-options input:checked + span,
.package-scope-options input:checked + span {
  border-color: var(--green);
  color: var(--green-deep);
  background: #eaf7f0;
}

.asset-publish-mode-options input:focus-visible + span,
.package-scope-options input:focus-visible + span,
.asset-package-choice input:focus-visible + span,
.package-builder-asset input:focus-visible + span {
  outline: 2px solid rgba(22, 135, 93, 0.45);
  outline-offset: 2px;
}

.asset-entry-package-config {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f3f8f5;
}

.asset-entry-package-config .asset-field:first-child {
  margin-top: 0;
}

.asset-package-existing {
  margin-top: 14px;
}

.asset-package-existing > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.asset-package-existing > div:first-child strong {
  color: #294137;
  font-size: 11px;
}

.asset-package-existing > div:first-child span {
  color: #74837b;
  font-size: 8px;
  text-align: right;
}

.asset-package-existing-list,
.package-builder-assets > div:last-child {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.asset-package-choice > span,
.package-builder-asset > span {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border: 1px solid #dce6e0;
  border-radius: 9px;
  background: #ffffff;
}

.asset-package-choice img,
.package-builder-asset img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: cover;
}

.asset-package-choice span span,
.package-builder-asset span span {
  min-width: 0;
}

.asset-package-choice strong,
.package-builder-asset strong {
  overflow: hidden;
  color: #24392f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-package-choice small,
.package-builder-asset small {
  margin-top: 3px;
  color: #748179;
  font-size: 8px;
  line-height: 1.4;
}

.asset-package-choice b,
.package-builder-asset b {
  padding: 4px 6px;
  border-radius: 999px;
  color: #13734f;
  background: #e7f5ed;
  font-size: 8px;
  white-space: nowrap;
}

.asset-package-choice input:checked + span,
.package-builder-asset input:checked + span {
  border-color: var(--green);
  background: #eef9f3;
}

.asset-package-choice input:checked + span::after,
.package-builder-asset input:checked + span::after {
  position: absolute;
  left: 34px;
  bottom: 7px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

.resource-package-builder-panel {
  max-height: min(88dvh, 820px);
}

.resource-package-builder-form {
  display: grid;
  gap: 12px;
  padding: 0 14px calc(18px + env(safe-area-inset-bottom));
}

.package-scope-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.package-scope-options legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  color: #40564b;
  font-size: 10px;
  font-weight: 850;
}

.package-scope-options label > span {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #dae5de;
  border-radius: 10px;
  background: #f8fbf9;
}

.package-scope-options strong {
  color: #284137;
  font-size: 11px;
}

.package-scope-options small {
  color: #718078;
  font-size: 8px;
  line-height: 1.4;
}

.package-builder-field {
  display: grid;
  gap: 6px;
}

.package-builder-field > span {
  color: #40564b;
  font-size: 10px;
  font-weight: 850;
}

.package-builder-field input,
.package-builder-field select,
.package-builder-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #d9e4dd;
  border-radius: 9px;
  color: #20362c;
  background: #ffffff;
  font-size: 11px;
}

.package-builder-field textarea {
  resize: vertical;
}

.package-builder-field small {
  color: #8b692f;
  font-size: 8px;
  line-height: 1.45;
}

.package-builder-assets {
  padding: 11px;
  border-radius: 10px;
  background: #f3f7f4;
}

.package-builder-assets > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.package-builder-assets h3 {
  margin: 0;
  color: #263e33;
  font-size: 12px;
}

.package-builder-assets > div:first-child > span {
  color: var(--green-deep);
  font-size: 9px;
  font-weight: 800;
}

.package-review-notice {
  padding: 10px 11px;
  border-radius: 9px;
  color: #315747;
  background: #eaf7f0;
}

.package-review-notice.is-review {
  color: #714e19;
  background: #fff4df;
}

.package-review-notice strong {
  display: block;
  font-size: 10px;
}

.package-review-notice p,
.package-builder-empty {
  margin: 3px 0 0;
  font-size: 8px;
  line-height: 1.5;
}

.package-builder-empty {
  color: #718078;
  text-align: center;
}

.resource-package-builder-actions {
  position: sticky;
  bottom: 0;
  margin-top: 0;
  padding-top: 9px;
  background: #ffffff;
}

@media (max-width: 370px) {
  .resource-package-toolbar,
  .asset-package-existing > div:first-child {
    align-items: stretch;
    flex-direction: column;
  }

  .resource-package-toolbar button {
    width: 100%;
  }
}

/* Unified page ending: reserve the fixed tab bar once, without nested blank space. */
:root {
  --tabbar-clearance: calc(72px + env(safe-area-inset-bottom));
  --page-end-gap: 12px;
}

.view:not(.login-view) {
  padding-bottom: var(--tabbar-clearance);
}

.public-home-stack,
.group-package-content,
.curated-list-content,
.certification-content {
  padding-bottom: var(--page-end-gap);
}
