:root {
  color-scheme: light;
  --paper: #f4f7fc;
  --paper-deep: #e7edf7;
  --ink: #15213e;
  --muted: #6c768c;
  --line: rgba(30, 53, 116, 0.12);
  --jade: #1e3574;
  --jade-soft: #e7edfa;
  --persimmon: #1b499d;
  --persimmon-soft: #dfe9fb;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(24, 50, 108, 0.11);
  --nav-height: 76px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --font-sans:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #e7ecf5;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

.site-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 0%, rgba(27, 73, 157, 0.09), transparent 23rem),
    linear-gradient(rgba(30, 53, 116, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 53, 116, 0.018) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

#app {
  min-height: 100vh;
}

.site-record-footer {
  position: relative;
  z-index: 1;
  padding:
    16px
    20px
    calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.site-record-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(30, 53, 116, 0.24);
  text-underline-offset: 3px;
}

body.has-bottom-nav .site-record-footer {
  padding-bottom: calc(var(--nav-height) + 18px + env(safe-area-inset-bottom));
}

.page {
  min-height: 100vh;
  padding: 0 20px calc(var(--nav-height) + 30px);
}

.page.no-nav {
  padding-bottom: 32px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(18px + env(safe-area-inset-top)) 0 14px;
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.back-button,
.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
}

.back-button svg,
.icon-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 12px env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.bottom-nav.is-hidden {
  display: none;
}

.bottom-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #8a8d85;
  font-size: 11px;
}

.bottom-nav a.is-active {
  color: var(--jade);
}

.bottom-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bottom-nav a.is-active svg {
  fill: rgba(27, 73, 157, 0.1);
}

.splash-screen,
.page-state {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  text-align: center;
}

