:root {
  --bg: #f6f1ee;
  --card: #ffffff;
  --text: #252525;
  --muted: #7f756f;
  --line: #e9dfd8;
  --pink: #d65a8d;
  --pink-dark: #bb4574;
  --green: #3ca98a;
  --green-dark: #2d866c;
  --lilac: #a992e8;
  --soft-pink: #fff4f8;
  --soft-red: #f8dfe3;
  --soft-yellow: #f7ead4;
  --soft-green: #e4f5ef;
  --target-green-card: linear-gradient(180deg, #f5fffb 0%, #dff4eb 100%);
  --target-yellow-card: linear-gradient(180deg, #fffaf1 0%, #f7ead4 100%);
  --target-red-card: linear-gradient(180deg, #fff4f6 0%, #f8dfe3 100%);
  --shadow: 0 10px 28px rgba(60, 30, 30, 0.07);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

body.landing-page {
  position: relative;
  background: #1f191a;
  overflow-x: hidden;
}

body.landing-page::before,
body.landing-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.landing-page::before {
  background:
    radial-gradient(circle at top, rgba(255, 198, 223, 0.16) 0%, rgba(255, 198, 223, 0) 34%),
    linear-gradient(180deg, #6f2f4d 0%, #56233c 52%, #401a2d 100%);
}

body.landing-page::after {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, rgba(255, 244, 248, 0.05) 0%, rgba(0, 0, 0, 0.12) 100%);
}

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

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

.shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.shell-app {
  max-width: 980px;
  align-items: flex-start;
  padding-top: 30px;
  padding-bottom: 40px;
}

.phone,
.app-shell {
  width: 100%;
}

.phone {
  text-align: center;
  padding: 24px 10px 18px;
}

.landing-card {
  position: relative;
  z-index: 1;
  padding: 28px 22px 24px;
  border-radius: 30px;
  background: rgba(255, 244, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 22px 48px rgba(24, 13, 17, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.app-shell {
  display: grid;
  gap: 18px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.logo-badge {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid #efcfda;
  background: var(--soft-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed #d9b6c2;
  border-radius: 50%;
}

.logo-check {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: 28px;
  font-weight: 700;
}

.brand,
.panel-brand {
  margin: 0;
  font-size: 52px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -1px;
}

.brand span,
.panel-brand span {
  color: var(--green);
}

.panel-brand {
  font-size: 40px;
}

.tagline,
.eyebrow {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 2px;
  color: #a49a93;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h2,
.panel-card h2 {
  margin: 0 0 14px;
  font-size: 23px;
  line-height: 1.28;
}

.hero p,
.hero-copy,
.muted-text {
  color: #6f6761;
  line-height: 1.55;
  font-size: 16px;
}

.hero p {
  max-width: 320px;
  margin: 0 auto 24px;
}

.hero-copy {
  margin: 14px 0 0;
}

.hero-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 14px;
}

.utility-action {
  min-height: 84px;
  padding: 12px;
  border: 1px solid rgba(224, 203, 212, 0.9);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 244, 248, 0.92) 100%);
  box-shadow: 0 16px 28px rgba(139, 92, 116, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  color: #5d4352;
  cursor: pointer;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.utility-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(139, 92, 116, 0.16);
}

.utility-action:focus-visible {
  outline: none;
  border-color: #d65a8d;
  box-shadow:
    0 0 0 4px rgba(214, 90, 141, 0.14),
    0 18px 30px rgba(139, 92, 116, 0.18);
}

.utility-action-badge {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.utility-action-text {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.utility-action-danger {
  background: linear-gradient(180deg, #fff7f8 0%, #ffe7eb 100%);
  border-color: #f0ced7;
  color: #8f4358;
}

.utility-action-danger .utility-action-badge {
  color: #b34659;
}

.utility-action-support {
  background: linear-gradient(180deg, #fff9f1 0%, #ffefcf 100%);
  border-color: #eeddb7;
  color: #8d6820;
}

.utility-action-support .utility-action-badge {
  color: #aa7415;
}

.utility-action-guide {
  background: linear-gradient(180deg, #f8f7ff 0%, #ece8ff 100%);
  border-color: #d9d0ff;
  color: #5f4ca0;
}

.utility-action-guide .utility-action-badge {
  color: #7058bf;
}

.utility-action-install {
  background: linear-gradient(180deg, #f2fbf7 0%, #dff2ea 100%);
  border-color: #c8e3d8;
  color: #2d6c5b;
}

.utility-action-install .utility-action-badge {
  color: #2d866c;
}

.hero-guide {
  margin-top: 4px;
  border: 1px solid rgba(214, 90, 141, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  overflow: hidden;
}

.hero-guide summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #7b4e64;
}

.hero-guide summary::-webkit-details-marker {
  display: none;
}

.hero-guide summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 90, 141, 0.12);
  color: #9d4c71;
  font-size: 18px;
  line-height: 1;
}

.hero-guide[open] summary::after {
  content: "-";
}

.hero-guide-body {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(214, 90, 141, 0.12);
}

.hero-guide-body p {
  margin: 12px 0 0;
  color: #6f6761;
  line-height: 1.55;
  font-size: 15px;
}

.guide-video {
  margin-top: 16px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.guide-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.guide-video-link {
  display: inline-flex;
  margin-top: 12px;
  color: #8b5c74;
  font-weight: 700;
}

.features {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-card,
.panel-card,
.target-card,
.category-card,
.history-card,
.helper-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 15px;
}

.feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 12px;
}

.feature-dot.pink {
  background: var(--pink);
}

.feature-dot.green {
  background: var(--green);
}

.feature-dot.lilac {
  background: var(--lilac);
}

.google-btn,
.primary-btn,
.ghost-btn,
.back-link,
.legal-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.2s ease;
}

.google-btn {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px 16px;
  font-size: 24px;
  font-weight: 700;
  color: #2a2a2a;
}

.primary-btn {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 14px 18px;
  font-weight: 700;
}

.primary-btn:hover {
  background: var(--pink-dark);
}

.primary-btn.small-btn {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.wide-btn {
  width: 100%;
}

.ghost-btn,
.back-link,
.legal-link-btn {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  color: #433c38;
  font-weight: 700;
}

.ghost-btn:hover,
.back-link:hover,
.legal-link-btn:hover,
.google-btn:hover {
  transform: translateY(-1px);
}

.note {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.small-note {
  margin: 0 0 18px;
  color: #9e948d;
  font-size: 13px;
}

.help-row,
.inline-pills,
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.help-row {
  justify-content: center;
}

.help-chip,
.info-pill,
.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.chip-red,
.status-chip.red {
  background: var(--soft-red);
  color: #b34659;
}

.chip-yellow,
.status-chip.yellow,
.info-pill.yellow {
  background: var(--soft-yellow);
  color: #9b6a13;
}

.status-chip.green,
.info-pill.green {
  background: var(--soft-green);
  color: var(--green-dark);
}

.info-pill.pink {
  background: var(--soft-pink);
  color: var(--pink-dark);
}

.panel-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.panel-card {
  padding: 22px 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head-tight {
  margin-bottom: 12px;
}

.section-head h2,
.helper-item h3,
.history-card h3,
.target-card h3,
.category-card h3 {
  margin: 6px 0 0;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 244, 248, 0.92) 100%);
}

.target-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.target-hero-head h1 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.15;
  word-break: break-word;
}

.target-hero-action {
  flex: 0 0 auto;
}

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

.form-grid.is-collapsed {
  display: none;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group-full {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 13px;
  color: #645a55;
  font-weight: 700;
}

.field-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

.field-input:focus {
  border-color: #d9b8c6;
  box-shadow: 0 0 0 3px rgba(214, 90, 141, 0.12);
}

.field-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: grid;
  gap: 10px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-warning {
  color: #9b6a13;
}

.form-status.is-error {
  color: #b34659;
}

.targets-grid,
.category-grid,
.history-list {
  display: grid;
  gap: 14px;
}

.targets-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.targets-grid > .empty-state {
  grid-column: 1 / -1;
}

.category-card,
.history-card {
  padding: 18px;
}

.target-card {
  --target-card-border: var(--line);
  --target-card-shadow: rgba(60, 30, 30, 0.08);
  --target-card-accent: #7b4e64;
  --target-card-glow: rgba(214, 90, 141, 0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 18px 34px var(--target-card-shadow);
  border-color: var(--target-card-border);
  padding: 0;
}

.target-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 58%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--target-card-glow) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.target-card:hover {
  transform: translateY(-2px);
}

.target-card-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.target-card-summary::-webkit-details-marker {
  display: none;
}

.target-card-summary::marker {
  content: "";
}

.target-card-summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.target-card-body {
  position: relative;
  z-index: 1;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.target-card.traffic-green {
  --target-card-border: #bfded2;
  --target-card-shadow: rgba(60, 169, 138, 0.16);
  --target-card-accent: #236f5b;
  --target-card-glow: rgba(60, 169, 138, 0.18);
  background: var(--target-green-card);
}

.target-card.traffic-yellow {
  --target-card-border: #ead5aa;
  --target-card-shadow: rgba(185, 132, 32, 0.14);
  --target-card-accent: #8d6011;
  --target-card-glow: rgba(234, 182, 72, 0.18);
  background: var(--target-yellow-card);
}

.target-card.traffic-red {
  --target-card-border: #e8bfca;
  --target-card-shadow: rgba(179, 70, 89, 0.16);
  --target-card-accent: #8d3f50;
  --target-card-glow: rgba(179, 70, 89, 0.18);
  background: var(--target-red-card);
}

.target-card-top,
.category-card-top,
.history-card-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.target-card-indicators {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.target-meta,
.target-summary,
.history-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.target-card .eyebrow,
.target-card .target-meta,
.target-card .target-summary {
  color: #5a4f49;
}

.target-meta {
  margin-top: 8px;
  font-size: 14px;
}

.target-summary {
  margin-top: 14px;
}

.target-card-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
  color: var(--target-card-accent);
  font-size: 18px;
  line-height: 1;
}

.target-card-toggle::before {
  content: "+";
}

.target-card[open] .target-card-toggle::before {
  content: "-";
}

.target-metrics,
.history-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 12px;
  color: #5f5853;
  font-size: 14px;
}

.metric-inline,
.metric-card,
.category-card-grid > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
}

.target-card .metric-inline {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.target-card .primary-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--target-card-accent);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.target-card .primary-btn:hover {
  background: #fff;
  color: var(--target-card-accent);
}

.target-card .status-chip {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.metric-inline {
  min-width: 120px;
}

.metric-label,
.metric-title {
  display: block;
  color: #8f847d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

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

.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card strong,
.metric-inline strong,
.category-card-grid strong {
  font-size: 20px;
}

.result-disclaimer {
  margin-top: 14px;
  border-left: 4px solid #dfc7d2;
  background: #fff9fb;
  border-radius: 14px;
  padding: 14px 16px;
  color: #685f5a;
  line-height: 1.55;
}

.category-grid {
  margin-top: 14px;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

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

.helper-item {
  padding: 18px;
}

.helper-item h3 {
  margin-top: 0;
}

.helper-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.helper-item a {
  color: #8b5c74;
  font-weight: 700;
}

.empty-state {
  border: 1px dashed #d8cec8;
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.empty-state p {
  margin: 0 0 8px;
}

.empty-state span {
  font-size: 14px;
}

.checkin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.questions-stack {
  display: grid;
  gap: 18px;
}

.category-section .muted-text {
  margin: 0;
}

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

.question-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.question-item.is-missing {
  border-color: #efb2bf;
  background: #fff7f8;
}

.question-label {
  font-weight: 700;
  line-height: 1.45;
}

.question-item.is-missing .question-label {
  color: #9d3b51;
}

.field-input.is-missing {
  border-color: #d7667e;
  background: #fff7f8;
  box-shadow: 0 0 0 3px rgba(215, 102, 126, 0.12);
}

.preview-panel {
  position: sticky;
  top: 24px;
}

.preview-summary {
  margin: 16px 0 0;
  line-height: 1.6;
  color: #5f5853;
}

.history-summary {
  margin-top: 12px;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.site-footer {
  margin-top: 8px;
  padding: 18px 8px 6px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-brand {
  margin: 0 0 10px;
  font-size: 13px;
  color: #7f756f;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 10px 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #8b5c74;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact {
  margin: 0 0 8px;
  font-size: 13px;
  color: #7f756f;
}

.footer-contact a {
  color: #8b5c74;
  font-weight: 700;
}

.footer-note {
  margin: 0;
  font-size: 12px;
  color: #a39a94;
}

.prenamoro-swal-popup {
  border-radius: 28px !important;
  padding: 22px 20px 20px !important;
  box-shadow: 0 22px 40px rgba(74, 38, 53, 0.16) !important;
}

.prenamoro-swal-title {
  color: #433c38 !important;
  font-size: 28px !important;
}

.prenamoro-swal-html {
  text-align: left !important;
  color: #5f5853 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.prenamoro-swal-confirm,
.prenamoro-swal-cancel {
  border-radius: 16px !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow) !important;
}

.prenamoro-swal-confirm {
  background: var(--pink) !important;
}

.prenamoro-swal-cancel {
  background: #fff !important;
  color: #433c38 !important;
  border: 1px solid var(--line) !important;
}

.support-list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 14px 0 0;
}

.support-inline-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.support-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--soft-pink);
  color: var(--pink-dark);
  font-weight: 700;
}

.support-note {
  margin: 16px 0 0;
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff7fa;
  color: #7b4e64;
}

.legal-shell {
  max-width: 760px;
  padding: 28px 16px 40px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 26px 22px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: #9c918a;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.15;
}

.legal-card h2 {
  margin: 22px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: #5f5853;
  line-height: 1.65;
  font-size: 16px;
}

.legal-card ul {
  padding-left: 22px;
  margin: 8px 0 0;
}

.legal-card a {
  color: #8b5c74;
  font-weight: 700;
}

.legal-alerts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.legal-actions {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .checkin-layout,
  .helper-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .shell-app {
    padding-top: 20px;
  }

  .target-hero-head,
  .panel-topbar,
  .section-head,
  .target-card-top,
  .category-card-top,
  .history-card-top {
    flex-direction: column;
  }

  .target-hero-action {
    width: 100%;
  }

  .target-card-indicators {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .form-grid,
  .category-card-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel-brand {
    font-size: 34px;
  }

  .brand {
    font-size: 46px;
  }

  .hero h2,
  .panel-card h2 {
    font-size: 21px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
