:root {
  --bg: #eaf6ef;
  --panel: rgba(255, 255, 252, 0.9);
  --line: rgba(22, 91, 63, 0.16);
  --green: #16885f;
  --green-dark: #063c2a;
  --muted: #60776c;
  --text: #10251e;
  --shadow: 0 24px 70px rgba(22, 77, 52, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(84, 192, 145, 0.22), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(67, 160, 183, 0.14), transparent 28%),
    linear-gradient(120deg, #e9f8ef 0%, #eef8f4 48%, #edf4ef 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.start-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

.start-head,
.start-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.start-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
}

.start-head span,
.panel-kicker {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

.start-head h1 {
  margin-top: 8px;
  font-size: 34px;
  line-height: 1.08;
}

.start-head p,
.start-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.start-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
  margin-top: 18px;
}

.login-panel {
  display: grid;
  max-width: 620px;
  gap: 22px;
  margin: 18px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 26px;
}

.login-panel h2 {
  margin-top: 8px;
  font-size: 28px;
}

.login-panel p {
  margin-top: 10px;
  color: var(--muted);
}

.login-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.login-panel input {
  min-width: 0;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 0 16px;
}

.login-panel button {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  padding: 0 22px;
}

.login-error {
  min-height: 20px;
  color: #a3332d;
  font-size: 14px;
}

.start-panel {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.start-panel.primary {
  background:
    radial-gradient(circle at 82% 8%, rgba(85, 204, 160, 0.2), transparent 36%),
    var(--panel);
}

.start-panel:nth-child(2) {
  grid-row: span 2;
}

.start-panel h2 {
  margin-top: 10px;
  font-size: 28px;
}

.start-panel button,
.secondary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: 0 20px;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
}

.customer-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.customer-card {
  display: grid;
  width: 100%;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-align: left;
  padding: 14px;
}

.customer-card strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.customer-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.empty-state {
  border: 1px dashed rgba(22, 91, 63, 0.22);
  border-radius: 16px;
  color: var(--muted);
  padding: 18px;
}

@media (max-width: 820px) {
  .start-grid {
    grid-template-columns: 1fr;
  }

  .start-panel:nth-child(2) {
    grid-row: auto;
  }

  .start-head {
    align-items: flex-start;
  }

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