@font-face {
  font-family: Lora;
  src: url('./assets/assets/fonts/Lora.ttf');
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('./assets/assets/fonts/Manrope.ttf');
  font-display: swap;
}
:root {
  color-scheme: dark;
  font:
    16px/1.5 Manrope,
    sans-serif;
  color: #efe9d2;
  background: #14251e;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
.page {
  min-height: 100dvh;
  max-width: 600px;
  margin: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(12px, env(safe-area-inset-top)) 20px 12px;
}
.brand {
  font:
    600 20px Lora,
    serif;
  color: #bec9aa;
}
.content {
  padding: 8px 20px max(20px, env(safe-area-inset-bottom));
}
h1 {
  font:
    600 28px/1.25 Lora,
    serif;
  margin: 0 0 12px;
}
h2 {
  font:
    600 16px/1.5 Lora,
    serif;
  margin: 0;
}
h2 span {
  display: block;
  font:
    12px/1.5 Manrope,
    sans-serif;
  color: #b5c3ac;
}
p {
  margin: 0;
}
.intro {
  margin-bottom: 20px;
  color: #d5ddc8;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
textarea {
  display: block;
  width: 100%;
  resize: vertical;
  min-height: 128px;
  max-height: 50dvh;
  padding: 12px;
  background: #102018;
  color: inherit;
  border: 1px solid #768265;
  border-radius: 8px;
  font: inherit;
}
textarea::placeholder {
  color: #a3b29c;
}
.hint {
  color: #b5c3ac;
  font-size: 12px;
  margin-top: 8px;
}
.attachment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
}
.button {
  min-width: 44px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 16px solid transparent;
  border-image: url('./assets/assets/ui/ink/button-secondary.png') 32 80 fill /
    8px 20px stretch;
  padding: 0 8px;
  background: transparent;
  color: #efe9d2;
  font:
    600 15px/1.3 Lora,
    serif;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.primary {
  border-image-source: url('./assets/assets/ui/ink/button-primary.png');
}
.button:hover {
  filter: brightness(1.15);
}
.button:active {
  filter: brightness(0.85);
}
.button:disabled {
  opacity: 0.45;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #e3cd88;
  outline-offset: 2px;
}
.actions {
  margin-top: 20px;
}
.actions .button {
  width: 100%;
  min-height: 52px;
}
figure {
  margin: 12px 0 0;
}
figure img {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: left;
  border-radius: 4px;
}
figcaption {
  font-size: 12px;
  color: #b5c3ac;
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.privacy {
  font-size: 12px;
  color: #b5c3ac;
  margin-top: 20px;
}
#status {
  margin: 0 0 12px;
}
#status:empty {
  display: none;
}
#status[data-error='true'] {
  color: #f2b6a0;
}
