:root {
  --brand: #005ea8;
  --brand-2: #0876c9;
  --brand-3: #e7f2fb;
  --gold: #c8a452;
  --green: #1ab77a;
  --red: #df5d68;
  --orange: #e9a23b;
  --ink: #253044;
  --muted: #6f7785;
  --line: #e6ebf2;
  --line-strong: #d8e0eb;
  --panel: #ffffff;
  --bg: #f4f6fa;
  --shadow: 0 10px 26px rgba(24, 45, 79, 0.08);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 18px;
  height: 18px;
}

.logo-mark {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 42px;
  flex: 0 0 auto;
}

.logo-mark::before,
.logo-mark::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.logo-mark::before {
  inset: 3px 10px 6px 7px;
  border: 8px solid rgba(0, 94, 168, 0.18);
  border-right-color: var(--gold);
  transform: rotate(-22deg);
}

.logo-mark::after {
  left: 17px;
  top: 13px;
  width: 22px;
  height: 18px;
  border: 5px solid var(--gold);
  border-top-color: transparent;
  border-left-color: rgba(0, 94, 168, 0.72);
  border-radius: 3px 3px 12px 12px;
  transform: rotate(8deg);
}

/* Index */
.prototype-index {
  min-height: 100vh;
  background: #f2f5fa;
}

