/* ==============================================================
   tossup / assets/css/style.css
   スマホ優先 + PC対応 レスポンシブCSS
   ============================================================== */
:root {
  --c-primary: #0d9488;
  --c-primary-dark: #0f766e;
  --c-danger: #ef4444;
  --c-success: #10b981;
  --c-bg: #f4f6f8;
  --c-card: #ffffff;
  --c-border: #e5e7eb;
  --c-text: #1f2937;
  --c-muted: #6b7280;
  --c-accent: #fef3c7;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.06);
  --nav-h: 64px;
  --header-h: 56px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 15px; line-height: 1.6;
  color: var(--c-text); background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff; height: var(--header-h);
  box-shadow: var(--shadow-sm);
}
.app-header__inner {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 16px;
}
.app-header__logo { color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .02em; }
.app-header__logo:hover { text-decoration: none; }
.app-header__right { display: flex; align-items: center; gap: 12px; }
.app-header__help {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.15);
  transition: background .15s;
}
.app-header__help:hover { background: rgba(255,255,255,.28); text-decoration: none; }
.app-header__user { text-align: right; font-size: 12px; line-height: 1.3; }
.app-header__user-name { display: block; font-weight: 600; }
.app-header__user-company { color: rgba(255,255,255,.8); }

/* ---------- Main ---------- */
.app-main {
  max-width: 720px; margin: 0 auto;
  padding: 0 0 calc(var(--nav-h) + 20px) 0;
  min-height: calc(100vh - var(--header-h));
}
.page-wrap { padding: 16px; }
.page-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.page-title { font-size: 20px; font-weight: 700; margin: 0; flex: 1; }
.back { color: var(--c-muted); font-size: 14px; }

