:root {
  --line-green: #06c755;
  --ink: #172018;
  --muted: #647067;
  --surface: #ffffff;
  --surface-soft: #f4f8f5;
  --border: #dce8df;
  --shadow: 0 18px 50px rgba(22, 45, 27, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fff9 0%, #edf8f0 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.app-shell {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px 12px;
}

.merchant-name,
.label,
.muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

h1,
h2,
h3,
.value,
.price,
.status-value {
  margin: 0;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.08;
}

h2 {
  font-size: 1.1rem;
}

h3,
.value,
.price,
.status-value {
  font-size: 1rem;
  font-weight: 750;
}

.liff-chip,
.line-brand {
  border-radius: 999px;
  background: rgba(6, 199, 85, 0.12);
  color: #037a36;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 7px 10px;
  white-space: nowrap;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 12px 0;
  padding: 16px;
}

.profile-panel,
.section-header,
.product-card,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-panel {
  justify-content: flex-start;
}

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--line-green);
  color: #fff;
  font-weight: 800;
}

.product-card {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  padding: 11px 12px;
}

button {
  border: 0;
  border-radius: 8px;
  background: var(--line-green);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 42px;
  padding: 0 14px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

button.secondary {
  background: #e9f8ee;
  color: #047a38;
}

button.ghost {
  background: transparent;
  color: #047a38;
}

.status-panel {
  display: grid;
  gap: 6px;
}

.notification-panel {
  border-color: rgba(6, 199, 85, 0.32);
}

.notification-panel h2 {
  margin-top: 12px;
}

.notification-panel p:not(.label) {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .app-shell {
    padding: 14px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions button {
    width: 100%;
  }
}