.index-shell {
  width: min(1120px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 76px 0;
}

.index-hero {
  padding: 42px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.index-brand,
.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.index-brand strong,
.admin-brand strong {
  display: block;
  color: #333842;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 700;
}

.index-brand small,
.admin-brand small {
  display: block;
  margin-top: 3px;
  color: #777;
  font-size: 12px;
  letter-spacing: 0;
}

.index-hero h1 {
  margin: 36px 0 10px;
  font-size: 34px;
  font-weight: 700;
}

.index-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.entry-card {
  min-height: 160px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(24, 45, 79, 0.06);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.entry-card:hover {
  border-color: rgba(0, 94, 168, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.entry-card svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.entry-card strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 18px;
}

.entry-card small {
  color: var(--muted);
  line-height: 1.7;
}

/* Web admin */
.admin-body {
  height: 100vh;
  min-width: 1280px;
  overflow: hidden;
  background: var(--bg);
}

.admin-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  grid-template-rows: 64px minmax(0, 1fr);
  height: 100vh;
}

.admin-header {
  z-index: 5;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e9edf4;
  box-shadow: 0 2px 8px rgba(38, 55, 82, 0.05);
}

.admin-brand {
  width: 252px;
  height: 100%;
  padding: 0 34px 0 30px;
  border-right: 1px solid #edf0f5;
}

.admin-brand strong {
  font-size: 24px;
}

.global-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 640px;
  height: 40px;
  padding: 0 13px;
  background: #f6f8fb;
  border: 1px solid #e4e9f1;
  border-radius: var(--radius);
  color: #adb4bf;
}

.global-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.global-search input::placeholder {
  color: #b7bec8;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding-right: 24px;
  color: #303745;
  font-size: 14px;
}

.user-avatar {
  display: block;
  width: 32px;
  height: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent),
    linear-gradient(135deg, #d9e6f2, #f6f8fb 55%, #d9b765);
  border: 1px solid #e8edf4;
  border-radius: 50%;
}

.admin-sidebar {
  grid-row: 2;
  overflow: auto;
  background: #fff;
  border-right: 1px solid #e9edf4;
}

.admin-sidebar nav {
  padding: 0 12px 18px;
}

.nav-section-title {
  margin: 18px 20px 10px;
  color: #606b7a;
  font-size: 14px;
  font-weight: 600;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 20px;
  margin-bottom: 3px;
  color: #535c69;
  font-size: 15px;
  border-radius: 4px;
}

.nav-item svg {
  color: #4f5968;
}

.nav-item:hover {
  background: #eef3fb;
}

.nav-item.active {
  color: #fff;
  background: var(--brand);
}

.nav-item.active svg {
  color: #fff;
}

.admin-main {
  grid-column: 2;
  grid-row: 2;
  overflow: auto;
  padding: 18px 20px 26px;
}

.filter-panel,
.table-panel,
.workbench-strip article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(24, 45, 79, 0.03);
}

.filter-panel {
  padding: 20px 16px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 18px 36px;
  align-items: end;
}

.filter-field,
.form-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.filter-field span,
.form-field span {
  color: #384152;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.filter-field input,
.filter-field select,
.form-field input,
.form-field select,
.form-field textarea,
.mobile-form input,
.mobile-form select,
.mobile-form textarea,
.mini-search input {
  width: 100%;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.filter-field input,
.filter-field select,
.form-field input,
.form-field select {
  height: 36px;
  padding: 0 12px;
  border-radius: 4px;
}

.filter-field input::placeholder {
  color: #b8c0cb;
}

.filter-actions {
  display: flex;
  gap: 10px;
  padding-left: 92px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 62px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn.ghost {
  color: #5d6571;
  background: #fff;
  border-color: var(--line);
}

.btn.soft-blue {
  color: #105f9c;
  background: #eef6ff;
  border-color: #cbdff2;
}

.btn.soft-red {
  color: #cf5160;
  background: #fff1f4;
  border-color: #fadbe0;
}

.btn.soft-gold {
  color: #9b7325;
  background: #fff7dd;
  border-color: #f3e3ad;
}

.btn.soft-green {
  color: #15935f;
  background: #e9fbf4;
  border-color: #ccf0df;
}

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

.workbench-strip article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 10px;
  padding: 14px 18px;
}

.workbench-strip span {
  color: var(--muted);
  font-size: 14px;
}

.workbench-strip strong {
  grid-row: span 2;
  color: var(--brand);
  font-size: 30px;
}

.workbench-strip small {
  color: #98a2b0;
}

.table-panel {
  padding: 14px 14px 18px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.status-tabs {
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 5px;
  margin-bottom: 10px;
  background: #f6f8fb;
  border: 1px solid #ebeff5;
  border-radius: 6px;
}

.status-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  color: #556070;
  background: transparent;
  border: 0;
  border-radius: 4px;
}

.status-tabs button.active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 4px 10px rgba(0, 94, 168, 0.22);
}

.status-tabs span {
  font-size: 12px;
  opacity: 0.9;
}

.table-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 4px 13px;
}

.table-title-row h2 {
  margin: 0;
  color: #263245;
  font-size: 18px;
  font-weight: 700;
}

.table-title-row p {
  margin: 0;
  color: #8a94a3;
  font-size: 13px;
}

.data-table-wrap {
  overflow: auto;
  border: 1px solid #edf1f6;
  border-radius: 4px;
}

.data-table {
  width: 100%;
  min-width: 1110px;
  border-collapse: collapse;
  background: #fff;
  table-layout: fixed;
  font-size: 13px;
}

.data-table th,
.data-table td {
  min-height: 58px;
  padding: 12px 8px;
  border-bottom: 1px solid #edf1f6;
  text-align: center;
  white-space: normal;
}

.data-table th {
  color: #384152;
  background: #f8fafc;
  font-weight: 700;
}

.data-table td:nth-child(2),
.data-table th:nth-child(2) {
  width: 210px;
  text-align: left;
}

.data-table th:nth-child(1),
.data-table td:nth-child(1) {
  width: 42px;
}

.data-table th:nth-child(5),
.data-table td:nth-child(5) {
  width: 128px;
}

.data-table th:nth-child(8),
.data-table td:nth-child(8) {
  width: 72px;
}

.data-table th:nth-child(9),
.data-table td:nth-child(9),
.data-table th:nth-child(10),
.data-table td:nth-child(10) {
  width: 82px;
}

.data-table th:nth-child(11),
.data-table td:nth-child(11) {
  width: 138px;
}

.data-table td:nth-child(2) strong {
  display: block;
  color: #414a59;
  font-weight: 600;
}

.data-table td:nth-child(2) small {
  display: block;
  margin-top: 5px;
  color: #9aa3af;
}

.data-table a {
  margin: 0 5px;
  color: var(--brand);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 28px;
  padding: 0 9px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.tag.warn {
  color: #bd7530;
  background: #fff3e6;
}

.tag.success {
  color: #109462;
  background: #e8fbf2;
}

.tag.blue {
  color: #1069aa;
  background: #e7f2fb;
}

.tag.danger {
  color: #d85662;
  background: #fff0f3;
}

.tag.muted {
  color: #6a7280;
  background: #f0f2f5;
}

.tag.neutral {
  color: #606b78;
  background: #eef1f5;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(19, 32, 52, 0.34);
}

.admin-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 24;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(19, 32, 52, 0.34);
}

.modal-visible .modal-overlay {
  display: flex;
}

.dialog-visible .admin-dialog-overlay {
  display: flex;
}

.activity-modal {
  display: flex;
  flex-direction: column;
  width: min(1160px, calc(100vw - 88px));
  max-height: calc(100vh - 70px);
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(12, 28, 55, 0.25);
}

.admin-dialog {
  display: flex;
  flex-direction: column;
  width: min(760px, calc(100vw - 80px));
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(12, 28, 55, 0.25);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

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

.modal-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #6b7480;
  background: #f5f7fa;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 16px;
  overflow: auto;
  padding: 18px 20px;
  background: #f7f9fc;
}

.modal-card {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.modal-card h3 {
  margin: 0 0 18px;
  padding-left: 10px;
  color: #263245;
  font-size: 16px;
  border-left: 3px solid var(--brand);
}

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

.form-field {
  grid-template-columns: 88px minmax(0, 1fr);
}

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

.form-field textarea {
  min-height: 74px;
  resize: vertical;
  padding: 9px 12px;
  border-radius: 4px;
  line-height: 1.6;
}

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

.upload-card {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-height: 118px;
  padding: 14px;
  text-align: left;
  background: #fbfcfe;
  border: 1px dashed #cfd9e6;
  border-radius: 6px;
}

.upload-card svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.upload-card strong {
  color: #323b4c;
}

.upload-card span,
.upload-card small {
  color: #8a94a3;
  font-size: 12px;
}

.upload-card.completed {
  background: #f0faf6;
  border-color: #aee7ce;
}

.upload-card.completed small {
  color: #129767;
  font-weight: 700;
}

.upload-card.muted-upload {
  background: #f8fafc;
}

.modal-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  color: #6f7785;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
}

.modal-note svg {
  color: var(--brand);
  flex: 0 0 auto;
  margin-top: 2px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.approval-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  padding: 18px;
  background: #f7f9fc;
}

.approval-summary,
.approval-checklist {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.approval-summary h3,
.approval-checklist h3 {
  margin: 12px 0 14px;
  color: #222d40;
  font-size: 17px;
}

.approval-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.approval-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f6;
}

.approval-summary div:last-child {
  border-bottom: 0;
}

.approval-summary dt {
  color: #7a8595;
}

.approval-summary dd {
  margin: 0;
  color: #263245;
  font-weight: 700;
  text-align: right;
}

.approval-checklist {
  display: grid;
  gap: 10px;
}

.approval-checklist h3 {
  margin-bottom: 4px;
}

.approval-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5667;
  font-size: 14px;
}

