:root {
  font:
    15px/1.48 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #242b28;
  background: #f4f5f1;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1080px;
  margin: auto;
  padding: 16px clamp(16px, 4vw, 44px) 60px;
}
header,
.source,
.line,
.actions,
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header {
  padding: 7px 0 16px;
  border-bottom: 1px solid #d5dad5;
  font-size: 0.93rem;
}
.brand {
  font-weight: 680;
  justify-content: flex-start;
}
.swatch {
  width: 23px;
  height: 23px;
  border-radius: 4px;
  display: inline-block;
  background: repeating-linear-gradient(135deg, #23615a 0 4px, #dce8df 4px 6px);
}
h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 25px 0 20px;
}
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h2 {
  font-size: 1.2rem;
  margin: 0 0 16px;
}
h3 {
  font-size: 1.15rem;
  margin: 18px 0 12px;
}
a,
.linkbutton {
  color: #216059;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.upload {
  background: white;
  color: #263a32;
  border: 1px solid #aab5ad;
  border-radius: 7px;
  padding: 7px 12px;
  font-weight: 580;
  cursor: pointer;
}
button:disabled,
fieldset:disabled button {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  color: white;
  background: #1c544a;
  border-color: #1c544a;
  padding: 10px 16px;
}
.linkbutton {
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  margin: 12px 0;
  font-weight: 500;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 16px;
}
.card,
dialog {
  background: white;
  border: 1px solid #d3d9d2;
  border-radius: 12px;
  padding: 20px;
}
.source p,
small,
.muted {
  color: #54635a;
}
.source p {
  margin: 4px 0 0;
}
.source button {
  flex-shrink: 0;
}
.source h2 {
  margin: 0;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
label {
  display: block;
  font-size: 0.91rem;
  font-weight: 580;
  margin: 12px 0 0;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
  display: block;
  background: #fff;
  border: 1px solid #98a79d;
  border-radius: 6px;
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  color: inherit;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: #1c544a;
}
.check {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-weight: 450;
}
.proof img,
#emptyphoto {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 7px;
}
.proof img {
  display: block;
}
#emptyphoto {
  display: grid;
  place-content: center;
  background: #eef2ec;
  color: #54635a;
  text-align: center;
  padding: 18px;
}
.upload {
  display: block;
  position: relative;
  width: fit-content;
  overflow: hidden;
  font-size: 0.87rem;
}
.upload input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  cursor: pointer;
}
.line {
  padding: 7px 0;
  border-bottom: 1px solid #e5e8e2;
  font-variant-numeric: tabular-nums;
}
.proof .primary {
  width: 100%;
  margin-top: 15px;
}
.recent {
  margin-top: 18px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #e2e8e2;
}
.row small {
  display: block;
}
#history {
  margin-top: 12px;
}
#notice:empty {
  display: none;
}
#notice:not(:empty) {
  padding: 10px 13px;
  background: #e3eee6;
  border-radius: 6px;
}
#notice.error {
  background: #fff0d8;
  color: #663a0d;
}
dialog {
  max-width: 460px;
  color: inherit;
}
dialog::backdrop {
  background: #16281d66;
}
.actions {
  justify-content: flex-end;
  margin-top: 16px;
}
:focus-visible,
.upload:focus-within {
  outline: 3px solid #347e9d;
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.article {
  max-width: 760px;
}
.article header .brand {
  color: inherit;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.topics {
  padding: 14px 0;
  border-block: 1px solid #d5dad5;
}
.article :target {
  scroll-margin-top: 16px;
}
.article h2 {
  margin: 28px 0 8px;
}
.article li {
  margin: 6px 0;
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  color: #216059;
  font-weight: 580;
}
#debitHelp:not(:empty) {
  background: #fff2d9;
  padding: 9px;
  border-radius: 6px;
}
.linkbutton + .linkbutton {
  margin-left: 12px;
}
@media (max-width: 720px) {
  .layout {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 16px;
  }
  .source {
    flex-wrap: wrap;
  }
  main {
    padding-bottom: 32px;
  }
  .proof img {
    height: 190px;
  }
}
