:root {

  --bg-main: #f2f1ed;        
  --bg-card: #ffffff;
  --bg-muted: #ebe9e4;

  --text-primary: #1f2933;
  --text-secondary: #6b7280;

  --accent-primary: #6f7f5e; /* olive */
  --accent-secondary: #9aa58c;
  --accent-danger: #b85c5c;

  --border-soft: #e5e7eb;
  --radius-card: 18px;
  --radius-input: 12px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter",
               "SF Pro Text", system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.auth-bar {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 24px;
  text-align: right;
}

button {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

button:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

#logout {
  background: var(--accent-danger);
}

#shareBtn {
  background: var(--accent-secondary);
  color: #1f2933;
}

.container {
  max-width: 920px;
  margin: 48px auto;
  padding: 0 20px;
}

h1 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 28px;
}

h2 {
  font-size: 20px;
  font-weight: 500;
}

.section {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}

.section h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.section div {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border-soft);
  background: #fafafa;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.actions {
  display: flex;
  gap: 14px;
  margin: 26px 0;
}

.summary {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-soft);
}

.summary p {
  margin: 8px 0;
  font-weight: 500;
}

canvas {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

footer {
  margin: 60px 20px 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 26px;
  }

  .section div {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
  }
}