.approval-checklist textarea {
  min-height: 88px;
  padding: 10px 12px;
  color: #263245;
  border: 1px solid var(--line);
  border-radius: 4px;
  resize: vertical;
  line-height: 1.6;
}

.prototype-toast {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 40;
  max-width: 360px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(23, 35, 56, 0.94);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(12, 28, 55, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.prototype-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mini program */
.mini-body {
  min-height: 100vh;
  background: #eef3f8;
}

.mini-interactive-body {
  overflow-x: hidden;
}

.mini-page-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  color: var(--brand);
  background: #edf6ff;
  border-radius: 4px;
  font-weight: 700;
}

.mini-page-header strong {
  display: block;
  font-size: 18px;
}

.mini-page-header span {
  color: var(--muted);
  font-size: 13px;
}

.mini-board {
  display: grid;
  grid-template-columns: repeat(3, 390px);
  gap: 34px;
  justify-content: center;
  padding: 34px 28px 56px;
}

.interactive-mini-shell {
  display: grid;
  grid-template-columns: 460px minmax(320px, 420px);
  gap: 40px;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 34px 28px 56px;
}

.interactive-stage {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.interactive-phone {
  margin-bottom: -72px;
  transform: scale(0.91);
  transform-origin: center top;
}

.phone {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.phone-screen {
  position: relative;
  width: 390px;
  height: 844px;
  overflow: hidden;
  background: #f6f8fb;
  border: 10px solid #111824;
  border-radius: 42px;
  box-shadow:
    0 26px 60px rgba(21, 38, 65, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.interactive-phone .phone-screen {
  isolation: isolate;
}

.phone-screen::before {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 86px;
  height: 24px;
  content: "";
  background: #111824;
  border-radius: 0 0 16px 16px;
  transform: translateX(-50%);
}

.screen-label {
  margin: 0;
  color: #526071;
  font-size: 14px;
  font-weight: 700;
}

.mini-view {
  position: absolute;
  inset: 0;
  display: none;
  background: #f6f8fb;
}

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

.mini-clickable,
.mini-tabbar a,
.profile-list a,
.certificate-card,
.flow-steps button,
[data-mini-target],
[data-mini-action] {
  cursor: pointer;
}

.status-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  height: 38px;
  padding: 11px 22px 0;
  color: #162235;
  font-size: 12px;
  font-weight: 700;
}

.status-bar.light {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
}

.wx-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  color: #162235;
}

.wx-header strong {
  text-align: center;
  font-size: 17px;
}

.mini-content {
  height: calc(100% - 38px - 46px - 72px);
  overflow: hidden;
  padding: 14px 18px 20px;
}

.hero-card {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 78, 140, 0.16);
}

button.hero-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 0;
}

.hero-card img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after,
.detail-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4, 32, 58, 0.06), rgba(4, 32, 58, 0.64));
}

.hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
}

.hero-copy span {
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
}

.hero-copy strong {
  display: block;
  font-size: 22px;
}

.hero-copy small {
  display: block;
  margin-top: 5px;
  opacity: 0.9;
}

.mini-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  margin: 14px 0 12px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 12px;
}

.mini-search svg {
  color: #9aa6b4;
}

.mini-search input {
  border: 0;
  outline: 0;
}

.mini-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-tabs button {
  height: 32px;
  padding: 0 12px;
  color: #627083;
  background: #fff;
  border: 1px solid #e9eef5;
  border-radius: 999px;
  font-size: 13px;
}

.mini-tabs .active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.activity-card {
  display: grid;
  grid-template-columns: 54px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(26, 54, 91, 0.06);
}

.date-block {
  display: grid;
  place-items: center;
  width: 54px;
  height: 58px;
  color: #fff;
  background: var(--brand);
  border-radius: 12px;
}

.date-block.green {
  background: var(--green);
}

.date-block strong {
  font-size: 22px;
  line-height: 1;
}

.date-block span {
  font-size: 12px;
}

.activity-card h3 {
  margin: 0;
  color: #172338;
  font-size: 15px;
}

.activity-card p {
  margin: 6px 0 8px;
  color: #7a8696;
  font-size: 12px;
}

.mini-tags {
  display: flex;
  gap: 6px;
}

.mini-tags span,
.chip-row span {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 8px;
  color: #1069aa;
  background: #e9f4ff;
  border-radius: 999px;
  font-size: 11px;
}

.mini-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 72px;
  padding-top: 8px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e9edf4;
}

.mini-tabbar a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  color: #93a0af;
  font-size: 12px;
}

.mini-tabbar a.active {
  color: var(--brand);
  font-weight: 700;
}

.detail-cover {
  position: relative;
  height: 250px;
}

.cover-back {
  position: absolute;
  top: 42px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: rgba(17, 24, 36, 0.42);
  border: 0;
  border-radius: 50%;
}

.detail-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  height: 560px;
  overflow: hidden;
  padding: 18px;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

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

.detail-status span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.detail-status strong {
  color: var(--brand);
  font-size: 13px;
}

.detail-sheet h1 {
  margin: 0 0 8px;
  color: #172338;
  font-size: 23px;
  line-height: 1.25;
}

.slogan {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.info-list p,
.checkin-rules p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #596678;
  font-size: 13px;
}

.info-list svg,
.checkin-rules svg {
  color: var(--brand);
  flex: 0 0 auto;
}

.mini-section {
  padding: 14px 0;
  border-top: 1px solid #edf1f6;
}

.mini-section h2,
.rating-card h2 {
  margin: 0 0 8px;
  font-size: 16px;
}

.mini-section p {
  margin: 0;
  color: #667487;
  font-size: 13px;
  line-height: 1.7;
}

.notice-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #667487;
  font-size: 13px;
}

.notice-row strong {
  color: #172338;
}

.fixed-action {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  height: 72px;
  padding: 10px 18px 18px;
  background: #fff;
  border-top: 1px solid #edf1f6;
}

.fixed-action button {
  width: 100%;
  height: 44px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}

.form-summary,
.review-head,
.rating-card,
.checkin-card,
.certificate-card {
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(26, 54, 91, 0.06);
}

.form-summary,
.review-head {
  display: grid;
  gap: 6px;
  padding: 16px;
  margin-bottom: 12px;
}

.form-summary strong,
.review-head strong {
  color: #172338;
  font-size: 16px;
}

.form-summary span,
.review-head span {
  color: #7d8998;
  font-size: 13px;
}

.mobile-form,
.review-form {
  display: grid;
  gap: 8px;
}

.mobile-form label,
.review-form label {
  display: grid;
  gap: 5px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 12px;
}

.mobile-form span,
.review-form span {
  color: #626f80;
  font-size: 13px;
}

.mobile-form input,
.mobile-form select,
.mobile-form textarea {
  height: 22px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #172338;
  font-weight: 600;
}

.mobile-form textarea,
.review-form textarea {
  min-height: 42px;
  resize: none;
  line-height: 1.6;
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #6d7887;
  font-size: 13px;
}