.splash-screen p {
  margin: 2px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-seal {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(30, 53, 116, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-seal img {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 128%;
  max-width: none;
  transform: translateX(-50%);
}

.loading-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1b499d;
  animation: pulse 1.1s infinite alternate ease-in-out;
}

@keyframes pulse {
  to {
    opacity: 0.25;
    transform: scale(1.8);
  }
}

.login-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding:
    calc(52px + env(safe-area-inset-top))
    24px
    calc(30px + env(safe-area-inset-bottom));
}

.login-top {
  position: relative;
}

.login-top::after {
  position: absolute;
  top: -92px;
  right: -56px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(27, 73, 157, 0.15);
  border-radius: 50%;
  content: "";
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.login-brand p {
  margin: 0 0 2px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.login-brand span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.login-copy {
  margin: 62px 0 38px;
}

.login-back-home {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
}

.login-copy .eyebrow {
  color: var(--persimmon);
}

.login-copy h1 {
  max-width: 320px;
  margin: 12px 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 10vw, 46px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.login-copy p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.login-card {
  padding: 24px 20px 20px;
  border: 1px solid rgba(30, 53, 116, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.free-tool-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(30, 53, 116, 0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #eaf0fb);
  box-shadow: 0 10px 24px rgba(24, 50, 108, 0.08);
}

.free-tool-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, var(--jade), var(--persimmon));
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
}

.free-tool-entry small,
.free-tool-entry strong,
.free-tool-entry em {
  display: block;
}

.free-tool-entry small {
  margin-bottom: 3px;
  color: var(--persimmon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.free-tool-entry strong {
  font-size: 16px;
}

.free-tool-entry em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.free-tool-arrow {
  color: var(--persimmon);
  font-size: 21px;
  font-weight: 500;
}

.free-tool-entry.food {
  background: linear-gradient(135deg, #fff, #e8f4ee);
}

.free-tool-entry.food .free-tool-icon {
  background: linear-gradient(145deg, #285f51, #4b8b70);
}

.free-tool-entry.food small,
.free-tool-entry.food .free-tool-arrow {
  color: #2f715d;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea,
.search-box {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  outline: 0;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-field textarea {
  min-height: 90px;
  padding-top: 13px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.search-box:focus {
  border-color: rgba(27, 73, 157, 0.58);
  box-shadow: 0 0 0 4px rgba(27, 73, 157, 0.09);
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
}

.primary-button {
  width: 100%;
  color: #ffffff;
  background: var(--jade);
  box-shadow: 0 10px 22px rgba(30, 53, 116, 0.22);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.secondary-button {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.text-button {
  min-height: 40px;
  padding: 0 6px;
  color: var(--jade);
  background: transparent;
}

.login-help,
.login-legal {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.login-help strong {
  color: var(--ink);
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(20px + env(safe-area-inset-top)) 0 17px;
}

.public-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(20px + env(safe-area-inset-top)) 0 17px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.home-brand .brand-seal {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: none;
}

.home-brand p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.public-login-button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(30, 53, 116, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.public-home-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 26px 22px;
  border-radius: 26px;
  color: white;
  background:
    radial-gradient(circle at 91% 4%, rgba(255, 255, 255, 0.19), transparent 11rem),
    linear-gradient(145deg, #254b9d, #172d67);
  box-shadow: 0 18px 38px rgba(30, 53, 116, 0.21);
}

.public-home-hero .eyebrow {
  color: #a9c4ff;
}

.public-home-hero h1 {
  max-width: 330px;
  margin: 10px 0 12px;
  font-size: clamp(29px, 8vw, 40px);
  line-height: 1.18;
}

.public-home-hero > p:not(.eyebrow) {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.public-home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 21px;
}

.public-home-actions .primary-button {
  color: #1c3473;
  background: white;
  box-shadow: none;
}

.public-home-actions .secondary-button {
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.public-tool-section {
  margin-top: 0;
}

.public-course-search {
  margin-top: 24px;
}

.public-member-notice {
  display: grid;
  gap: 14px;
  margin: 8px 0 6px;
  padding: 19px;
  border: 1px solid rgba(30, 53, 116, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.public-member-notice strong {
  font-size: 15px;
}

.public-member-notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.avatar-button,
.profile-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(30, 53, 116, 0.12);
  border-radius: 50%;
  color: var(--jade);
  background: var(--jade-soft);
  font-family: var(--font-serif);
  font-weight: 700;
}

.search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.search-wrap svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: #8a8d85;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-box {
  min-height: 46px;
  padding-left: 44px;
  background: rgba(255, 255, 255, 0.86);
}

.member-banner {
  position: relative;
  min-height: 164px;
  margin-bottom: 22px;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  color: #ffffff;
  background: #1e3574;
  box-shadow: 0 18px 38px rgba(30, 53, 116, 0.22);
}

.member-banner::before,
.member-banner::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.member-banner::before {
  top: -80px;
  right: -38px;
  width: 200px;
  height: 200px;
}

.member-banner::after {
  right: 65px;
  bottom: -95px;
  width: 150px;
  height: 150px;
}

.member-banner > * {
  position: relative;
  z-index: 1;
}

.member-banner .eyebrow {
  color: #9fc0ff;
}

.member-banner h1 {
  max-width: 290px;
  margin: 11px 0 18px;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.28;
}

.member-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.member-meta strong {
  color: #fff;
}

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

.category-card {
  display: grid;
  min-height: 98px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 12px 5px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.88);
}

.category-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: var(--jade);
  background: var(--jade-soft);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.category-card:nth-child(2) .category-icon {
  color: #1b499d;
  background: #e4edfd;
}

.category-card:nth-child(3) .category-icon {
  color: #365fb3;
  background: #eaf0fb;
}

.category-card:nth-child(4) .category-icon {
  color: #23478d;
  background: #e1eafb;
}

.category-card.tool.food .category-icon {
  color: #2d6e5a;
  background: #e2f1ea;
}

.category-card span:last-child {
  font-size: 12px;
  font-weight: 700;
}

.section {
  margin: 0 0 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-link {
  color: var(--jade);
  font-size: 12px;
  font-weight: 700;
}

.continue-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(24, 50, 108, 0.06);
}

.course-cover {
  position: relative;
  display: flex;
  min-height: 128px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  color: #fff;
  background: var(--jade);
}

.course-cover::after {
  position: absolute;
  top: -22px;
  right: -28px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.course-cover.small {
  min-height: 82px;
  padding: 12px;
  border-radius: 14px;
}

.course-cover .cover-mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
}

.course-cover .cover-type {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.72;
}

.theme-jade {
  background: #1e3574;
}

.theme-persimmon {
  background: #1b499d;
}

.theme-rosewood {
  background: #335db3;
}

.theme-night {
  background: #13264f;
}

.theme-ochre {
  background: #4773c7;
}

.theme-paper {
  color: #1e3574;
  background: #dfe8f8;
}

.theme-moss {
  background: #2b4b91;
}

.continue-info h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.continue-info p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-track {
  height: 5px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--paper-deep);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #1b499d;
}

.continue-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}

.course-list {
  display: grid;
  gap: 14px;
}

.course-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 25px rgba(24, 50, 108, 0.06);
}

.course-card .course-cover {
  min-height: 118px;
}

.course-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}

.tag {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--jade);
  background: var(--jade-soft);
  font-size: 10px;
  font-weight: 700;
}

.tag.locked {
  color: #68738a;
  background: #edf1f7;
}

.tag.preview {
  color: #1b499d;
  background: var(--persimmon-soft);
}

.course-content h3 {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.42;
}

.course-content > p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  margin: 3px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.filter-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.filter-button.is-active {
  border-color: var(--jade);
  color: #fff;
  background: var(--jade);
}

.empty-card {
  padding: 30px 20px;
  border: 1px dashed rgba(30, 53, 116, 0.25);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.course-hero {
  margin: 0 -20px 24px;
  padding: 16px 20px 28px;
  color: #fff;
  background: var(--jade);
}

.course-hero .back-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.course-hero-cover {
  display: grid;
  min-height: 230px;
  place-items: end start;
  align-content: end;
  margin-top: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px 30px 30px 8px;
  background:
    radial-gradient(circle at 78% 21%, rgba(255, 255, 255, 0.16), transparent 9rem),
    rgba(255, 255, 255, 0.07);
}

.course-hero-cover .eyebrow {
  color: #b6ccfa;
}

.course-hero h1 {
  max-width: 340px;
  margin: 9px 0 10px;
  font-family: var(--font-serif);
  font-size: 31px;
  line-height: 1.22;
}

.course-hero p {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.7;
}

.course-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -10px 0 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.course-status-bar strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.course-status-bar span {
  color: var(--muted);
  font-size: 11px;
}

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

.lesson-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
  min-height: 72px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.lesson-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--jade);
  background: var(--jade-soft);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}

.lesson-row.is-locked .lesson-number {
  color: #747f93;
  background: #edf1f7;
}

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

.lesson-copy strong {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.lesson-row > svg {
  width: 18px;
  fill: none;
  stroke: #8f948d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.video-stage {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  margin: 0 -20px;
  color: #fff;
  background: #0d1733;
}

.video-stage video {
  width: 100%;
  max-height: 70vh;
  background: #080e20;
}

.video-placeholder {
  display: grid;
  max-width: 320px;
  place-items: center;
  gap: 13px;
  padding: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.play-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 19px;
}

.lesson-detail {
  padding: 22px 0;
}

.lesson-detail .eyebrow {
  color: var(--persimmon);
}

.lesson-detail h1 {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.35;
}

.lesson-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.lesson-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.lesson-actions .secondary-button {
  min-width: 0;
  font-size: 12px;
}

.lesson-actions button:disabled {
  opacity: 0.38;
}

.complete-button {
  margin-bottom: 22px;
}

.article-card {
  margin: 0 -2px 24px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 50, 108, 0.06);
}

.article-content {
  color: #202d4b;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.95;
}

.article-content h2,
.article-content h3 {
  margin: 1.4em 0 0.65em;
  color: var(--ink);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  color: #3f4e6b;
}

.article-content blockquote {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--persimmon);
  color: #465576;
  background: #eef3fc;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.7;
}

.comic-reader {
  display: grid;
  gap: 18px;
  margin: 24px -12px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.comic-reader-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.comic-reader-heading strong {
  color: var(--ink);
  font-size: 13px;
}

.comic-page {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #d9e3f4;
  border-radius: 16px;
  background: #edf3fc;
  box-shadow: 0 8px 22px rgba(25, 58, 122, 0.08);
}

.comic-page img {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(145deg, #edf3fc, #fff);
}

.comic-page figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 49, 110, 0.72);
  font-size: 10px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.download-panel p {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 700;
}

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

.profile-card {
  position: relative;
  overflow: hidden;
  margin: 8px 0 18px;
  padding: 24px 20px;
  border-radius: 24px;
  color: #fff;
  background: var(--jade);
  box-shadow: 0 16px 34px rgba(30, 53, 116, 0.2);
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 20px;
}

.profile-main h2 {
  margin: 0 0 5px;
  font-family: var(--font-serif);
  font-size: 22px;
}

.profile-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.profile-membership {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-membership div:last-child {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-membership span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.profile-membership strong {
  font-size: 13px;
}

.menu-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.9);
}

.menu-row {
  display: grid;
  width: 100%;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 10px 15px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

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

.menu-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: var(--jade);
  background: var(--jade-soft);
  font-family: var(--font-serif);
  font-weight: 700;
}

.menu-copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

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

.menu-row > svg {
  width: 17px;
  fill: none;
  stroke: #9a9d97;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.logout-button {
  width: 100%;
  margin-top: 16px;
  color: #a34833;
}

.page-state {
  min-height: 70vh;
}

.page-state h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 23px;
}

.page-state p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.error-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  color: #a34833;
  background: var(--persimmon-soft);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}

.toast-region {
  position: fixed;
  z-index: 80;
  top: calc(18px + env(safe-area-inset-top));
  right: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.toast {
  max-width: 420px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 33, 62, 0.95);
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: toast-in 180ms ease-out;
}

.toast.error {
  background: rgba(159, 51, 67, 0.96);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.skeleton {
  overflow: hidden;
  border-radius: 14px;
  background: #e5eaf3;
  animation: skeleton 1.2s infinite alternate;
}

@keyframes skeleton {
  to {
    opacity: 0.45;
  }
}

/* 免费工具：儿推穴位检索 */
.public-tool-page {
  min-height: 100vh;
  padding:
    calc(18px + env(safe-area-inset-top))
    18px
    calc(38px + env(safe-area-inset-bottom));
}

.public-tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.public-brand .brand-seal {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.public-brand strong,
.public-brand small {
  display: block;
}

.public-brand strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.public-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.public-account-link {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--jade);
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
}

.acupoint-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 255, 255, 0.2), transparent 11rem),
    linear-gradient(145deg, #172f6a, #2657ab);
  box-shadow: 0 18px 38px rgba(24, 50, 108, 0.19);
}

.acupoint-hero::after {
  position: absolute;
  right: -48px;
  bottom: -74px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.acupoint-hero .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: #bcd0f7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.acupoint-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 9vw, 40px);
  letter-spacing: 0.02em;
}

.acupoint-hero > div > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.7;
}

.acupoint-count {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 70px;
  justify-items: end;
  padding-bottom: 3px;
}

.acupoint-count strong {
  font-size: 34px;
  line-height: 1;
}

.acupoint-count span {
  margin-top: 5px;
  color: #cbd9f6;
  font-size: 10px;
}

.acupoint-search-panel {
  position: relative;
  z-index: 3;
  margin: -2px 10px 24px;
  padding: 14px;
  border: 1px solid rgba(30, 53, 116, 0.1);
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(24, 50, 108, 0.09);
  backdrop-filter: blur(16px);
}

.acupoint-search-box {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(30, 53, 116, 0.13);
  border-radius: 16px;
  background: #f7f9fd;
}

.acupoint-search-box:focus-within {
  border-color: rgba(27, 73, 157, 0.48);
  box-shadow: 0 0 0 3px rgba(27, 73, 157, 0.08);
}

.acupoint-search-box svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--persimmon);
  stroke-linecap: round;
  stroke-width: 1.8;
}

.acupoint-search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.region-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 12px;
  padding: 1px 0 3px;
  scrollbar-width: none;
}

.region-filters::-webkit-scrollbar {
  display: none;
}

.region-filters button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.region-filters button.is-active {
  border-color: var(--jade);
  color: #fff;
  background: var(--jade);
}

.acupoint-results {
  margin: 0 2px;
}

.acupoint-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.acupoint-results-heading h2 {
  margin: 0;
  font-size: 21px;
}

.acupoint-results-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.acupoint-results-heading button {
  padding: 6px 0;
  color: var(--persimmon);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

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

.acupoint-card {
  display: block;
  padding: 19px 18px 15px;
  border: 1px solid rgba(30, 53, 116, 0.1);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 23px rgba(24, 50, 108, 0.06);
}

.acupoint-card:active {
  transform: translateY(1px);
}

.acupoint-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.acupoint-card h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0.02em;
}

.acupoint-alias {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.region-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--persimmon);
  background: var(--persimmon-soft);
  font-size: 10px;
  font-weight: 800;
}

.acupoint-card-field {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  margin-top: 9px;
}

.acupoint-card-field > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.acupoint-card-field.effect > span {
  color: var(--persimmon);
}

.acupoint-card-field p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #46516a;
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.acupoint-card-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--persimmon);
  font-size: 11px;
  font-weight: 800;
}

