:root {
  color-scheme: light;
  --red: #9f1d2e;
  --blue: #19578f;
  --gold: #966100;
  --ink: #111827;
  --text: #344054;
  --muted: #667085;
  --line: #e6eaf0;
  --bg: #f5f7fb;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.phone-shell {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 16px 34px;
  background: var(--bg);
}

.hero {
  overflow: hidden;
  position: relative;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 18px 42px rgba(159, 29, 46, 0.2);
  color: #ffffff;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-logo {
  flex: 0 0 auto;
  width: 144px;
  height: 50px;
  object-fit: contain;
}

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

.profile-entry,
.message-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 32px;
  border: 0;
  background: transparent;
  color: rgba(232, 236, 244, 0.88);
  line-height: 1;
  cursor: pointer;
}

.profile-entry {
  width: auto;
  min-width: 28px;
  gap: 5px;
  padding: 0 1px;
}

.message-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.message-icon::before,
.message-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.message-icon::before {
  left: 1px;
  transform: rotate(32deg);
}

.message-icon::after {
  right: 1px;
  transform: rotate(-32deg);
}

.profile-icon {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 16px;
  height: 17px;
}

.profile-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.profile-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 12px;
  height: 7px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.profile-entry-name {
  display: block;
  max-width: 52px;
  overflow: hidden;
  color: rgba(232, 236, 244, 0.92);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-badge {
  position: absolute;
  top: 2px;
  right: -2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #f4c76a;
  color: var(--red);
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.hero-title {
  color: #f4c76a;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.hero-stat {
  padding: 4px 4px;
  text-align: center;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat-button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.hero-stat-button:active,
.hero-stat-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hero-strip strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.hero-strip span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
}

.section {
  margin-top: 18px;
}

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

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
}

.section-head span {
  color: var(--red);
  font-size: 13px;
}

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

.shortcut-card {
  min-height: 104px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.shortcut-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 39px;
  padding: 0 10px 0 13px;
  font-weight: 500;
}

.shortcut-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.shortcut-card--red .shortcut-banner {
  background: #fff4f5;
  color: #9f1d2e;
}

.shortcut-card--red .shortcut-banner::before {
  background: #9f1d2e;
}

.shortcut-card--blue .shortcut-banner {
  background: #eff7ff;
  color: #19578f;
}

.shortcut-card--blue .shortcut-banner::before {
  background: #19578f;
}

.shortcut-card--gold .shortcut-banner {
  background: #fff8e8;
  color: #966100;
}

.shortcut-card--gold .shortcut-banner::before {
  background: #966100;
}

.shortcut-card--green .shortcut-banner {
  background: #edf8f3;
  color: #1f7a5c;
}

.shortcut-card--green .shortcut-banner::before {
  background: #1f7a5c;
}

.shortcut-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1;
}

.shortcut-title {
  min-width: 0;
  color: currentColor;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.shortcut-label {
  margin: 12px 10px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.shortcut-desc {
  margin: 5px 10px 0;
  color: #8a95a6;
  font-size: 11px;
}

.shortcut-desc span {
  float: right;
  color: var(--red);
}

.proposal-page {
  padding-top: 16px;
}

.proposal-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 42px rgba(159, 29, 46, 0.18);
}

.proposal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.proposal-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.proposal-hero h1 {
  margin: 2px 0 7px;
  color: #fff;
  font-size: 21px;
  font-weight: 520;
  line-height: 1.25;
}

.proposal-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.55;
}

.proposal-section {
  margin-top: 14px;
  padding: 15px;
}

.proposal-submit-entry {
  padding: 0;
}

.proposal-submit-area[hidden],
.proposal-submit-entry .proposal-submit[hidden] {
  display: none;
}

.proposal-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 520;
}

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

.proposal-guide-list p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.65;
}

.proposal-guide-list strong {
  color: var(--ink);
  font-weight: 600;
}

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

.proposal-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 12px;
}

.proposal-form select {
  width: 100%;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #d6dbe4;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.member-file-picker {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid #d6dbe4;
  border-radius: 8px;
  background: #fff;
}