/* ---------- Flash ---------- */
.flash-wrap { max-width: 720px; margin: 0 auto; padding: 8px 16px 0; }
.flash {
  padding: 10px 14px; border-radius: 8px; margin-bottom: 8px;
  font-size: 14px; font-weight: 500;
}
.flash--success { background: #d1fae5; color: #065f46; }
.flash--error   { background: #fee2e2; color: #991b1b; }
.flash--info    { background: #dbeafe; color: #1e40af; }

/* ---------- Bottom Nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; background: #fff; border-top: 1px solid var(--c-border);
  height: var(--nav-h); padding-bottom: env(safe-area-inset-bottom);
  max-width: 720px; margin: 0 auto;
}
.bottom-nav__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--c-muted); font-size: 11px; gap: 2px; padding: 6px 0;
}
.bottom-nav__item svg { width: 22px; height: 22px; }
.bottom-nav__item.is-active { color: var(--c-primary); }
.bottom-nav__item:hover { text-decoration: none; background: rgba(13,148,136,.05); }

/* ---------- Hero (ホーム) ---------- */
.hero {
  background: #fff; border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.hero__greet { font-size: 18px; font-weight: 700; }
.hero__sub { font-size: 13px; color: var(--c-muted); margin-top: 2px; }

/* ---------- KPI ---------- */
.kpi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 20px;
}
.kpi-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .kpi-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.kpi-card {
  background: #fff; border-radius: var(--radius);
  padding: 12px; box-shadow: var(--shadow-sm); text-align: center;
}
.kpi-card__label { font-size: 11px; color: var(--c-muted); }
.kpi-card__value {
  font-size: 22px; font-weight: 700; color: var(--c-primary); margin-top: 4px;
}
.kpi-card__value span { font-size: 12px; color: var(--c-muted); margin-left: 2px; }

/* ---------- Section ---------- */
.section { margin-bottom: 24px; }
.section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section__title { font-size: 14px; font-weight: 700; color: var(--c-text); margin: 0; }
.section__more { font-size: 12px; color: var(--c-primary); }

/* ---------- Card List ---------- */
.card-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.item-card {
  display: block; background: #fff; border-radius: var(--radius);
  padding: 12px 14px; box-shadow: var(--shadow-sm); color: var(--c-text);
  border-left: 3px solid var(--c-primary);
}
.item-card:hover { text-decoration: none; box-shadow: var(--shadow); }
.item-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.item-card__sub { font-size: 11px; color: var(--c-muted); }
.item-card__title { font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.item-card__meta { font-size: 12px; color: var(--c-muted); }
.item-card__foot { font-size: 11px; color: var(--c-muted); margin-top: 4px; }

.badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  color: #fff; font-size: 11px; font-weight: 600;
}
.badge--outline {
  background: transparent; color: var(--c-primary); border: 1px solid var(--c-primary);
}

.empty {
  background: #fff; border-radius: var(--radius); padding: 32px 16px;
  text-align: center; color: var(--c-muted); font-size: 13px;
}

/* ---------- Forms ---------- */
.form {
  background: #fff; border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px;
}
.form__group {
  border: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.form__group legend {
  font-size: 13px; font-weight: 700; color: var(--c-primary); margin-bottom: 4px;
  border-bottom: 1px solid var(--c-border); padding-bottom: 4px; width: 100%;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: flex; flex-direction: column; font-size: 12px; color: var(--c-muted); }
.form label > span { margin-bottom: 4px; font-weight: 500; }
.form label > span em { color: var(--c-danger); font-style: normal; margin-left: 4px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--c-border); border-radius: 8px;
  font-size: 14px; background: #fff; color: var(--c-text);
  font-family: inherit;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--c-primary); border-color: var(--c-primary);
}
.form textarea { resize: vertical; }
.form__actions { margin-top: 8px; }
.readonly-box {
  padding: 10px 12px; background: var(--c-bg);
  border-radius: 8px; border: 1px dashed var(--c-border);
}
.readonly-box .muted { color: var(--c-muted); font-size: 12px; margin-left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: #f3f4f6; color: var(--c-text); border: 1px solid var(--c-border);
  cursor: pointer; text-decoration: none; transition: all .15s;
}
.btn:hover { text-decoration: none; background: #e5e7eb; }
.btn--primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--danger { background: var(--c-danger); color: #fff; border-color: var(--c-danger); }
.btn--danger:hover { background: #dc2626; }
.btn--success { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.btn--ghost { background: #fff; }
.btn--sm { padding: 6px 10px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }
.btn-text { color: var(--c-muted); font-size: 13px; }

.fab-wrap {
  display: flex; gap: 8px; margin: 16px 0;
}
.fab-wrap .btn { flex: 1; }
.page-foot { text-align: center; padding: 16px; }

/* ---------- Detail ---------- */
.detail-card {
  background: #fff; border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.detail-card__head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.detail-card__title {
  margin: 0 0 8px 0; font-size: 14px; font-weight: 700; color: var(--c-primary);
  border-bottom: 1px solid var(--c-border); padding-bottom: 4px;
}
.detail-grid {
  display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px;
  margin: 0; font-size: 13px;
}
.detail-grid dt { color: var(--c-muted); font-weight: 500; }
.detail-grid dd { margin: 0; color: var(--c-text); }
.detail-note {
  margin-top: 10px; padding: 10px; background: var(--c-bg);
  border-radius: 6px; font-size: 13px; white-space: pre-wrap;
}
.muted { color: var(--c-muted); }

/* ---------- Action Grid ---------- */
.action-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.action-grid .btn { flex: 1; min-width: 120px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  padding: 10px 0 10px 20px; border-left: 2px solid var(--c-border);
  position: relative; margin-left: 6px;
}
.timeline li::before {
  content: ''; position: absolute; left: -6px; top: 14px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-primary); border: 2px solid #fff;
}
.timeline__head { display: flex; justify-content: space-between; font-size: 12px; }
.timeline__action {
  display: inline-block; padding: 1px 6px; border-radius: 4px;
  background: var(--c-accent); color: #78350f; font-weight: 600;
}
.timeline__time { color: var(--c-muted); }
.timeline__meta { font-size: 12px; color: var(--c-muted); margin-top: 2px; }
.timeline__comment {
  margin-top: 4px; padding: 6px 8px; background: var(--c-bg);
  border-radius: 4px; font-size: 13px; white-space: pre-wrap;
}
.comment-form {
  display: flex; gap: 8px; margin-top: 12px; align-items: flex-start;
}
.comment-form textarea { flex: 1; }

/* ---------- Tabs ---------- */
.tabs, .scope-tabs, .admin-tabs {
  display: flex; background: #fff; border-radius: var(--radius);
  padding: 4px; box-shadow: var(--shadow-sm); margin-bottom: 12px; gap: 4px;
}
.tab {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--c-muted);
}
.tab:hover { text-decoration: none; background: var(--c-bg); }
.tab.is-active { background: var(--c-primary); color: #fff; }

/* ---------- Search Bar ---------- */
.search-bar {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.search-bar input, .search-bar select {
  flex: 1; padding: 8px 10px; border: 1px solid var(--c-border);
  border-radius: 8px; font-size: 14px; background: #fff;
}

/* ---------- Status Bars ---------- */
.status-bars { background: #fff; padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.status-bar {
  display: grid; grid-template-columns: 90px 1fr 40px;
  align-items: center; gap: 8px; padding: 6px 0;
  font-size: 12px;
}
.status-bar__label { color: var(--c-muted); }
.status-bar__track {
  background: var(--c-bg); height: 10px; border-radius: 4px; overflow: hidden;
}
.status-bar__fill { height: 100%; transition: width .4s; }
.status-bar__value { text-align: right; font-weight: 700; }

/* ---------- Table ---------- */
.stat-table {
  width: 100%; background: #fff; border-radius: var(--radius);
  border-collapse: collapse; overflow: hidden; box-shadow: var(--shadow-sm);
  font-size: 13px;
}
.stat-table th, .stat-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-border); }
.stat-table thead th { background: var(--c-bg); font-size: 12px; color: var(--c-muted); }
.stat-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Admin Add ---------- */
.admin-add { margin-bottom: 12px; }
.admin-add > summary {
  cursor: pointer; padding: 10px 14px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  font-weight: 600; color: var(--c-primary);
}
.admin-add[open] > summary { margin-bottom: 10px; }

/* ---------- Login ---------- */
.login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; background: linear-gradient(135deg, #0d9488, #0f766e);
  padding: 20px;
}
.login-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2); width: 100%; max-width: 380px;
}
.login-card--wide { max-width: 440px; }
.login-form select {
  padding: 12px 14px; font-size: 16px; border: 1px solid var(--c-border);
  border-radius: 8px; background: #fff;
}
.req { color: #dc2626; }
.login-logo {
  display: block; margin: 0 auto 12px; width: 96px; height: 96px;
  border-radius: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.login-title {
  margin: 0; font-size: 32px; font-weight: 800; text-align: center;
  color: var(--c-primary); letter-spacing: .02em;
}
.login-sub { text-align: center; color: var(--c-muted); margin: 4px 0 24px 0; font-size: 13px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form label { display: flex; flex-direction: column; font-size: 12px; color: var(--c-muted); }
.login-form label > span { margin-bottom: 4px; }
.login-form input {
  padding: 12px 14px; font-size: 16px; border: 1px solid var(--c-border);
  border-radius: 8px;
}
.login-note { text-align: center; font-size: 12px; color: var(--c-muted); margin-top: 16px; }

/* ---------- Large screen optimization ---------- */
@media (min-width: 900px) {
  .app-main { max-width: 920px; }
  .bottom-nav { max-width: 920px; }
  .page-wrap { padding: 24px; }
}

/* ---------- Help page ---------- */
.help-page { padding: 20px 16px; max-width: 720px; margin: 0 auto; }
.help-page .page-title {
  font-size: 22px; font-weight: 700; margin: 0 0 8px;
  color: var(--c-text, #111);
}
.help-page .help-lead {
  color: var(--c-muted, #666); font-size: 14px; line-height: 1.7;
  margin: 0 0 20px;
}
.help-page h2 {
  font-size: 18px; font-weight: 700; margin: 28px 0 12px;
  padding: 8px 12px; background: #f1f5f9; border-left: 4px solid #0d9488;
  border-radius: 4px;
}
.help-page h3 {
  font-size: 15px; font-weight: 700; margin: 18px 0 8px;
  color: #0f766e;
}
.help-page p { font-size: 14px; line-height: 1.75; margin: 8px 0; }
.help-page ul, .help-page ol { padding-left: 22px; margin: 8px 0; }
.help-page li { font-size: 14px; line-height: 1.8; }
.help-page code {
  background: #f1f5f9; padding: 2px 6px; border-radius: 4px;
  font-size: 12px; color: #0f766e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.help-page section { margin-bottom: 8px; }
.help-page section:target { scroll-margin-top: 72px; }

.help-toc {
  background: #f8fafc; border: 1px solid var(--c-border, #e5e7eb);
  border-radius: 8px; padding: 14px 18px; margin: 16px 0 24px;
}
.help-toc strong { display: block; margin-bottom: 6px; font-size: 13px; color: #475569; }
.help-toc ol { margin: 0; padding-left: 22px; }
.help-toc li { font-size: 14px; line-height: 1.9; }
.help-toc a { color: #0d9488; text-decoration: none; }
.help-toc a:hover { text-decoration: underline; }

.help-note {
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 6px;
  padding: 10px 14px; margin: 12px 0; font-size: 13px; line-height: 1.7;
}

.help-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  margin: 12px 0; background: #fff;
  border: 1px solid var(--c-border, #e5e7eb); border-radius: 6px;
  overflow: hidden;
}
.help-table th, .help-table td {
  border-bottom: 1px solid var(--c-border, #e5e7eb);
  padding: 8px 10px; text-align: left; vertical-align: middle;
}
.help-table th { background: #f1f5f9; font-weight: 600; color: #334155; }
.help-table tr:last-child td { border-bottom: none; }

.help-page .badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  color: #fff; font-size: 11px; font-weight: 600;
  white-space: nowrap;
}

.help-flow {
  background: #ecfeff; border: 1px dashed #67e8f9; border-radius: 6px;
  padding: 10px 14px; font-size: 14px; color: #0e7490;
  text-align: center;
}

.help-footer {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid var(--c-border, #e5e7eb);
  font-size: 12px; color: var(--c-muted, #666); text-align: center;
  line-height: 1.7;
}

/* ==============================================================
   Landing Page
   ============================================================== */
.lp-body {
  margin: 0; background: #fff; color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.lp-body a { color: inherit; text-decoration: none; }

/* Nav */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #e5e7eb;
}
.lp-nav__inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
}
.lp-nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: #0f172a;
}
.lp-nav__brand img { border-radius: 8px; }
.lp-nav__cta {
  padding: 9px 18px; border-radius: 999px;
  background: #0d9488; color: #fff; font-weight: 600; font-size: 14px;
  transition: transform .15s, box-shadow .15s;
}
.lp-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(13,148,136,.35); }

/* Hero */
.lp-hero {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(13,148,136,.18), transparent 60%),
    radial-gradient(ellipse at 10% 110%, rgba(56,189,248,.15), transparent 55%),
    linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  padding: 80px 20px 100px;
  text-align: center;
}
.lp-hero__inner { max-width: 860px; margin: 0 auto; }
.lp-hero__eyebrow {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(13,148,136,.12); color: #0f766e;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  margin: 0 0 20px;
}
.lp-hero__title {
  font-size: clamp(28px, 5vw, 44px); font-weight: 800; line-height: 1.3;
  margin: 0 0 20px; letter-spacing: -.01em;
}
.lp-hero__lead {
  font-size: 15px; line-height: 1.9; color: #475569;
  margin: 0 0 32px;
}
.lp-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 40px;
}
.lp-hero__mockup {
  display: flex; justify-content: center;
}
.lp-hero__mockup img {
  border-radius: 28px;
  box-shadow: 0 24px 60px -20px rgba(13,148,136,.45), 0 8px 20px rgba(0,0,0,.08);
}

/* Buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.lp-btn--primary {
  background: #0d9488; color: #fff;
  box-shadow: 0 10px 25px -10px rgba(13,148,136,.6);
}
.lp-btn--primary:hover { transform: translateY(-2px); background: #0f766e; }
.lp-btn--ghost {
  background: #fff; color: #0f766e; border: 1px solid #99f6e4;
}
.lp-btn--ghost:hover { background: #f0fdfa; }
.lp-btn--lg { padding: 16px 40px; font-size: 16px; }

/* Sections */
.lp-section { padding: 80px 20px; }
.lp-section__inner { max-width: 1080px; margin: 0 auto; }
.lp-section__title {
  font-size: clamp(22px, 4vw, 32px); font-weight: 800;
  text-align: center; margin: 0 0 48px;
}

.lp-problem { background: #f8fafc; }
.lp-features { background: #fff; }
.lp-flow { background: #f0fdfa; }

/* Cards */
.lp-cards { display: grid; gap: 20px; }
.lp-cards--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lp-cards--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lp-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 24px; transition: transform .2s, box-shadow .2s;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.12); }
.lp-card__icon {
  font-size: 32px; margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #ccfbf1, #a5f3fc);
}
.lp-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.lp-card p { font-size: 14px; line-height: 1.75; color: #475569; margin: 0; }

/* Steps */
.lp-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 20px; max-width: 720px; margin: 0 auto;
}
.lp-steps li {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid #ccfbf1; border-radius: 14px;
  padding: 22px 24px;
}
.lp-steps__num {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  background: #0d9488; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.lp-steps h3 { font-size: 16px; font-weight: 700; margin: 4px 0 6px; }
.lp-steps p { font-size: 14px; color: #475569; margin: 0; line-height: 1.7; }

/* CTA */
.lp-cta {
  padding: 90px 20px;
  background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
  color: #fff; text-align: center;
}
.lp-cta h2 {
  font-size: clamp(24px, 4vw, 34px); font-weight: 800;
  margin: 0 0 16px;
}
.lp-cta p { font-size: 15px; line-height: 1.8; margin: 0 0 32px; opacity: .92; }
.lp-cta .lp-btn--primary {
  background: #fff; color: #0d9488;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.lp-cta .lp-btn--primary:hover { background: #f0fdfa; }

/* Footer */
.lp-footer {
  background: #0f172a; color: #94a3b8;
  padding: 32px 20px; text-align: center;
}
.lp-footer p { margin: 4px 0; font-size: 13px; }

@media (max-width: 640px) {
  .lp-hero { padding: 56px 20px 72px; }
  .lp-section { padding: 60px 20px; }
  .lp-section__title { margin-bottom: 36px; }
  .lp-steps li { flex-direction: column; gap: 12px; }
}

/* ---------- Password reset (admin) ---------- */
.reset-reveal {
  background: #fffbeb; border: 2px solid #fbbf24; border-radius: 10px;
  padding: 16px 20px; margin: 16px 0 24px;
}
.reset-reveal h3 { margin: 0 0 8px; font-size: 16px; color: #92400e; }
.reset-reveal p { margin: 4px 0; font-size: 13px; color: #78350f; line-height: 1.7; }
.reset-reveal dl {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px;
  margin: 12px 0 8px;
}
.reset-reveal dt { font-size: 12px; font-weight: 600; color: #78350f; align-self: center; }
.reset-reveal dd { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reset-reveal__pw {
  display: inline-block;
  background: #fff; padding: 6px 12px; border-radius: 6px;
  border: 1px solid #fbbf24;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px; font-weight: 700; color: #0f172a;
  letter-spacing: .04em;
}
.reset-reveal__note { font-size: 12px !important; color: #92400e; }

.btn--warn {
  background: #f59e0b; color: #fff; border-color: #f59e0b;
}
.btn--warn:hover { background: #d97706; border-color: #d97706; }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 600; margin-left: 6px;
}
.tag--warn { background: #fef3c7; color: #92400e; border: 1px solid #fbbf24; }

.admin-actions { white-space: nowrap; }
.admin-actions form + form { margin-left: 4px; }

.form--narrow { max-width: 420px; margin: 16px auto; }

.flash--warn {
  background: #fffbeb; color: #92400e; border: 1px solid #fbbf24;
}
