:root {
  color-scheme: light;
  --ink: #182f2c;
  --muted: #536861;
  --green: #16594d;
  --line: #c9d6d1;
  --paper: #fff;
  --wash: #f1f5f3;
  font:
    16px/1.6 'Source Sans 3',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  color: var(--ink);
  background: var(--wash);
}
* {
  box-sizing: border-box;
}
[v-cloak] {
  display: none;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
header {
  background: #173e36;
  color: white;
}
.bar,
main {
  width: min(1080px, calc(100% - 48px));
  margin: auto;
}
.bar,
.heading,
.account,
.record-head,
.actions,
.section-head,
.room,
.public-room,
.filters {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bar,
.heading,
.record-head,
.section-head,
.public-room {
  justify-content: space-between;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.bar {
  min-height: 70px;
}
.account {
  font-size: 14px;
}
.account button {
  background: transparent;
  color: white;
  border-color: #8aa69e;
  padding: 4px 12px;
}
nav {
  background: white;
  border-bottom: 1px solid var(--line);
}
.tabs {
  min-height: 46px;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.tabs a {
  font-size: 15px;
  text-decoration: none;
  padding: 11px 0 8px;
  border-bottom: 3px solid transparent;
}
.tabs a[aria-current] {
  border-color: var(--green);
  font-weight: 650;
  color: var(--green);
}
main {
  padding: 32px 0 64px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.3;
}
h2 {
  font-size: 20px;
}
h3 {
  font-size: 17px;
}
.heading {
  margin-bottom: 22px;
}
.panel,
.board {
  padding: 26px 28px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
}
.entry {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(280px, 1fr);
  gap: 32px;
  padding-top: clamp(44px, 9vh, 115px);
  align-items: start;
}
.board {
  background: #e8f0e9;
  border-top: 4px solid #568373;
}
.login {
  border-top: 4px solid var(--green);
}
.login h1 {
  margin-bottom: 6px;
}
.login form {
  margin-top: 25px;
}
.columns {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: start;
}
.public-room,
.room,
.bulletin {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.public-room:last-child,
.room:last-child,
.bulletin:last-child {
  border-bottom: 0;
}
.room {
  justify-content: space-between;
}
.room:has(input) {
  cursor: pointer;
  padding-inline: 8px;
}
.room:has(input) div {
  flex: 1;
}
.selected {
  background: #eaf4ed;
}
.section-head {
  margin: 27px 0 12px;
  flex-wrap: wrap;
}
.slots {
  padding-left: 21px;
}
.muted,
small,
.empty,
.room > span {
  color: var(--muted);
}
small {
  display: block;
  font-size: 14px;
}
.refresh,
.pill {
  font-size: 14px;
}
.pill {
  background: #d8eae0;
  color: #164c39;
  border-radius: 20px;
  padding: 2px 12px;
  white-space: nowrap;
}
.quiet {
  background: #edf0ee;
  color: #495b53;
}
.panel form > label,
.review > label {
  display: block;
  margin: 13px 0;
}
.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}
input:not([type='radio']),
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #9baea5;
  border-radius: 4px;
  background: white;
}
.inline select,
.inline input {
  width: auto;
  margin: 0;
}
input[type='radio'] {
  accent-color: var(--green);
}
button {
  cursor: pointer;
  border: 1px solid #92aa9e;
  border-radius: 4px;
  background: white;
  color: var(--green);
  padding: 7px 16px;
}
button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #b58b3a;
  outline-offset: 2px;
}
.message {
  background: #e0efe6;
  border-left: 3px solid var(--green);
  padding: 10px 15px;
  margin-bottom: 18px;
}
.error {
  color: #872f26;
}
.message.error {
  border-color: #a44438;
  background: #fbeeea;
}
.login .error {
  margin: 8px 0;
}
.filters {
  margin-bottom: 14px;
}
.record {
  margin: 12px 0;
}
.record-head {
  padding-bottom: 9px;
}
.record p,
.bulletin p {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.actions {
  margin-top: 12px;
  flex-wrap: wrap;
}
.actions:empty {
  display: none;
}
.review {
  max-width: 620px;
}
.empty {
  padding-block: 18px;
}
textarea {
  resize: vertical;
}
@media (max-width: 720px) {
  .bar,
  main {
    width: calc(100% - 28px);
  }
  .entry,
  .columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .entry {
    padding-top: 24px;
  }
  .panel,
  .board {
    padding: 18px;
  }
  .bar {
    min-height: 58px;
  }
  .tabs {
    gap: 8px 16px;
    min-height: 44px;
  }
  .tabs a {
    font-size: 14px;
  }
  .brand {
    font-size: 18px;
  }
  .account {
    gap: 6px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  main {
    padding: 20px 0 42px;
  }
  h1 {
    font-size: 26px;
  }
  .room {
    gap: 8px;
  }
  .room > span {
    font-size: 14px;
  }
  .public-room {
    gap: 6px;
  }
}