.member-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.member-file-name {
  min-width: 0;
  padding: 0 11px;
  overflow: hidden;
  color: #8a95a6;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-file-picker.has-file .member-file-name {
  color: var(--ink);
}

.proposal-tip {
  color: #8a95a6;
  font-size: 12px;
}

.proposal-submit {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 560;
}

.proposal-submit:disabled {
  opacity: 0.58;
}

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

.proposal-list-head span {
  color: var(--red);
  font-size: 12px;
}

.proposal-list-head h2 small {
  color: #8a95a6;
  font-size: 12px;
  font-weight: 400;
}

.finance-list-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.finance-list-actions a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 520;
}

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

.proposal-submission {
  display: grid;
  gap: 3px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.proposal-submission strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proposal-submission span,
.proposal-submission em,
.proposal-empty {
  color: #8a95a6;
  font-size: 11px;
  font-style: normal;
}

.proposal-file-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 28px;
  margin-top: 4px;
  padding: 0 10px;
  border: 1px solid rgba(25, 87, 143, 0.18);
  border-radius: 8px;
  background: #eff7ff;
  color: var(--blue);
  font-size: 12px;
}

.finance-reserve-card {
  display: grid;
  gap: 10px;
}

.finance-reserve-balance {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 520;
  line-height: 1.15;
}

.finance-reserve-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #8a95a6;
  font-size: 11px;
}

.finance-reserve-bar {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}

.finance-reserve-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #1f7a5c;
  transition: width 0.2s ease;
}

.finance-reserve-fill.is-low {
  background: var(--red);
}

.finance-reserve-warning {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 30%;
  width: 6px;
  border-radius: 999px;
  background: #ffe08a;
  box-shadow: 0 0 0 2px rgba(116, 82, 0, 0.28);
}

.finance-reserve-note {
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
}

.member-due-card {
  display: grid;
  gap: 10px;
}

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

.member-due-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.member-due-row strong,
.member-due-row b,
.member-due-row span {
  display: block;
}

.member-due-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.member-due-row b {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
}

.member-due-row span {
  margin-top: 3px;
  color: #8a95a6;
  font-size: 11px;
}

.member-due-row > div:last-child {
  text-align: right;
}

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

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

.finance-branch-item {
  display: grid;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.finance-branch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.finance-branch-item strong,
.finance-branch-item span,
.finance-branch-item b,
.finance-branch-item em {
  display: block;
}

.finance-branch-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 560;
}

.finance-branch-head span,
.finance-branch-foot span {
  margin-top: 3px;
  color: #8a95a6;
  font-size: 11px;
}

.finance-branch-item b {
  color: var(--red);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
}

.finance-branch-value {
  text-align: right;
}

.finance-branch-value em {
  margin-top: 2px;
  color: #8a95a6;
  font-size: 11px;
  font-style: normal;
}

.finance-branch-bar {
  position: relative;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}

.finance-branch-fill {
  height: 100%;
  border-radius: inherit;
  background: #1f7a5c;
}

.finance-branch-fill.is-low {
  background: var(--red);
}

.finance-branch-warning {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: 30%;
  width: 6px;
  border-radius: 999px;
  background: #ffe08a;
  box-shadow: 0 0 0 2px rgba(116, 82, 0, 0.26);
}

.finance-branch-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.finance-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.finance-record span,
.finance-record em {
  display: block;
  color: #8a95a6;
  font-size: 11px;
  font-style: normal;
}

.finance-record strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.35;
}

.finance-record em {
  margin-top: 4px;
  line-height: 1.35;
}