.checkin-content {
  padding: 18px;
}

.checkin-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 18px;
}

.checkin-state {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.checkin-card h2 {
  margin: 8px 0 0;
  text-align: center;
  font-size: 19px;
}

.checkin-card p,
.checkin-card small {
  margin: 0;
  color: #748194;
}

.qr-box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 190px;
  height: 190px;
  padding: 18px;
  margin: 12px 0;
  background:
    linear-gradient(90deg, #172338 8px, transparent 8px) 0 0 / 24px 24px,
    linear-gradient(#172338 8px, transparent 8px) 0 0 / 24px 24px,
    #fff;
  border: 10px solid #f1f4f8;
  border-radius: 18px;
}

button.qr-box {
  cursor: pointer;
}

.qr-box span,
.qr-core {
  background: #172338;
  border-radius: 6px;
}

.qr-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 8px solid #fff;
  transform: translate(-50%, -50%);
}

.checkin-rules {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 16px;
}

.review-head {
  border-color: #dbeafa;
  background: #f0f7ff;
}

.rating-card {
  display: grid;
  justify-items: center;
  padding: 18px;
  margin-bottom: 12px;
}

.stars {
  display: flex;
  gap: 4px;
  color: #f0ae2c;
  margin: 4px 0 8px;
}

.stars svg {
  fill: currentColor;
}

.rating-card strong {
  color: #172338;
  font-size: 26px;
}

.review-form input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.review-form textarea {
  width: 100%;
  padding: 8px 0 0;
  color: #172338;
  background: transparent;
  border: 0;
  outline: 0;
}

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

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 160px;
  padding: 50px 22px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #1b8bd6);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--brand);
  background: #fff;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 700;
}

.profile-header strong {
  display: block;
  font-size: 21px;
}

.profile-header span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.profile-content {
  height: calc(100% - 160px - 72px);
  margin-top: -8px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.profile-stats article {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 14px;
}

.profile-stats strong {
  color: var(--brand);
  font-size: 22px;
}

.profile-stats span {
  color: #718092;
  font-size: 12px;
}

.profile-list {
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 16px;
}

.profile-list a {
  display: grid;
  grid-template-columns: 24px 1fr auto 18px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid #edf1f6;
}

.profile-list a:last-child {
  border-bottom: 0;
}

.profile-list svg {
  color: var(--brand);
}

.profile-list span {
  color: #223047;
  font-weight: 600;
}

.profile-list strong {
  color: #8a96a6;
  font-size: 12px;
  font-weight: 500;
}

.certificate-card {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 94, 168, 0.96), rgba(26, 183, 122, 0.86)),
    #005ea8;
  border: 0;
}

.certificate-card span,
.certificate-card small {
  color: rgba(255, 255, 255, 0.78);
}

.certificate-card strong {
  font-size: 18px;
}

.mini-floating-toast {
  position: absolute;
  left: 50%;
  bottom: 92px;
  z-index: 6;
  width: max-content;
  max-width: 310px;
  padding: 10px 14px;
  color: #fff;
  text-align: center;
  background: rgba(21, 32, 50, 0.92);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.mini-floating-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.flow-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flow-eyebrow {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 10px;
  color: var(--brand);
  background: var(--brand-3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.flow-panel h1 {
  margin: 16px 0 10px;
  color: #172338;
  font-size: 28px;
  line-height: 1.2;
}

.flow-panel p {
  margin: 0;
  color: #667487;
  font-size: 14px;
  line-height: 1.75;
}

.flow-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.flow-steps button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  color: #415065;
  text-align: left;
  background: #f7f9fc;
  border: 1px solid #e7edf5;
  border-radius: 6px;
  font-weight: 700;
}

.flow-steps button svg {
  color: var(--brand);
}

.flow-steps button.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 10px 20px rgba(0, 94, 168, 0.18);
}

.flow-steps button.active svg {
  color: #fff;
}

.flow-note {
  padding: 16px;
  background: #f0f7ff;
  border: 1px solid #dbeafa;
  border-radius: 6px;
}

.flow-note strong {
  display: block;
  margin-bottom: 6px;
  color: #172338;
}

@media (max-width: 1260px) {
  .index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-board {
    grid-template-columns: repeat(2, 390px);
  }
}

@media (max-width: 860px) {
  .index-shell {
    width: min(100% - 28px, 560px);
    padding: 28px 0;
  }

  .index-grid,
  .mini-board {
    grid-template-columns: 1fr;
  }

  .mini-board {
    padding-left: 12px;
    padding-right: 12px;
  }
}
