html, body { margin: 0; padding: 0; }
body { background: #f7f6f3; color: #1f2937; font-family: "Segoe UI", Tahoma, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
button { font-family: inherit; }

.lp-shell { max-width: 860px; margin: 0 auto; padding: 20px 16px 60px; }
.lp-head { text-align: center; padding: 18px 0 6px; }
.lp-head h1 { font-size: 28px; margin: 0 0 6px; color: #111827; }
.lp-fact { color: #6b7280; font-size: 15px; margin: 0 0 10px; }
.lp-intro { font-size: 16px; line-height: 30px; color: #374151; max-width: 640px; margin: 0 auto; }

.lp-page { display: block; }
.lp-h { font-size: 19px; font-weight: 700; margin: 22px 0 10px; color: #111827; }
.lp-muted { color: #6b7280; font-size: 14px; line-height: 24px; margin: 0 0 10px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.lp-card { font: inherit; text-align: center; border: 2px solid var(--c); background: var(--soft); color: #1f2937; border-radius: 14px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 130px; cursor: pointer; justify-content: center; }
.lp-card.is-soon { opacity: 0.55; border-style: dashed; cursor: default; }
.lp-ico { width: 52px; height: 52px; border-radius: 26px; background: var(--c); color: #fff; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.lp-ico.big { width: 64px; height: 64px; border-radius: 32px; font-size: 30px; }
.lp-cn { font-weight: 700; font-size: 16px; white-space: nowrap; }
.lp-cs { font-size: 13px; color: #6b7280; }
.lp-back { font: inherit; background: none; border: 0; color: var(--c, #1f2937); font-weight: 700; cursor: pointer; padding: 8px 0; min-height: 44px; font-size: 15px; }
.lp-hero { display: flex; align-items: center; gap: 14px; background: var(--soft); border-radius: 14px; padding: 16px; margin: 6px 0 14px; }
.lp-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 32px; color: #111827; }
.lp-tag { background: var(--c); color: #fff; border-radius: 12px; padding: 2px 10px; font-size: 13px; white-space: nowrap; }
.lp-list { display: grid; gap: 10px; }
.lp-row { font: inherit; text-align: start; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; background: #fff; border: 1px solid #e7e5e0; border-inline-start: 6px solid var(--c); border-radius: 10px; padding: 12px; cursor: pointer; color: #1f2937; min-height: 56px; }
.lp-rt { font-size: 16px; line-height: 26px; }
.lp-rs { grid-column: 2; font-size: 13px; color: #6b7280; }
.lp-num { color: #fff; font-weight: 700; min-width: 28px; height: 28px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; }
.lp-goals { background: var(--soft); border-radius: 10px; padding: 12px 16px; font-size: 15px; line-height: 26px; }
.lp-goals ul { margin: 6px 0 0; padding-inline-start: 20px; }
.lp-p { font-size: 16px; line-height: 30px; margin: 0 0 10px; white-space: pre-line; }
.lp-formula { background: #f6f7fb; border-inline-start: 4px solid var(--c); border-radius: 6px; padding: 10px 14px; margin: 8px 0; font-size: 16px; line-height: 30px; }
.lp-fig { margin: 14px 0 4px; border-radius: 14px; overflow: hidden; border: 1px solid #e7e5e0; }
.lp-fig svg { display: block; width: 100%; height: auto; }
.lp-ex { background: #fff; border-radius: 10px; padding: 12px 14px; margin: 10px 0; border: 1px solid #e7e5e0; }
.lp-sol { white-space: pre-line; line-height: 30px; font-size: 15px; background: #fff; border: 1px dashed var(--c); border-radius: 8px; padding: 10px 12px; }
.lp-quiz { margin-top: 24px; border-top: 2px solid var(--c); padding-top: 4px; }
.lp-q { padding: 14px 0; border-bottom: 1px solid #e7e5e0; }
.lp-qh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lp-lv { font-size: 13px; color: #6b7280; }
.lp-qt { font-size: 16px; line-height: 28px; margin: 0 0 10px; white-space: pre-line; }
.lp-opts { display: grid; gap: 8px; }
.lp-opt { font: inherit; text-align: start; display: flex; gap: 10px; background: #fff; color: #1f2937; border: 1px solid #e7e5e0; border-radius: 8px; padding: 10px 12px; min-height: 46px; cursor: pointer; line-height: 26px; font-size: 15px; }
.lp-opt:disabled { cursor: default; }
.lp-opt.is-right { border-color: #0d9488; background: #eef6f3; box-shadow: inset 0 0 0 1px #0d9488; }
.lp-opt.is-wrong { border-color: #dc2626; background: #fdeeee; box-shadow: inset 0 0 0 1px #dc2626; }
.lp-letter { font-weight: 700; min-width: 20px; }
.lp-why { margin: 8px 0 0; font-size: 15px; line-height: 26px; color: #4b5563; }
.lp-result { margin-top: 18px; border: 2px solid; border-radius: 12px; padding: 12px 16px; background: #fff; }
.lp-score { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.lp-btn { font: inherit; font-weight: 700; min-height: 48px; border: 0; border-radius: 8px; background: #1f2937; color: #fff; cursor: pointer; padding: 0 20px; font-size: 15px; }
.lp-btn.is-secondary { background: #fff; color: #1f2937; border: 1px solid #1f2937; }
.lp-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.lp-save { margin-top: 26px; border: 2px dashed #0d9488; border-radius: 14px; padding: 14px 16px; background: #f0faf7; }
.lp-save-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.lp-code { font-size: 12px; background: #fff; border: 1px solid #e7e5e0; border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; flex: 1; min-width: 180px; }
.lp-input { font: inherit; flex: 1; min-width: 200px; min-height: 48px; border: 1px solid #1f2937; border-radius: 8px; padding: 0 12px; background: #fff; color: #1f2937; }
.lp-foot { margin-top: 34px; color: #6b7280; font-size: 13px; line-height: 24px; text-align: center; }
.lp-saved-note { color: #0d9488; font-weight: 700; font-size: 13px; }