.finance-record b {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.finance-record.income b {
  color: #1f7a5c;
}

.proposal-preview-card {
  overflow: hidden;
  padding: 0;
}

.proposal-docx-preview {
  padding: 16px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.proposal-docx-preview p {
  margin: 0 0 12px;
  white-space: pre-wrap;
}

.proposal-pdf-frame {
  height: calc(100vh - 178px);
  min-height: 520px;
  background: #f9fbff;
}

.proposal-pdf-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.org-card {
  overflow: hidden;
  padding: 0;
}

.org-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.org-summary {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.org-summary strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.org-summary span {
  overflow: hidden;
  color: #8a95a6;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-toggle-label {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
}

.org-detail {
  padding: 0 16px 14px;
  border-top: 1px solid #edf0f5;
}

.org-group + .org-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #edf0f5;
}

.org-title {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
}

.org-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 5px 0;
}

.org-row span,
.org-branch span {
  color: #8a95a6;
  font-size: 11px;
}

.org-row strong,
.org-branch strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

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

.org-branch {
  appearance: none;
  min-width: 0;
  padding: 10px;
  text-align: left;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f8fafc;
  font: inherit;
  cursor: pointer;
}

.org-branch.is-active {
  border-color: rgba(159, 29, 46, 0.32);
  background: #fff7f7;
}

.org-branch strong,
.org-branch span {
  display: block;
}

.org-branch span {
  margin-top: 3px;
}

.org-branch-detail {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #fff;
}

.org-branch-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.org-branch-detail-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.org-branch-detail-head span {
  color: #8a95a6;
  font-size: 11px;
}

.org-page-role-list {
  display: grid;
  gap: 2px;
}

.org-page-role-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f5;
}

.org-page-role-row:last-child {
  border-bottom: 0;
}

.org-page-role-row span {
  color: #8a95a6;
  font-size: 12px;
}

.org-page-role-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.org-page-branch-list {
  display: grid;
  gap: 9px;
}

.org-page-branch-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f9fbff;
}

.org-page-branch-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.org-page-branch-card strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.org-page-branch-card span,
.org-page-branch-card em {
  color: #8a95a6;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.org-branch-member-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.org-branch-member-list span {
  min-width: 0;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f9fbff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list {
  padding: 4px 12px;
}

.notice-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.notice-item--text {
  display: block;
}

.notice-item + .notice-item {
  border-top: 1px solid #edf0f5;
}

.notice-thumb {
  display: block;
  width: 82px;
  height: 58px;
  border-radius: 8px;
  background: #f4f6f9;
  object-fit: cover;
}

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

.notice-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.notice-date-text {
  color: #8a95a6;
  font-size: 11px;
  white-space: nowrap;
}

.notice-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.news-detail-shell {
  padding-top: 0;
}

.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  height: 50px;
  margin: 0 -16px 14px;
  padding: 0 14px;
  border-bottom: 1px solid #eceff4;
  background: rgba(245, 247, 251, 0.96);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.detail-back {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  text-align: left;
}

.news-detail {
  padding: 22px 18px 26px;
  box-shadow: none;
}

.detail-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.detail-title {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
}

.detail-meta {
  margin-top: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
  color: #8a95a6;
  font-size: 12px;
}

.detail-images {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.detail-images figure {
  margin: 0;
}

.detail-images img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  background: #f4f6f9;
  object-fit: contain;
}

.detail-body {
  margin-top: 18px;
  color: #263142;
  font-size: 15px;
  line-height: 1.85;
}

.detail-body p {
  margin: 0 0 14px;
  text-align: justify;
}

.detail-loading,
.detail-error,
.news-empty {
  color: var(--muted);
  font-size: 14px;
}

.detail-error-back {
  display: inline-flex;
  margin-top: 14px;
  color: var(--red);
  font-size: 14px;
}

.activity-meta,
.activity-time {
  color: #8a95a6;
  font-size: 11px;
}

.share-list {
  padding: 2px 16px;
}

.share-item {
  padding: 14px 0;
}

.share-item + .share-item {
  border-top: 1px solid #edf0f5;
}

.share-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.share-type {
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
}

.share-date,
.share-meta {
  color: #8a95a6;
  font-size: 11px;
}

.share-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.share-meta {
  margin-top: 5px;
  line-height: 1.45;
}

.share-empty {
  padding: 18px 0;
  color: #8a95a6;
  font-size: 12px;
  text-align: center;
}

.social-list {
  padding: 2px 16px;
}

.social-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.social-item + .social-item {
  border-top: 1px solid #edf0f5;
}

.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.social-type {
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
}

.social-date,
.social-meta {
  color: #8a95a6;
  font-size: 11px;
}

.social-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.social-meta {
  margin-top: 5px;
  line-height: 1.45;
}

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

.signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 28px;
  border: 1px solid rgba(159, 29, 46, 0.24);
  border-radius: 999px;
  background: #fff1f2;
  color: var(--red);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.activity-card {
  padding: 16px;
}

.member-activity-list {
  display: grid;
  gap: 10px;
}

.activity-card + .activity-card {
  margin-top: 10px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
}

.activity-title {
  margin-top: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.activity-meta {
  margin-top: 8px;
  line-height: 1.45;
}

.member-activity-desc {
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.member-activity-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #8a95a6;
  font-size: 11px;
}

.signup-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.profile-modal.is-open {
  display: flex;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
}

.profile-sheet {
  position: relative;
  width: min(430px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 18px 18px 22px;
  border-radius: 8px 8px 0 0;
  background: #ffffff;
  box-shadow: 0 -18px 44px rgba(17, 24, 39, 0.18);
}

.profile-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profile-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}

.profile-sheet h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.profile-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #667085;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #eef6ff;
  font-size: 24px;
}

.profile-name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.profile-sub {
  margin-top: 4px;
  color: #8a95a6;
  font-size: 12px;
}

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

.profile-readonly div {
  padding: 10px 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f8fafc;
}

.profile-readonly span,
.profile-form label span {
  display: block;
  color: #667085;
  font-size: 12px;
}

.profile-form label span {
  margin-bottom: 6px;
  line-height: 1.25;
}

.profile-readonly strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 30px;
  margin: 12px 0 0;
  padding: 0 10px;
  border: 1px solid rgba(159, 29, 46, 0.14);
  border-radius: 8px;
  background: #fff8f8;
  color: var(--red);
  cursor: pointer;
}

