@font-face {
  font-family: Lato;
  src: url(/fonts/Lato-Regular.ttf) format("truetype");
  font-display: swap;
}
:root {
  font-family: Lato, system-ui, sans-serif;
  color: #263b35;
  background: #f8f9f6;
  --green: #146b55;
  --dark: #124d3f;
  --muted: #58685f;
  --line: #dce3d9;
  --surface: #fff;
  --pale: #eaf1e8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}
a {
  color: var(--dark);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  line-height: 1.25;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
p,
ul,
ol {
  margin-bottom: 1.25rem;
}
li + li {
  margin-top: 0.65rem;
}
ul,
ol {
  padding-left: 1.5rem;
}
strong {
  font-weight: 700;
}
section {
  scroll-margin-top: 2rem;
}
img {
  display: block;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: 0.75rem;
  z-index: 3;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner {
  max-width: 1240px;
  margin: auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand strong {
  display: block;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.open-app {
  font-size: 0.95rem;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.layout {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 3rem;
  padding: 3rem 2rem;
}
.sidebar {
  align-self: start;
  position: sticky;
  top: 2rem;
  font-size: 0.95rem;
}
.sidebar nav {
  display: grid;
  gap: 0.25rem;
}
.sidebar nav a {
  display: block;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  border-radius: 0.5rem;
}
.sidebar nav a[aria-current="page"] {
  background: var(--pale);
  color: var(--dark);
  font-weight: bold;
}
.sidebar .nav-title {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: bold;
}
.sidebar > p {
  margin: 2rem 0.9rem;
  color: var(--muted);
}
main {
  min-width: 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: bold;
  font-size: 0.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.description {
  font-size: 1.15rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.55;
}
.updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.summary {
  background: var(--pale);
  border-left: 4px solid var(--green);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--dark);
}
.contents {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.contents h2 {
  font-size: 1rem;
  letter-spacing: 0;
}
.contents ol {
  columns: 2;
  column-gap: 2rem;
  font-size: 0.95rem;
  margin: 0;
}
.contents li {
  break-inside: avoid;
  padding-right: 0.5rem;
}
.contents a {
  display: inline-block;
  padding: 0.2rem 0;
}
article {
  max-width: 51rem;
}
article section + section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2rem;
}
article li {
  padding-left: 0.2rem;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  background: var(--surface);
}
caption {
  text-align: left;
  font-weight: bold;
  padding: 1rem;
}
th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
th {
  background: var(--pale);
}
td:first-child {
  width: 29%;
  font-weight: bold;
}
dt {
  font-weight: bold;
  margin-top: 1.5rem;
}
dd {
  margin: 0.5rem 0 0;
}
.page-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.page-footer p {
  margin-bottom: 0.5rem;
}
.page-footer span {
  margin: 0 0.4rem;
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.page-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  text-decoration: none;
}
.page-card h2 {
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.page-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.page-card:hover {
  border-color: var(--green);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--green);
  border-radius: 0.5rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.4;
}
.button:hover {
  background: var(--dark);
}
.button.danger {
  background: #a12a2a;
  border-color: #a12a2a;
}
.button.danger:hover {
  background: #7d2020;
}
.delete-form {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 0.75rem;
  max-width: 36rem;
}
.delete-form > label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}
.delete-form > input,
.delete-form .password-wrap > input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #839389;
  border-radius: 0.4rem;
  padding: 0.6rem 0.75rem;
  margin-bottom: 1.25rem;
}
.password-wrap {
  position: relative;
}
.delete-form .password-wrap > input {
  padding-right: 56px;
}
.password-wrap .password-toggle {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0.4rem;
  color: var(--green);
  background: transparent;
  display: grid;
  place-items: center;
}
.password-toggle:hover {
  background: var(--pale);
}
.password-toggle .eye-slash {
  display: none;
}
.password-toggle[aria-pressed="true"] .eye-slash {
  display: block;
}
.delete-form .check-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: normal;
  margin-bottom: 1.5rem;
}
.check-label input {
  accent-color: var(--green);
  margin-top: 0.4rem;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}
.delete-form .button {
  width: 100%;
}
#delete-status {
  margin: 1rem 0 0;
  overflow-wrap: anywhere;
}
#delete-status:empty {
  display: none;
}
#delete-status[data-error="true"] {
  color: #952222;
}
#delete-status[data-success="true"] {
  color: var(--dark);
  padding: 1rem;
  background: var(--pale);
}
@media (max-width: 900px) {
  .layout {
    gap: 2rem;
    grid-template-columns: 190px minmax(0, 1fr);
    padding: 2rem 1.5rem;
  }
  .contents ol {
    columns: 1;
  }
  .page-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    padding: 1rem;
  }
  .brand strong {
    font-size: 1.2rem;
  }
  .brand small {
    font-size: 0.67rem;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .open-app {
    font-size: 0.85rem;
  }
  .layout {
    display: block;
    padding: 0 1rem 2rem;
  }
  .sidebar {
    position: static;
    margin: 0 -1rem 1.75rem;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem;
    background: var(--surface);
  }
  .sidebar nav {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }
  .sidebar nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.85rem;
  }
  .sidebar nav .nav-title {
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .sidebar > p {
    display: none;
  }
  .summary,
  .contents,
  .delete-form {
    padding: 1rem;
  }
  .description {
    font-size: 1.05rem;
  }
  .page-heading {
    padding-top: 0.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  th,
  td {
    padding: 0.65rem;
    font-size: 0.88rem;
  }
  td:first-child {
    width: 32%;
  }
  .page-footer {
    margin-top: 2rem;
  }
  .page-card {
    padding: 1.25rem;
  }
}
@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .site-header,
  .sidebar,
  .contents,
  .skip-link,
  .delete-form,
  .open-app {
    display: none;
  }
  .layout {
    display: block;
    padding: 0;
    max-width: none;
  }
  main,
  article {
    max-width: none;
  }
  .summary {
    border: 1px solid #777;
    background: white;
  }
  .page-heading .updated {
    margin-bottom: 1rem;
  }
  section,
  h2 {
    break-after: avoid-page;
  }
  table tr {
    break-inside: avoid;
  }
  a {
    color: inherit;
  }
  .page-footer a[href="#main"] {
    display: none;
  }
  .table-wrap {
    overflow: visible;
  }
}
