* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  min-height: 100vh;
}

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #1d1d1f;
}

.brand span {
  color: #0071e3;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Buttons ── */
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #1d1d1f;
  transition: background 0.15s;
  font-family: inherit;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.text-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: #0071e3;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
  font-family: inherit;
}

.text-btn:hover {
  background: rgba(0, 113, 227, 0.08);
}

.pill-btn {
  background: #0071e3;
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}

.pill-btn:hover {
  background: #0077ed;
}

.pill-btn:active {
  background: #006edb;
  transform: scale(0.98);
}

/* ── Hero ── */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: #1d1d1f;
}

.hero p {
  margin-top: 8px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: #6e6e73;
  letter-spacing: -0.2px;
}

/* ── Entries Grid ── */
.entries-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 48px;
}

.entries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

/* ── Card ── */
.entry-card {
  background: #fff;
  border-radius: 18px;
  border: 0.5px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: box-shadow 0.2s;
}

.entry-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.entry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.entry-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #86868b;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
}

/* ── Form Fields ── */
.entry-card label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: 0.1px;
}

.entry-card label:last-child {
  margin-bottom: 0;
}

.entry-card input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  background: #f5f5f7;
  font-size: 14px;
  font-weight: 400;
  color: #1d1d1f;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  outline: none;
}

.entry-card input:focus {
  border-color: #0071e3;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.entry-card input::placeholder {
  color: #c7c7cc;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero p  { font-size: 1rem; }
  .grid-2  { grid-template-columns: 1fr; }
  .entries { grid-template-columns: 1fr; }
}
