:root {
  --green: #173c32;
  --paper: #f6f4ee;
  --line: #dce1d9;
  --muted: #64746a;
  --gold: #9d753f;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--green);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  background: white;
  color: var(--green);
}
button:hover {
  border-color: var(--green);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px max(24px, calc((100% - 1240px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  font:
    600 22px Georgia,
    serif;
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand small {
  display: block;
  font: 11px system-ui;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}
.badge {
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 30px;
  background: #ede6d7;
  color: #765b34;
  padding: 8px 12px;
  margin-left: auto;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 32px 24px 70px;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
}
h1 {
  font-size: 38px;
  margin: 10px 0 14px;
}
h2 {
  font-size: 26px;
  margin: 0 0 16px;
}
h3 {
  font-size: 21px;
  margin: 0 0 12px;
}
p,
small {
  line-height: 1.6;
}
p,
.muted,
small {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}
.login {
  max-width: 530px;
  margin: 60px auto;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
input,
select,
textarea {
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  color: var(--green);
  background: #fff;
  min-width: 0;
  width: 100%;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
.check {
  flex-direction: row;
  align-items: center;
  padding: 10px 0;
}
form button {
  margin-top: 15px;
}
nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 28px;
}
nav .active {
  background: var(--green);
  color: white;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.full {
  grid-column: 1/-1;
}
.tour-switch {
  display: flex;
  gap: 10px;
}
.tour-switch .active {
  border-color: var(--green);
  background: #edf2ed;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.stat {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 20px;
}
.stat strong {
  display: block;
  font: 32px Georgia;
}
.stat small {
  font-size: 12px;
}
.split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  gap: 24px;
}
.place-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.place {
  width: 100%;
  text-align: left;
  padding: 16px;
  background: white;
}
.place.active {
  border: 2px solid var(--green);
}
.place strong,
.place small {
  display: block;
}
.place small {
  font-size: 12px;
  margin-top: 5px;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.empty .symbol {
  font: 56px Georgia;
  color: #bac8ba;
}
.empty h3 {
  margin-top: 15px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.danger {
  color: #9a382c;
}
.connection {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.connection:last-child {
  border: 0;
}
.connection .fields {
  gap: 10px;
  margin-top: 12px;
}
.connection input {
  padding: 9px;
}
.chip {
  display: inline-block;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  background: #edf2ed;
}
.chip.private {
  background: #ede6d7;
  color: #765b34;
}
.upload {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--paper);
  margin-top: 20px;
}
#message {
  position: sticky;
  bottom: 12px;
  background: var(--green);
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 28px #173c3220;
}
#message:empty {
  display: none;
}
#login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
[hidden] {
  display: none !important;
}
.bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 150px;
  margin: 20px 0;
}
.bar {
  flex: 1;
  background: #dce8dc;
  min-height: 3px;
  border-radius: 5px 5px 0 0;
  position: relative;
}
.bar span {
  position: absolute;
  bottom: -25px;
  left: 0;
  font-size: 10px;
  color: var(--muted);
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.preview-link {
  color: var(--green);
}
.callout {
  border-left: 3px solid var(--gold);
  padding: 4px 18px;
  margin: 20px 0;
}
.note {
  font-size: 12px;
}
.login p {
  font-size: 14px;
}
@media (max-width: 720px) {
  header {
    padding: 14px 16px;
    gap: 10px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .badge {
    font-size: 9px;
    max-width: 110px;
    text-align: center;
  }
  header button {
    padding: 8px;
  }
  main {
    padding: 24px 16px 60px;
  }
  h1 {
    font-size: 31px;
  }
  .panel {
    padding: 20px;
  }
  .split,
  .fields,
  .three {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tour-switch {
    width: 100%;
  }
  .tour-switch button {
    flex: 1;
  }
  .bars {
    gap: 4px;
  }
  .bar span {
    font-size: 8px;
  }
  .login {
    margin: 25px auto;
  }
  nav button {
    padding: 10px 12px;
    font-size: 13px;
  }
}