.profile-admin-entry[hidden] {
  display: none;
}

.profile-admin-entry strong,
.profile-admin-entry em,
.profile-admin-entry b {
  display: block;
  font-style: normal;
}

.profile-admin-entry strong {
  font-size: 12px;
  font-weight: 500;
}

.profile-admin-entry em {
  display: none;
}

.profile-admin-entry b {
  display: none;
}

.profile-admin-entry::after {
  content: "›";
  color: var(--red);
  font-size: 15px;
  line-height: 1;
}

.profile-ledger {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.profile-ledger-block {
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f9fbff;
}

.profile-ledger-head,
.profile-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-ledger-head {
  margin-bottom: 8px;
}

.profile-ledger-head span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.profile-ledger-head em,
.profile-ledger-row span,
.profile-ledger-row em,
.profile-ledger-empty {
  color: #8a95a6;
  font-size: 11px;
  font-style: normal;
}

.profile-ledger-list {
  display: grid;
  gap: 6px;
}

.profile-ledger-row {
  min-height: 24px;
}

.profile-ledger-row strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.points-sheet {
  max-height: 72vh;
}

.points-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  background: #f9fbff;
}

.points-total-card span {
  color: #667085;
  font-size: 12px;
}

.points-total-card strong {
  color: var(--red);
  font-size: 22px;
  font-weight: 600;
}

.points-list {
  margin-top: 12px;
}

.profile-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.profile-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.profile-form label {
  display: block;
  min-width: 0;
}

.profile-form input,
.profile-form select {
  display: block;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d6dbe4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.profile-tip {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.45;
}

.profile-submit {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.profile-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.message-sheet {
  max-height: 78vh;
}

.message-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.message-item {
  padding: 12px;
  border: 1px solid #edf0f5;
  border-left: 3px solid #edf0f5;
  border-radius: 8px;
  background: #f9fbff;
}

.message-item.is-unread {
  border-left-color: var(--red);
  background: #fffafb;
}

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

.message-item-head span {
  color: var(--red);
  font-size: 11px;
}

.message-item-head em {
  color: #8a95a6;
  font-size: 11px;
  font-style: normal;
}

.message-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.35;
}

.message-item p {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.55;
}

.message-empty {
  padding: 22px 0;
  color: #8a95a6;
  font-size: 12px;
  text-align: center;
}
