:root {
  --panel: #ffffff;
  --line: #d9e2ec;
  --text: #1f2d3d;
  --accent-soft: #daf7e8;
}

body {
  background: linear-gradient(180deg, #f5fbf8 0%, #f4f7fb 100%);
  color: var(--text);
}

main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

h2,
h3 {
  margin-top: 0;
  color: #0b3d2e;
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

input,
textarea,
select,
button {
  width: 100%;
  padding: 8px;
  border: 1px solid #c3ceda;
  border-radius: 6px;
  font: inherit;
}

textarea {
  min-height: 78px;
}

button {
  margin: 6px 0;
  background: var(--accent-soft);
  border: 1px solid #9bd5c3;
  cursor: pointer;
  font-weight: 600;
  color: #09392b;
}

button:hover {
  background: #c8eedf;
}

.project-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  border: 1px solid #b6d6c8;
  background: #f7fdf9;
  border-radius: 8px;
  margin-bottom: 12px;
}

.tab-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-btn {
  width: auto;
  padding: 8px 12px;
}

.tab-btn.active {
  background: #0f5f44;
  color: #fff;
}

.kobo-layout {
  display: grid;
  grid-template-columns: 220px 1fr 380px;
  gap: 12px;
}

.kobo-nav {
  border: 1px solid #d4e4db;
  background: #f9fcfa;
  border-radius: 8px;
  padding: 10px;
}

.kobo-nav ul {
  margin: 0;
  padding-left: 18px;
}

.kobo-form,
.kobo-map-side {
  border: 1px solid #d4e4db;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.mode-panel {
  margin-top: 8px;
}

#map {
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

pre {
  background: #0f2e23;
  color: #d9ffe6;
  padding: 12px;
  border-radius: 8px;
  max-height: 220px;
  overflow: auto;
}

.upload-row {
  border: 1px dashed #8ec5ae;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #f7fdf9;
}

.role-pill {
  background: rgba(218, 247, 232, 0.15);
  border: 1px solid rgba(218, 247, 232, 0.4);
  padding: 6px 10px;
  border-radius: 999px;
  color: #daf7e8;
  font-size: 13px;
}

.role-entry-main {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-entry-card {
  max-width: 520px;
  width: 100%;
}

.hidden {
  display: none;
}

#submitted-list,
#accepted-list,
#rejected-list {
  margin: 0;
  padding-left: 18px;
}

#submitted-list li,
#accepted-list li,
#rejected-list li {
  margin-bottom: 6px;
}

@media (max-width: 1200px) {
  .kobo-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .project-banner {
    grid-template-columns: 1fr;
  }

  .tab-row {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }
}