.acupoint-card-more strong {
  font-size: 17px;
}

.acupoint-empty {
  padding: 38px 24px;
  border: 1px dashed rgba(30, 53, 116, 0.2);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.64);
}

.acupoint-empty span {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: var(--persimmon);
  background: var(--persimmon-soft);
  font-size: 11px;
  font-weight: 800;
}

.acupoint-empty h3 {
  margin: 13px 0 5px;
}

.acupoint-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.medical-disclaimer {
  margin-top: 24px;
  padding: 16px 17px;
  border-left: 3px solid #5273b6;
  border-radius: 5px 16px 16px 5px;
  color: #536078;
  background: rgba(228, 237, 253, 0.72);
}

.medical-disclaimer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--jade);
  font-size: 12px;
}

.medical-disclaimer p {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
}

.tool-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.tool-back-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.acupoint-detail {
  overflow: hidden;
  border: 1px solid rgba(30, 53, 116, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.acupoint-detail-head {
  position: relative;
  overflow: hidden;
  padding: 27px 22px 24px;
  background:
    radial-gradient(circle at 94% 16%, rgba(52, 99, 184, 0.12), transparent 9rem),
    linear-gradient(150deg, #f8faff, #e9f0fc);
}

.acupoint-detail-head::after {
  position: absolute;
  right: -42px;
  bottom: -83px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(30, 53, 116, 0.1);
  border-radius: 50%;
  content: "";
}

.acupoint-detail-head .eyebrow {
  margin: 16px 0 6px;
  color: var(--persimmon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.acupoint-detail-head h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.2;
}

.acupoint-alias-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.acupoint-alias-list span {
  padding: 5px 9px;
  border: 1px solid rgba(30, 53, 116, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.acupoint-detail-sections {
  padding: 4px 21px 9px;
}

.acupoint-detail-section {
  padding: 20px 1px;
  border-bottom: 1px solid var(--line);
}

.acupoint-detail-section:last-child {
  border-bottom: 0;
}

.acupoint-detail-section > span {
  display: block;
  margin-bottom: 8px;
  color: var(--persimmon);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.acupoint-detail-section.effect {
  margin: 4px -10px;
  padding: 18px 11px;
  border: 0;
  border-radius: 16px;
  background: #edf3fe;
}

.acupoint-detail-section p {
  margin: 0;
  color: #36425b;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.acupoint-detail-section.note > span {
  color: #6b7280;
}

/* 免费工具：儿童食养资料检索 */
.food-tool-page {
  --food-green: #2f6f5b;
  --food-green-deep: #214f43;
  --food-green-soft: #e8f4ee;
  --food-gold: #b37a32;
  --food-gold-soft: #f7eddd;
}

.food-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  overflow: hidden;
  padding: 26px 22px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 2%, rgba(255, 255, 255, 0.18), transparent 11rem),
    linear-gradient(145deg, var(--food-green-deep), #438169);
  box-shadow: 0 18px 38px rgba(33, 79, 67, 0.19);
}

.food-hero::after {
  position: absolute;
  right: -38px;
  bottom: -82px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.food-hero .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: #cbe6db;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.food-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.food-hero > div > p:last-child {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.7;
}

.food-count {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 62px;
  justify-items: end;
}

.food-count strong {
  font-size: 32px;
  line-height: 1;
}

.food-count span {
  margin-top: 5px;
  color: #cce6dc;
  font-size: 9px;
}

.food-search-panel {
  position: relative;
  z-index: 3;
  margin: -2px 10px 24px;
  padding: 14px;
  border: 1px solid rgba(47, 111, 91, 0.12);
  border-radius: 0 0 22px 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(33, 79, 67, 0.09);
}

.food-search-box svg {
  stroke: var(--food-green);
}

.food-search-box:focus-within {
  border-color: rgba(47, 111, 91, 0.5);
  box-shadow: 0 0 0 3px rgba(47, 111, 91, 0.08);
}

.food-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 11px;
}

.food-filter-grid label {
  display: grid;
  gap: 5px;
}

.food-filter-grid label > span {
  padding-left: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.food-filter-grid select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: 0;
  background: #f8fafc;
  font-size: 11px;
}

.food-filter-note {
  margin: 10px 2px 0;
  color: var(--food-green);
  font-size: 10px;
  line-height: 1.65;
}

.food-urgent-notice,
.food-age-notice {
  margin: 0 2px 22px;
  padding: 17px 18px;
  border-radius: 18px;
}

.food-urgent-notice {
  border: 1px solid rgba(166, 51, 66, 0.2);
  color: #802c39;
  background: #faeaed;
}

.food-age-notice {
  border: 1px solid rgba(179, 122, 50, 0.22);
  color: #78501e;
  background: var(--food-gold-soft);
}

.food-urgent-notice strong,
.food-age-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.food-urgent-notice p,
.food-age-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.75;
}

.food-results {
  margin: 0 2px;
}

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

.food-recipe-card {
  display: block;
  padding: 18px;
  border: 1px solid rgba(47, 111, 91, 0.12);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 23px rgba(33, 79, 67, 0.06);
}

.food-recipe-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.food-category-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--food-green);
  background: var(--food-green-soft);
  font-size: 10px;
  font-weight: 800;
}

.food-card-arrow {
  color: var(--food-green);
  font-size: 18px;
}

.food-recipe-card h3 {
  margin: 12px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.food-ingredients,
.food-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #4a5868;
  font-size: 12px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
}

.food-ingredients {
  -webkit-line-clamp: 2;
}

.food-summary {
  margin-top: 7px;
  color: var(--muted);
  -webkit-line-clamp: 2;
}

.food-ingredients strong {
  margin-right: 8px;
  color: var(--food-green);
  font-size: 10px;
}

.food-safety-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.food-safety-badges:empty {
  display: none;
}

.food-safety-badges span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #76501f;
  background: var(--food-gold-soft);
  font-size: 9px;
  font-weight: 700;
}

.food-disclaimer {
  border-left-color: var(--food-green);
  background: rgba(232, 244, 238, 0.86);
}

.food-disclaimer strong {
  color: var(--food-green-deep);
}

.food-detail {
  overflow: hidden;
  border: 1px solid rgba(47, 111, 91, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(33, 79, 67, 0.1);
}

.food-detail-head {
  position: relative;
  overflow: hidden;
  padding: 27px 22px 24px;
  background:
    radial-gradient(circle at 95% 10%, rgba(47, 111, 91, 0.14), transparent 9rem),
    linear-gradient(145deg, #f8fcfa, #e5f2ec);
}

.food-detail-head .eyebrow {
  margin: 16px 0 6px;
  color: var(--food-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.food-detail-head h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(29px, 8vw, 40px);
  line-height: 1.25;
}

.food-recipe-poster {
  margin: 0;
  padding: 18px 18px 10px;
  background: #f4efe2;
  border-bottom: 1px solid rgba(37, 65, 51, 0.12);
}

.food-recipe-poster img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(37, 65, 51, 0.16);
}

.food-recipe-poster figcaption {
  margin-top: 10px;
  color: #6b756e;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.food-detail-warning,
.food-review-notice {
  margin: 16px 18px 0;
  padding: 15px 16px;
  border-radius: 15px;
}

.food-detail-warning {
  color: #7b4a10;
  background: #fff0d9;
}

.food-review-notice {
  color: #7d3340;
  background: #faeaed;
}

.food-detail-warning strong,
.food-review-notice strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.food-detail-warning p,
.food-review-notice ul {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.food-review-notice ul {
  padding-left: 17px;
}

.food-detail-sections {
  padding: 5px 21px 10px;
}

.food-detail-section {
  padding: 20px 1px;
  border-bottom: 1px solid var(--line);
}

.food-detail-section:last-child {
  border-bottom: 0;
}

.food-detail-section > span {
  display: block;
  margin-bottom: 8px;
  color: var(--food-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.food-detail-section p {
  margin: 0;
  color: #364a45;
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.food-detail-section.ingredients {
  margin: 4px -10px 0;
  padding: 18px 11px;
  border: 0;
  border-radius: 16px;
  background: var(--food-green-soft);
}

.food-detail-section.caution {
  margin: 4px -10px;
  padding: 18px 11px;
  border: 0;
  border-radius: 16px;
  background: var(--food-gold-soft);
}

.food-detail-section.caution > span {
  color: #8a5b22;
}

@media (min-width: 640px) {
  .site-shell {
    max-width: 560px;
    min-height: 100vh;
    box-shadow: 0 0 60px rgba(24, 50, 108, 0.14);
  }

  .bottom-nav {
    right: 50%;
    left: auto;
    width: 560px;
    transform: translateX(50%);
  }
}

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

/* 管理后台 */
.admin-body {
  min-height: 100vh;
  background: #edf1f8;
}

.admin-body .site-shell {
  max-width: none;
  overflow: visible;
  background: #edf1f8;
  box-shadow: none;
}

.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(100%, 420px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-login-card .login-brand {
  margin-bottom: 28px;
}

.admin-login-card h1 {
  margin: 0 0 7px;
  font-family: var(--font-serif);
  font-size: 27px;
}

.admin-login-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.admin-layout {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 230px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 25px 18px;
  color: #f6f8ff;
  background: #1e3574;
}

.admin-sidebar .login-brand {
  padding: 0 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar .brand-seal {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #ffffff;
  box-shadow: none;
  font-size: 20px;
}

.admin-sidebar .login-brand p {
  font-size: 18px;
}

.admin-sidebar .login-brand span {
  color: rgba(255, 255, 255, 0.55);
}

.admin-nav {
  display: grid;
  gap: 7px;
  margin-top: 22px;
}

.admin-nav button {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
  background: transparent;
  text-align: left;
}

.admin-nav button.is-active,
.admin-nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-user {
  margin-top: auto;
  padding: 16px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user p {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 700;
}

.admin-user span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.admin-user button {
  min-height: 36px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-main {
  min-width: 0;
  padding: 32px clamp(24px, 4vw, 52px) 50px;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-header h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 31px;
}

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

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.summary-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--white);
}

.summary-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
}

.summary-card strong {
  font-family: var(--font-serif);
  font-size: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 9px 28px rgba(24, 50, 108, 0.05);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
}

.admin-panel-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.admin-panel-body {
  padding: 20px;
}

.admin-panel .search-wrap {
  width: min(280px, 100%);
  margin: 0;
}

.admin-panel .search-box {
  min-height: 40px;
  background: #f5f7fb;
}

.admin-form .form-field {
  margin-bottom: 14px;
}

.admin-form .form-field input,
.admin-form .form-field select,
.admin-form .form-field textarea {
  min-height: 44px;
  background: #f7f9fc;
}

.admin-form .primary-button {
  min-height: 44px;
  margin-top: 3px;
}

.form-hint {
  margin: -6px 0 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table th {
  color: var(--muted);
  background: #f5f7fb;
  font-size: 10px;
  font-weight: 700;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table strong {
  font-size: 12px;
}

.table-action {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--jade);
  background: transparent;
  font-size: 10px;
}

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

.course-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.course-admin-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.course-admin-row span {
  color: var(--muted);
  font-size: 10px;
}

.admin-mobile-bar {
  display: none;
}

@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    display: none;
  }

  .admin-main {
    padding: 78px 16px 35px;
  }

  .admin-mobile-bar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    min-height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: env(safe-area-inset-top) 16px 0;
    color: #fff;
    background: #1e3574;
  }

  .admin-mobile-bar strong {
    font-family: var(--font-serif);
  }

  .admin-mobile-bar button {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
  }

  .admin-summary {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 560px) {
  .admin-header {
    align-items: start;
    flex-direction: column;
  }

  .admin-header h1 {
    font-size: 27px;
  }

  .admin-summary {
    gap: 9px;
  }

  .summary-card {
    padding: 16px;
  }

  .summary-card strong {
    font-size: 26px;
  }

  .admin-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-panel .search-wrap {
    width: 100%;
  }
}

/* Work tools: shop talks, business diagnostics and tuina study plans */
.login-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 10px 0 18px;
}

.login-tool-tile {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 14px 7px 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.login-tool-tile > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--jade-soft);
  color: var(--jade);
  font-weight: 800;
}

.login-tool-tile strong {
  font-size: 13px;
}

.login-tool-tile small {
  overflow: hidden;
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-tool-tile.business > span {
  background: #e4f5f0;
  color: #176b5b;
}

.login-tool-tile.plans > span {
  background: #f4e9e7;
  color: #914f43;
}

.category-card.tool.talks .category-icon {
  background: #ece9fb;
  color: #5849a3;
}

.category-card.tool.business .category-icon {
  background: #e4f5f0;
  color: #176b5b;
}

.category-card.tool.plans .category-icon {
  background: #f4e9e7;
  color: #914f43;
}

.work-tool-page {
  padding-bottom: 42px;
}

.work-tool-hero {
  position: relative;
  overflow: hidden;
  margin: 4px 0 16px;
  padding: 25px 22px 21px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.34), transparent 9rem),
    linear-gradient(145deg, #253d7f, #182d68);
  box-shadow: var(--shadow);
  color: white;
}

.work-tool-hero.talks {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.32), transparent 9rem),
    linear-gradient(145deg, #50459b, #253d7f);
}

.work-tool-hero.business {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.32), transparent 9rem),
    linear-gradient(145deg, #1c7765, #184f60);
}

.work-tool-hero.plans {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.32), transparent 9rem),
    linear-gradient(145deg, #9b594d, #693e56);
}

.work-tool-hero .eyebrow {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.work-tool-hero h1 {
  margin: 0;
  font-size: clamp(25px, 7vw, 36px);
  letter-spacing: 0.02em;
}

.work-tool-hero > p:not(.eyebrow) {
  max-width: 36rem;
  margin: 11px 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.75;
}

.work-tool-stats {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.work-tool-stats strong {
  font-size: 29px;
}

.work-tool-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.work-search-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.filter-scroll {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  margin-top: 11px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

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

.filter-scroll button {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 12px;
}

.filter-scroll button.is-active {
  border-color: var(--jade);
  background: var(--jade);
  color: white;
}

.work-result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 22px 2px 12px;
}

.work-result-heading h2 {
  margin: 0;
  font-size: 20px;
}

.work-result-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.work-result-heading button {
  padding: 7px 10px;
  border-radius: 9px;
  background: var(--jade-soft);
  color: var(--jade);
  font-size: 12px;
}

.talk-list,
.plan-list,
.business-tool-list {
  display: grid;
  gap: 11px;
}

.talk-card,
.plan-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(29, 50, 104, 0.06);
}

.talk-card > div,
.plan-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.talk-card > div span,
.plan-card > div span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #ece9fb;
  color: #5849a3;
  font-size: 11px;
  font-weight: 700;
}

.talk-card > div small,
.plan-card > div small {
  color: #a2a8b5;
  font-weight: 800;
}

.talk-card h3,
.plan-card h3 {
  margin: 13px 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

.talk-card p,
.plan-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.talk-card > strong,
.plan-card > strong {
  display: block;
  margin-top: 12px;
  color: var(--jade);
  font-size: 12px;
}

.plan-card > div span {
  background: #e8f1fb;
  color: #31558e;
}

.plan-card.review > div span {
  background: #fff3d9;
  color: #8a641e;
}

.plan-card.urgent > div span {
  background: #fde9e6;
  color: #a23e35;
}

.tool-notice,
.privacy-notice,
.medical-alert {
  margin-top: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(30, 53, 116, 0.12);
  border-radius: 16px;
  background: #eef3fb;
}

.tool-notice strong,
.privacy-notice strong,
.medical-alert strong {
  font-size: 13px;
}

.tool-notice p,
.privacy-notice p,
.medical-alert p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.privacy-notice {
  margin: 0 0 14px;
  border-color: rgba(23, 107, 91, 0.18);
  background: #eaf7f3;
}

.medical-alert {
  margin: 0 0 14px;
  border-color: rgba(145, 79, 67, 0.18);
  background: #fbf0ee;
}

.medical-alert.is-critical {
  border-color: #dd6b60;
  background: #fff1ef;
  color: #8f2d25;
}

.medical-alert.is-critical p {
  color: #7b443f;
}

.critical-result {
  padding: 22px 18px;
  border: 1px solid #eaa59e;
  border-radius: 18px;
  background: #fff6f4;
}

.critical-result strong {
  color: #942f27;
}

.critical-result p {
  margin: 8px 0 0;
  color: #70433f;
  font-size: 13px;
  line-height: 1.75;
}

.work-detail-page .tool-back-link {
  margin: 8px 0 14px;
}

.talk-detail,
.plan-detail,
.business-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.talk-detail > header,
.plan-detail > header,
.business-detail > header {
  padding: 24px 21px;
  background: linear-gradient(145deg, #253d7f, #182d68);
  color: white;
}

.talk-detail > header span,
.plan-detail > header span,
.business-detail > header span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.talk-detail > header h1,
.plan-detail > header h1,
.business-detail > header h1 {
  margin: 9px 0 0;
  font-size: 24px;
  line-height: 1.45;
}

.talk-detail-block {
  padding: 21px;
  border-bottom: 1px solid var(--line);
}

.talk-detail-block:last-child {
  border-bottom: 0;
}

.talk-detail-block small {
  color: #7e879b;
  font-size: 11px;
  font-weight: 800;
}

.talk-detail-block h2 {
  margin: 5px 0 12px;
  font-size: 18px;
}

.talk-detail-block p,
.talk-detail-block blockquote {
  margin: 0;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.9;
}

.talk-detail-block.script {
  background: #f0f3fb;
}

.talk-detail-block blockquote {
  padding: 16px;
  border-left: 3px solid var(--jade);
  border-radius: 0 13px 13px 0;
  background: white;
  color: #1c2b50;
}

.plan-detail > header {
  background: linear-gradient(145deg, #9b594d, #693e56);
}

.plan-detail > header.review {
  background: linear-gradient(145deg, #9b781e, #73551a);
}

.plan-detail > header.urgent {
  background: linear-gradient(145deg, #a84940, #752f36);
}

.plan-detail > header p,
.business-detail > header p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.6;
}

.plan-detail .medical-alert {
  margin: 16px;
}

.plan-sections {
  padding: 5px 20px 20px;
}

.plan-section {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.plan-section:last-child {
  border-bottom: 0;
}

.plan-section h2,
.plan-section h3 {
  margin: 0 0 11px;
}

.plan-section h2 {
  color: #793f48;
  font-size: 19px;
}

.plan-section h3 {
  font-size: 16px;
}

.plan-section p,
.plan-section li {
  color: #404a60;
  font-size: 14px;
  line-height: 1.8;
}

.plan-section p {
  margin: 8px 0;
}

.plan-section ul {
  margin: 0;
  padding-left: 21px;
}

.plan-section li + li {
  margin-top: 6px;
}

.business-tool-card {
  display: grid;
  align-items: center;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.business-tool-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #e4f5f0;
  color: #176b5b;
  font-size: 12px;
  font-weight: 800;
}

.business-tool-card h2 {
  margin: 0;
  font-size: 15px;
}

.business-tool-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.business-tool-card > strong {
  color: #176b5b;
}

.business-detail > header {
  background: linear-gradient(145deg, #1c7765, #184f60);
}

.business-sheet-tabs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  background: #f5f9f8;
  scrollbar-width: none;
}

.business-sheet-tabs::-webkit-scrollbar {
  display: none;
}

.business-sheet-tabs a {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 12px;
}

.business-sheet-tabs a.is-active {
  background: #176b5b;
  color: white;
}

.business-sheet {
  display: grid;
  gap: 9px;
  padding: 13px;
  background: #f7faf9;
}

.business-row {
  display: flex;
  overflow: hidden;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(23, 107, 91, 0.11);
  border-radius: 14px;
  background: white;
}

.business-cell {
  min-width: 0;
}

.business-cell.text {
  display: flex;
  min-width: 110px;
  align-items: center;
  flex: 1 1 160px;
  padding: 8px 9px;
  border-radius: 9px;
}

.business-cell.text span {
  white-space: pre-line;
  font-size: 12px;
  line-height: 1.55;
}

.business-cell.text.color-7239183,
.business-cell.text.color-3968969,
.business-cell.text.color-5992223 {
  background: #176b5b;
  color: white;
  font-weight: 800;
}

.business-cell.input,
.business-cell.formula {
  position: relative;
  flex: 1 1 135px;
  min-width: 120px;
}

.business-cell small {
  position: absolute;
  z-index: 1;
  top: 5px;
  right: 7px;
  color: rgba(21, 33, 62, 0.37);
  font-size: 8px;
  pointer-events: none;
}

.business-cell input,
.business-cell select {
  width: 100%;
  min-height: 46px;
  padding: 15px 26px 7px 10px;
  border: 1px solid #e6c56c;
  border-radius: 10px;
  outline: none;
  background: #fef3c7;
  font-size: 13px;
}

.business-cell input:focus,
.business-cell select:focus {
  border-color: #176b5b;
  box-shadow: 0 0 0 3px rgba(23, 107, 91, 0.12);
}

.business-cell.formula strong {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 15px 26px 7px 10px;
  border-radius: 10px;
  background: #ccfbf1;
  color: #105849;
  font-size: 13px;
}

.business-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.secondary-button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}

@media (min-width: 760px) {
  .talk-list,
  .plan-list,
  .business-tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-tool-page {
    max-width: 940px;
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
  .public-home-actions {
    grid-template-columns: 1fr;
  }

  .login-tool-tile strong {
    font-size: 12px;
  }

  .business-row {
    padding: 8px;
  }

  .business-cell.text {
    flex-basis: 100%;
  }

  .business-actions {
    grid-template-columns: 1fr;
  }
}

@media print {
  .public-tool-header,
  .tool-back-link,
  .business-sheet-tabs,
  .business-actions,
  .privacy-notice,
  .bottom-nav {
    display: none !important;
  }

  .site-shell,
  body {
    background: white;
  }

  .business-detail {
    border: 0;
    box-shadow: none;
  }
}
