:root {
  color-scheme: dark;
  font-family: Inter, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #101716;
  color: #edf3ed;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 86px;
  padding: 0 max(28px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid #2c3933;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
  color: inherit;
  text-decoration: none;
}
.brand span {
  color: #c6ec8e;
  margin: 0 5px;
}
.header-note {
  font-size: 12px;
  color: #aeb9b0;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 52px 0 28px;
}
.intro {
  margin-bottom: 36px;
}
.eyebrow {
  color: #b4cf9b;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  margin: 0 0 15px;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 0 0 20px;
  font-weight: 650;
}
.intro > p:last-child {
  font-size: 14px;
  line-height: 1.9;
  color: #aeb9b0;
}
h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 23px;
}
.card {
  background: #18221e;
  border: 1px solid #354239;
  border-radius: 16px;
  padding: 28px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.pill {
  font-size: 11px;
  border: 1px solid #526344;
  border-radius: 20px;
  padding: 5px 10px;
  color: #c6dfac;
  white-space: nowrap;
}
.muted {
  color: #aab8ae;
  line-height: 1.8;
}
.small {
  font-size: 12px;
}
label {
  display: block;
  font-size: 12px;
  color: #b7c4ba;
  margin: 0 0 10px;
}
input:not([type="hidden"]) {
  background: #111a15;
  border: 1px solid #51604f;
  border-radius: 8px;
  padding: 13px;
  color: #fff;
  font: inherit;
  max-width: 100%;
  width: 100%;
  outline: none;
}
input:focus {
  border-color: #c6ec8e;
  box-shadow: 0 0 0 2px #c6ec8e22;
}
button,
.button {
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid #55644f;
  background: #243027;
  color: #e2eddf;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}
button:hover,
.button:hover {
  filter: brightness(1.14);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}
.primary {
  background: #c6ec8e;
  color: #17210d;
  border-color: #c6ec8e;
  font-weight: 650;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
}
.text-button {
  background: none;
  border: 0;
  padding: 5px 0;
  color: #bbcbb7;
  font-size: 12px;
}
.danger {
  color: #d3aaa1;
}
.picker {
  border: 1px dashed #53644d;
  border-radius: 11px;
  padding: 25px 16px;
  text-align: center;
  background: #141e18;
}
.picker p {
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 13px 0 20px;
}
.upload-mark {
  font-size: 30px;
  color: #c6ec8e;
}
.picker-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.picker-buttons label {
  margin: 0;
}
.file-input {
  position: absolute;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0 !important;
}
.file-input:focus + label {
  outline: 2px solid #c6ec8e;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.empty {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #8a9c8b;
  font-size: 13px;
}
.empty > span {
  font-size: 44px;
  font-weight: 300;
  color: #617957;
  margin-bottom: 20px;
}
.filename {
  font-size: 20px;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin: 24px 0 6px;
}
.expiry {
  display: flex;
  justify-content: space-between;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid #354239;
  border-bottom: 1px solid #354239;
  font-size: 12px;
  align-items: center;
}
.expiry strong {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #c6ec8e;
}
.download-input {
  display: flex;
  gap: 10px;
}
.download-input input {
  width: 115px;
  letter-spacing: 5px;
  text-align: center;
}
.download-input .primary {
  flex: 1;
  justify-content: center;
}
.lock-message,
.message {
  padding: 14px 18px;
  border: 1px solid #8b6644;
  color: #e7c18e;
  background: #332b20;
  border-radius: 9px;
  line-height: 1.7;
  font-size: 13px;
  margin-bottom: 20px;
}
.message.success {
  border-color: #5c7550;
  color: #c6ec8e;
  background: #25331e;
}
.receipt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  border-color: #607848;
  gap: 20px;
}
.receipt h2 {
  margin-bottom: 8px;
}
.receipt p {
  font-size: 12px;
}
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.receipt-actions strong {
  font-size: 36px;
  letter-spacing: 7px;
  color: #c6ec8e;
  width: 100%;
}
footer {
  font-size: 11px;
  color: #819486;
  line-height: 1.9;
  margin-top: 32px;
}
footer > span {
  color: #aabcaa;
}
#login-panel {
  max-width: 500px;
}
#login-form .primary {
  margin-top: 18px;
}
#login-panel .muted {
  font-size: 13px;
}
progress {
  width: 100%;
  accent-color: #c6ec8e;
  margin-top: 20px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1180px) {
  main {
    margin: 0 28px;
  }
}
@media (max-width: 680px) {
  header {
    height: 70px;
    padding: 0 20px;
  }
  .header-note {
    display: none;
  }
  main {
    margin: 0 18px;
    padding-top: 30px;
  }
  .intro {
    margin-bottom: 28px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .receipt {
    display: block;
  }
  .receipt-actions {
    margin-top: 20px;
  }
  .empty {
    min-height: 180px;
  }
  h1 {
    font-size: 38px;
  }
}
