/* Mobile-first refined product UI
   Clean white system · iOS + Ant Design Mobile */

:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #1a1d24;
  --text-2: #4b5565;
  --muted: #8b95a5;
  --line: #e7ebf0;
  --line-2: #d5dbe3;
  --brand: #2f6bff;
  --brand-soft: #eef3ff;
  --brand-deep: #1f54e0;
  --ok: #12a678;
  --ok-soft: #e9f9f3;
  --warn: #e07a2f;
  --warn-soft: #fff5eb;
  --danger: #e5484d;
  --danger-soft: #ffeff0;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.03), 0 8px 24px rgba(16, 24, 40, 0.04);
  --shadow-float: 0 12px 36px rgba(16, 24, 40, 0.1);
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --tap: 46px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

[hidden] {
  display: none !important;
}

.app {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(16px + var(--safe-b));
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: calc(10px + var(--safe-t)) 14px 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(231, 235, 240, 0.95);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #2a2f3a 0%, #151820 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(21, 24, 32, 0.18);
  text-transform: lowercase;
}

.logo.sm {
  width: 30px;
  height: 30px;
  font-size: 9px;
  border-radius: 9px;
  box-shadow: none;
}

.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.nav-title strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-title span {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #ffd9b0;
  white-space: nowrap;
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-chip.on {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: #b5ebc8;
}

.nav-btn {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: #f4f6f8;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.nav-btn:active {
  background: #ebeef2;
  transform: scale(0.98);
}

.nav-btn.solid {
  background: #151820;
  color: #fff;
  box-shadow: 0 4px 12px rgba(21, 24, 32, 0.16);
}

.nav-btn.solid:active {
  background: #000;
}

.nav-btn[hidden] {
  display: none !important;
}

/* ── Steps ── */
.steps-wrap {
  padding: 10px 12px 0;
  max-width: 760px;
  margin: 0 auto;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(231, 235, 240, 0.9);
  border-radius: 999px;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.steps li.on {
  transform: translateY(-0.5px);
}

.steps li .n {
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.steps li.on .n {
  animation: pulse-soft 0.45s ease;
}

.steps li .n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8ecf1;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--muted);
}

.steps li.on {
  color: var(--brand-deep);
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.steps li.on .n {
  background: var(--brand);
  color: #fff;
}

.steps li.done {
  color: var(--ok);
  background: transparent;
}

.steps li.done .n {
  background: var(--ok-soft);
  color: var(--ok);
  box-shadow: inset 0 0 0 1px #b5ebc8;
}

/* ── Main ── */
.main {
  padding: 12px;
  max-width: 760px;
  margin: 0 auto;
}

/* soften page1 first card on all sizes */
#page1 > .card:first-child {
  border-color: #e6ebf2;
}

.page {
  animation: page-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page.is-leaving,
.block.is-leaving {
  animation: page-out 0.16s ease both;
}

.page.is-entering {
  animation: page-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.block {
  animation: block-in 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.block.is-entering {
  animation: block-in 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes block-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.98);
  }
}

@keyframes fade-soft {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.card.soft {
  background: #fff;
}

.card.focus {
  border-color: #d6e4ff;
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.06);
}

.card.success {
  border-color: #c6f0d5;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.card-top h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.eyebrow.ok {
  color: var(--ok);
}

h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h2,
h3,
h4 {
  margin: 0 0 8px;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 15px;
}

.sub,
.help,
.muted {
  color: var(--muted);
  font-size: 13px;
}

.sub {
  margin: 0 0 16px;
  line-height: 1.55;
}

.help {
  margin: 0 0 12px;
}

.lab {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.lab small {
  margin-left: 4px;
  color: var(--muted);
  font-weight: 500;
}

.tip-line {
  margin: 8px 0 14px;
  font-size: 12px;
  color: var(--muted);
}

.tip-line em {
  font-style: normal;
  color: var(--brand-deep);
  font-weight: 600;
}

textarea,
input[type="text"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

textarea:focus,
input[type="text"]:focus {
  border-color: #91bfff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

/* Buttons */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-row:has(> :nth-child(3)) {
  grid-template-columns: 1fr 1fr 1fr;
}

.btn {
  min-height: var(--tap);
  border-radius: 16px;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.985);
}

.btn-main {
  width: 100%;
  background: linear-gradient(180deg, #222733 0%, #151820 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(21, 24, 32, 0.16);
}

.btn-main:active {
  background: #000;
}

.btn-line {
  width: 100%;
  background: #fff;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.btn-line:active {
  background: #f7f8fa;
}

.text-btn {
  min-height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.text-btn:active {
  background: var(--brand-soft);
}

.text-btn.danger {
  color: var(--danger);
}

.text-btn.danger:active {
  background: var(--danger-soft);
}

.sticky-cta {
  position: sticky;
  bottom: calc(10px + var(--safe-b));
  z-index: 5;
  margin-top: 16px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(231, 235, 240, 0.95);
  box-shadow: var(--shadow-float);
}

.msg {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--brand-soft);
  border: 1px solid #cfe0ff;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}

.msg.bad {
  background: var(--danger-soft);
  border-color: #f7c5c9;
  color: #c4353e;
}

.msg.good {
  background: var(--ok-soft);
  border-color: #b5ebc8;
  color: #0d8a5b;
}

/* ── AI result panels (refine / candidates / check / measures) ── */
.ai-panel {
  margin: 12px 0 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
  overflow: hidden;
  animation: pop-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ai-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f5;
  background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
}

.ai-badge {
  flex-shrink: 0;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(160deg, #4d84ff, var(--brand));
  margin-top: 1px;
}

.ai-panel-titles {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.ai-panel-titles strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.ai-panel-titles span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.ai-list {
  display: grid;
  gap: 0;
}

.ai-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #eef1f5;
  animation: rise 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ai-item:nth-child(1) { animation-delay: 0.02s; }
.ai-item:nth-child(2) { animation-delay: 0.06s; }
.ai-item:nth-child(3) { animation-delay: 0.1s; }
.ai-item:nth-child(4) { animation-delay: 0.14s; }
.ai-item:nth-child(5) { animation-delay: 0.18s; }
.ai-item:nth-child(6) { animation-delay: 0.22s; }

.ai-item:first-child {
  border-top: 0;
}

.ai-item-main {
  min-width: 0;
  flex: 1;
}

.ai-item-text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  word-break: break-word;
}

.ai-item-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.ai-use {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d7e4ff;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 700;
  transition: 0.12s ease;
}

.ai-use:active {
  transform: scale(0.97);
  background: #dce9ff;
}

.ai-panel-foot {
  padding: 10px 14px 12px;
  border-top: 1px dashed #e5eaf1;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  background: #fbfcfe;
}

.ai-panel.tone-brand {
  border-color: #d6e4ff;
}

.ai-panel.tone-brand .ai-panel-head {
  background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.ai-panel.tone-good {
  border-color: #bfe9d3;
}

.ai-panel.tone-good .ai-badge {
  background: linear-gradient(160deg, #2ec99a, var(--ok));
}

.ai-panel.tone-good .ai-panel-head {
  background: linear-gradient(180deg, #f3fbf7 0%, #fff 100%);
}

.ai-panel.tone-good .ai-use {
  border-color: #b5ebc8;
  background: var(--ok-soft);
  color: #0d8a5b;
}

.ai-panel.tone-bad {
  border-color: #f3c5c9;
}

.ai-panel.tone-bad .ai-badge {
  background: linear-gradient(160deg, #f07178, var(--danger));
}

.ai-panel.tone-bad .ai-panel-head {
  background: linear-gradient(180deg, #fff6f6 0%, #fff 100%);
}

.ai-panel.tone-bad .ai-use {
  border-color: #f3c5c9;
  background: var(--danger-soft);
  color: #c4353e;
}

.ai-panel.tone-neutral {
  border-color: var(--line);
}

.ai-panel.kind-check .ai-item:first-child .ai-item-text {
  font-weight: 600;
  color: var(--text-2);
}

@media (min-width: 768px) {
  .ai-panel {
    border-radius: 20px;
  }

  .ai-item-text {
    font-size: 14px;
  }

  .ai-panel-titles strong {
    font-size: 14px;
  }
}

/* Cases */
.case-list {
  display: grid;
  gap: 8px;
}

.case-item {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "tag arrow"
    "title arrow"
    "meta arrow";
  gap: 3px 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 72px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.18s ease;
  animation: rise 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.case-item:nth-child(1) { animation-delay: 0.02s; }
.case-item:nth-child(2) { animation-delay: 0.06s; }
.case-item:nth-child(3) { animation-delay: 0.1s; }
.case-item:nth-child(4) { animation-delay: 0.14s; }

.case-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}

.case-item:active {
  background: #f8f9fb;
  border-color: #d6e4ff;
  transform: scale(0.99);
}

.case-item .tag {
  grid-area: tag;
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 8px;
}

.case-item strong {
  grid-area: title;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.case-item span:last-child {
  grid-area: meta;
  color: var(--muted);
  font-size: 12px;
}

.case-item::after {
  content: "";
  grid-area: arrow;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #c0c4cc;
  border-bottom: 1.5px solid #c0c4cc;
  transform: rotate(-45deg);
  margin-right: 2px;
}

/* Context */
.context-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 15px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.context-card h2 {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.context-ops {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}

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

.layer-pill {
  min-width: 40px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1d2129;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.lock {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
}

.q-card {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4fb 100%);
  border: 1px solid #e1e8f3;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
}

.q-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.q-from {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  background: #f1f3f6;
  border-radius: 16px;
}

.tab {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tab.on {
  transform: translateY(-0.5px);
}

.tab b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5e6eb;
  font-size: 11px;
}

.tab.on {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab.on b {
  background: #1d2129;
  color: #fff;
}

.tab.done {
  color: var(--ok);
}

.tab.done b {
  background: var(--ok-soft);
  color: var(--ok);
}

.because {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.because span {
  font-weight: 800;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.tags span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #fff;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.tags span.on {
  color: var(--ok);
  border-color: #b5ebc8;
  background: var(--ok-soft);
  transform: translateY(-1px);
}

.info,
.info-stack .info {
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.info span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.info strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.decide {
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
}

.decide-btn {
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.decide-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.05);
}

.decide-btn strong {
  font-size: 15px;
}

.decide-btn span {
  color: var(--muted);
  font-size: 12px;
}

.decide-btn.no:active {
  background: var(--warn-soft);
  border-color: #ffd0a1;
}

.decide-btn.yes:active {
  background: var(--ok-soft);
  border-color: #b5ebc8;
}

.timeline {
  display: grid;
  gap: 8px;
}

.layer-item {
  border: 1px solid var(--line);
  background: #f8f9fb;
  border-radius: 16px;
  padding: 13px 14px;
  border-left: 3px solid #b7c0ce;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
  animation: rise 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.layer-item:nth-child(1) { animation-delay: 0.02s; }
.layer-item:nth-child(2) { animation-delay: 0.06s; }
.layer-item:nth-child(3) { animation-delay: 0.1s; }
.layer-item:nth-child(4) { animation-delay: 0.14s; }
.layer-item:nth-child(5) { animation-delay: 0.18s; }

.layer-item.root {
  background: var(--ok-soft);
  border-color: #b5ebc8;
  border-left-color: var(--ok);
}

.layer-item .lv {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.layer-item.root .lv {
  color: var(--ok);
}

.layer-item .q {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 14px;
}

.layer-item .a,
.layer-item .m {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}

/* ── Conclusion page (video-inspired continuous chain) ── */
.conclusion {
  background:
    radial-gradient(circle at top right, rgba(47, 107, 255, 0.05), transparent 34%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 18px 14px 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.conclusion-head {
  margin-bottom: 14px;
}

.conclusion-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.problem-statement-wrap {
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3fb 100%);
  border: 1px solid #dce6f5;
  padding: 12px 14px 14px;
}

.problem-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--brand-deep);
  background: rgba(47, 107, 255, 0.1);
  border-radius: 999px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.problem-statement {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}

.report-date {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.chain-board {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%);
  padding: 12px 10px 8px;
  margin-bottom: 12px;
}

.chain-board-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 8px 8px;
  border-bottom: 1px dashed #d9e1ec;
}

.chain-board-title span {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-2);
}

.chain-board-title em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 8px;
}

.why-chain {
  /* container kept for id compatibility */
}

.chain-empty {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 20px 8px;
}

/* continuous flow chain */
.flow-chain {
  list-style: none;
  margin: 0;
  padding: 4px 2px 2px;
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  position: relative;
  animation: rise 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flow-step:nth-child(1) { animation-delay: 0.02s; }
.flow-step:nth-child(2) { animation-delay: 0.07s; }
.flow-step:nth-child(3) { animation-delay: 0.12s; }
.flow-step:nth-child(4) { animation-delay: 0.17s; }
.flow-step:nth-child(5) { animation-delay: 0.22s; }
.flow-step:nth-child(6) { animation-delay: 0.27s; }
.flow-step:nth-child(7) { animation-delay: 0.32s; }

.flow-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
}

.flow-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #4d84ff, var(--brand));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
  flex-shrink: 0;
}

.flow-step.is-root .flow-dot {
  background: linear-gradient(160deg, #2ec99a, var(--ok));
  box-shadow: 0 0 0 4px rgba(18, 166, 120, 0.14);
}

.flow-line {
  flex: 1;
  width: 0;
  min-height: 22px;
  margin-top: 6px;
  border-left: 2px dashed #c2cdda;
}

.flow-step.is-root .flow-line {
  border-left-color: #9ad9b8;
}

.flow-body {
  min-width: 0;
  padding-bottom: 12px;
}

.flow-step.is-last .flow-body {
  padding-bottom: 2px;
}

.flow-qa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 4px;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.flow-step.is-root .flow-qa {
  border-color: #bfe9d3;
  box-shadow: 0 6px 16px rgba(18, 166, 120, 0.06);
}

.flow-q,
.flow-a {
  border-radius: 12px;
  padding: 10px 11px;
  min-width: 0;
}

.flow-q {
  background: #edf4ff;
  border: 1px solid #d4e4ff;
}

.flow-a {
  background: #f4f6f9;
  border: 1px solid #e4e8ef;
}

.flow-step.is-root .flow-a {
  background: #e8f8f1;
  border-color: #b5ebc8;
}

.flow-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  border-radius: 999px;
  padding: 2px 7px;
}

.flow-tag.q {
  color: var(--brand-deep);
  background: rgba(47, 107, 255, 0.12);
}

.flow-tag.a {
  color: #4b5565;
  background: rgba(75, 85, 101, 0.08);
}

.flow-step.is-root .flow-tag.a {
  color: var(--ok);
  background: rgba(18, 166, 120, 0.12);
}

.flow-q p,
.flow-a p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  word-break: break-word;
}

.flow-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 100%;
  position: relative;
}

.flow-dash {
  display: block;
  width: 100%;
  max-width: 16px;
  border-top: 2px dashed #b2bfd2;
}

.flow-chev {
  color: #8fa0b8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  margin-top: -1px;
}

.flow-step.is-root .flow-dash {
  border-top-color: #7fc9a7;
}

.flow-step.is-root .flow-chev {
  color: #4fb48a;
}

.flow-measure {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed #d2d9e4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
}

.flow-measure > span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding-top: 1px;
}

.flow-measure p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.45;
}

.flow-root-flag {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--ok);
  background: var(--ok-soft);
  border: 1px solid #b5ebc8;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.flow-step.is-root .flow-measure {
  background: #f1fbf6;
  border-style: solid;
  border-color: #b5ebc8;
}

.root-panel {
  display: grid;
  gap: 8px;
}

.root-block {
  border-radius: 16px;
  padding: 14px;
  border: 1px solid var(--line);
}

.root-block span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.root-block p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
}

.root-block.cause {
  background: linear-gradient(180deg, #f4f8ff, #eaf1ff);
  border-color: #cfe0ff;
}

.root-block.fix {
  background: linear-gradient(180deg, #f1fbf6, #e6f7ef);
  border-color: #b5ebc8;
}

@media (max-width: 520px) {
  .flow-qa {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
  }

  .flow-link {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 8px 2px 14px;
    min-height: auto;
  }

  .flow-dash {
    max-width: none;
    width: 2px;
    height: 12px;
    border-top: 0;
    border-left: 2px dashed #b2bfd2;
    margin: 0 8px 0 0;
  }

  .flow-chev {
    transform: rotate(90deg);
    margin-top: 0;
  }

  .flow-measure {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .flow-root-flag {
    justify-self: start;
  }

  .problem-statement {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .conclusion {
    padding: 22px;
    border-radius: 26px;
  }

  .problem-statement {
    font-size: 20px;
  }

  .flow-q p,
  .flow-a p {
    font-size: 14px;
  }

  .root-panel {
    grid-template-columns: 1fr 1fr;
  }

  .chain-board {
    padding: 14px 14px 10px;
  }
}

/* ── AI Review Card ── */
.review-card {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #dce6f5;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: pop-in 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rv-section {
  animation: rise 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rv-section:nth-child(1) { animation-delay: 0.03s; }
.rv-section:nth-child(2) { animation-delay: 0.08s; }
.rv-section:nth-child(3) { animation-delay: 0.13s; }
.rv-section:nth-child(4) { animation-delay: 0.18s; }
.rv-section:nth-child(5) { animation-delay: 0.23s; }

.review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 12px;
  background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
  border-bottom: 1px solid #e7eef8;
}

.review-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.icon-x.sm {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #f3f5f8;
  color: var(--muted);
  font-size: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}

.review-body .rv-empty {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 18px 8px;
}

.rv-section {
  background: #f8fafc;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
  padding: 14px;
}

.rv-section > :first-child {
  margin-top: 0;
}

.rv-section > :last-child {
  margin-bottom: 0;
}

.rv-h {
  margin: 0 0 10px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.rv-h3 {
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 8px;
  border-bottom: 1px dashed #d7dee8;
}

.rv-h4,
.rv-h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
  margin: 12px 0 8px;
}

.review-body p {
  margin: 0 0 8px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
}

.review-body p:last-child {
  margin-bottom: 0;
}

.review-body strong {
  color: var(--text);
  font-weight: 700;
}

.review-body em {
  font-style: normal;
  color: var(--brand-deep);
  font-weight: 600;
}

.review-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  background: #eef2f7;
  border-radius: 6px;
  padding: 1px 5px;
  color: #334155;
}

.rv-list {
  margin: 0 0 8px;
  padding-left: 1.15em;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.65;
}

.rv-list li {
  margin-bottom: 6px;
  padding-left: 2px;
}

.rv-list.ol {
  padding-left: 1.25em;
}

.rv-quote {
  margin: 8px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  background: #eef4ff;
  border-radius: 0 12px 12px 0;
  color: var(--text-2);
}

.rv-quote p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.rv-hr {
  border: 0;
  border-top: 1px dashed #d7dee8;
  margin: 4px 0;
}

@media (min-width: 768px) {
  .review-head {
    padding: 18px 18px 14px;
  }

  .review-body {
    padding: 16px 16px 18px;
  }

  .rv-section {
    padding: 16px;
  }

  .review-body p,
  .rv-list {
    font-size: 14px;
  }
}

/* Bottom sheets — softer, rounder, more premium */
.sheet {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  max-height: 100%;
}

.sheet::backdrop {
  background: rgba(16, 20, 28, 0.38);
  backdrop-filter: blur(4px);
}

.sheet[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet-panel {
  width: min(720px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -16px 40px rgba(16, 20, 28, 0.14);
  padding-bottom: calc(10px + var(--safe-b));
  animation: sheet-in 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 0;
}

@keyframes sheet-in {
  from {
    transform: translateY(14%);
    opacity: 0.55;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.grabber {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: #e3e7ed;
  margin: 10px auto 2px;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 14px;
  border-bottom: 1px solid rgba(231, 235, 240, 0.95);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.sheet-head h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.sheet-body {
  padding: 16px 18px 20px;
}

.sheet-body ol {
  margin: 0;
  padding-left: 1.15em;
  color: var(--text-2);
}

.sheet-body li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.icon-x {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f5f8;
  color: var(--muted);
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.icon-x:active {
  background: #e8ecf1;
}

.preview {
  padding: 14px 16px;
  background: linear-gradient(180deg, #f8f9fb, #f3f5f8);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.5;
}

.choice {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  min-height: 72px;
  transition: 0.15s ease;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
}

.choice:active {
  background: var(--brand-soft);
  border-color: #cfe0ff;
  transform: scale(0.99);
}

.choice strong {
  font-size: 15px;
}

.choice span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.export-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f5f7fa;
  padding: 12px;
  margin-bottom: 14px;
  max-height: 48vh;
  overflow: auto;
}

.export-box img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #fff;
}

/* legacy suggest kept for safety, superseded by .ai-panel */
.suggest {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #cfe0ff;
}

.suggest:last-child {
  border-bottom: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-b));
  transform: translateX(-50%);
  z-index: 80;
  background: rgba(21, 24, 32, 0.94);
  color: #fff;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  max-width: min(90vw, 360px);
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  animation: toast-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.toast.is-leaving {
  animation: toast-out 0.18s ease both;
}

/* Loading overlay — never rely only on [hidden] */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.loading.on,
.loading.is-on,
.loading[aria-busy="true"] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* 覆盖全局 [hidden]{display:none!important}，避免转圈被吃掉 */
.loading.on[hidden],
.loading.is-on[hidden],
.loading[aria-busy="true"][hidden] {
  display: grid !important;
}

.loading-box {
  min-width: 148px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e5eaf1;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.12);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.spin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #d9e6ff;
  border-top-color: var(--brand);
  animation: spin 0.7s linear infinite;
  will-change: transform;
}

.loading p,
.loading-box p {
  margin: 0;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 13px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 即使系统开了减少动效，也保留转圈（这是状态反馈，不是装饰） */
@media (prefers-reduced-motion: reduce) {
  .spin {
    animation: spin 0.9s linear infinite !important;
  }
}

/* Desktop */
@media (min-width: 768px) {
  body {
    background:
      radial-gradient(circle at top center, rgba(47, 107, 255, 0.05), transparent 28%),
      var(--bg);
  }

  .status-chip {
    max-width: none;
  }

  .nav {
    max-width: 920px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .steps-wrap {
    max-width: 920px;
    padding: 4px 20px 0;
  }

  .steps {
    max-width: 560px;
    margin: 0 auto;
    padding: 5px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  }

  .steps li {
    min-height: 38px;
    font-size: 13px;
    gap: 8px;
  }

  .steps li .n {
    width: 20px;
    height: 20px;
  }

  .steps li.on {
    box-shadow: 0 2px 8px rgba(47, 107, 255, 0.08);
  }

  .main {
    max-width: 920px;
    padding: 18px 20px 40px;
  }

  .card {
    padding: 24px 24px;
    border-radius: 22px;
  }

  .card.focus {
    box-shadow: 0 10px 28px rgba(47, 107, 255, 0.06);
  }

  h1 {
    font-size: 28px;
  }

  .sub {
    font-size: 14px;
    max-width: 48ch;
  }

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

  .case-list {
    grid-template-columns: 1fr 1fr;
  }

  .context-card {
    padding: 18px 20px;
    border-radius: 22px;
  }

  .sheet[open] {
    align-items: center;
  }

  .sheet-panel {
    border-radius: 28px;
    max-width: 520px;
    max-height: min(80vh, 720px);
    border: 1px solid var(--line);
  }

  .grabber {
    display: none;
  }

  .sticky-cta {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-top: 18px;
  }

  .cta-stack {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .cta-stack > .btn-main {
    width: auto;
    min-width: 168px;
  }

  .cta-stack > .btn-line {
    width: auto;
    min-width: 120px;
  }

  .btn-row {
    display: flex;
    flex: 1;
  }

  .btn-row .btn-line {
    width: auto;
    min-width: 110px;
  }
}

@media (min-width: 1100px) {
  .nav,
  .steps-wrap,
  .main {
    max-width: 980px;
  }
}

@media (max-width: 380px) {
  .nav-title span {
    display: none;
  }

  .steps li .t {
    font-size: 11px;
  }

  .btn-row:has(> :nth-child(3)) {
    grid-template-columns: 1fr;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
