:root {
  font-family: Inter, system-ui, sans-serif;
  color: #171e23;
  background: #f6f5ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 6vw;
  border-bottom: 1px solid #dedfd9;
}
header strong {
  letter-spacing: 2px;
}
header span {
  color: #687176;
}
header button {
  margin-left: auto;
}
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}
h1 {
  font-size: 36px;
  letter-spacing: -1px;
}
h2 {
  font-size: 23px;
}
p {
  line-height: 1.6;
  color: #687176;
}
section {
  padding: 26px;
  background: white;
  border-radius: 20px;
  margin: 22px 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
input {
  padding: 12px;
  font: inherit;
  border: 1px solid #d9ddd7;
  border-radius: 10px;
  width: 100%;
}
button {
  background: #ffcf32;
  color: #171e23;
  padding: 13px 19px;
  font: 600 14px system-ui;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
form {
  display: grid;
  gap: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.check {
  flex-direction: row;
  align-items: center;
}
.check input {
  width: auto;
}
.item {
  padding: 16px 0;
  border-top: 1px solid #e7e9e5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.item span {
  flex: 1;
  min-width: 220px;
  white-space: pre-line;
  line-height: 1.5;
}
.item button {
  background: #eceee8;
}
.account-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
button.danger {
  background: #a62822;
  color: white;
}
dialog {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  max-width: min(600px, 94vw);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #17221c99;
}
dialog p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#notice {
  padding: 14px;
  background: #fff4ca;
  border-radius: 10px;
  white-space: pre-line;
}
#login {
  max-width: 500px;
  margin: 40px auto;
}
[hidden] {
  display: none !important;
}
a {
  color: #125e54;
  text-underline-offset: 3px;
}
li {
  line-height: 1.65;
  margin-bottom: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
td,
th {
  padding: 16px 12px;
  border-bottom: 1px solid #dde5df;
  vertical-align: top;
}
th {
  background: #edf5ef;
}
.table-wrap {
  overflow-x: auto;
}
.hero {
  background: #133f39;
  color: white;
  padding: clamp(24px, 5vw, 60px);
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
}
.hero p {
  color: #dfede5;
}
.hero .notice {
  padding: 14px;
  border-left: 3px solid #ffcf32;
  font-size: 14px;
}
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    gap: 12px;
  }
  section {
    padding: 20px;
  }
  main {
    padding: 0 12px;
    margin-top: 20px;
  }
  td,
  th {
    padding: 12px 8px;
    font-size: 14px;
  }
}
@media print {
  header,
  button {
    display: none;
  }
  body {
    background: white;
  }
  main,
  section {
    margin: 0;
    padding: 0;
  }
  h2 {
    break-after: avoid;
  }
  tr {
    break-inside: avoid;
  }
}
