/* Global styles */
:root {
  --ink: #111827;
  --ink-muted: #4b5563;
  --paper: #fff7ed;
  --paper-line: #fed7aa;
  --accent: #fb923c;
  /* orange */
  --accent-strong: #f97316;
  --tape: rgba(255, 255, 255, 0.7);
  --overlay-duration: 500ms;
  --overlay-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --footer-height: 64px;
  --viewport-height: 100vh;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
  overflow-x: hidden;
}

/* Typography */
.marker-title {
  font-family: "Permanent Marker", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
}

/* Layout helpers */
.full-viewport {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.center-stack {
  display: grid;
  place-items: center;
  padding: 4vmin;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding: 2rem 1rem;
}

/* Wall surface background (JPG) */
.wall-surface .full-viewport {
  background-image: url('/static/wall_background.jpg');
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.brand-link {
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(0.9rem, 3.4vw, 1.75rem);
  display: inline-block;
  white-space: nowrap;
}

.main-nav {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.8);
}

.account {
  display: flex;
  align-items: center;
}

.account-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) inset;
}

.username {
  font-weight: 600;
  color: var(--ink);
}

.logout-link,
.login-link {
  text-decoration: none;
  color: #2563eb;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* Account dropdown */
.account-menu {
  position: relative;
}

.account-menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu .menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  display: none;
  z-index: 60;
}

.account-menu[open] .menu {
  display: block;
}

.account-menu .menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.account-menu .menu a:hover {
  background: #f9fafb;
}

/* Mobile nav dropdown */
.mobile-nav {
  position: relative;
  display: inline-block;
}

.mobile-nav summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 600;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav .menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  display: none;
  z-index: 60;
}

.mobile-nav[open] .menu {
  display: block;
}

.mobile-nav .menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}

.mobile-nav .menu a:hover {
  background: #f9fafb;
}

@media (min-width: 720px) {
  .main-nav {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
  }

  .avatar-initial {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .site-bar {
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-link {
    font-size: clamp(0.7rem, 4vw, 1.25rem);
    letter-spacing: 0.12px;
  }

  .account-group {
    gap: 0.25rem;
  }

  .mobile-nav summary {
    padding: 6px;
  }

  .avatar-initial {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .mobile-nav,
  .account {
    flex: 0 0 auto;
  }

  .account-group .username {
    display: none;
  }
}

@media (max-width: 360px) {
  .site-bar {
    padding-inline: 0.5rem;
  }

  .brand-link {
    font-size: clamp(0.66rem, 5vw, 1.1rem);
    letter-spacing: 0.1px;
  }
}

/* Hero envelope on Home and Envelope pages */
.hero {
  display: grid;
  place-items: center;
}

.hero-envelope {
  position: relative;
  display: inline-block;
  width: min(92vw, 980px);
}

.hero-envelope.small {
  width: min(92vw, 820px);
}

.envelope-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  background-color: transparent;
}

/* Envelope hero portrait (Envelope page) */
.hero-portrait {
  display: block;
  width: var(--portrait-width, min(92vw, 820px));
  margin: 1.25rem auto 0;
  position: relative;
  z-index: 1;
}

.portrait-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
  background: rgba(248, 250, 252, 0.8);
}

.portrait-img.is-envelope {
  object-fit: contain;
  background: transparent;
}

.hero-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  top: 12%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 4vmin;
}

.marker-title {
  font-size: clamp(32px, 8vmin, 84px);
  color: #141414;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6), 0 1px 12px rgba(0, 0, 0, 0.15);
  margin: 0.1em 0 0.4em;
}

.nav-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  background: var(--tape);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.nav-links a:hover {
  background: #fff;
}

/* Wall */
.wall-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.wall-header .marker-title {
  font-size: clamp(28px, 6vmin, 56px);
}

.search-box {
  width: min(520px, 92vw);
}

.search-box input[type="search"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--wall-column-max, 200px), 1fr));
  gap: clamp(10px, 2vmin, 20px);
  padding: 0.5rem 0;
}

@media (max-width: 520px) {
  .wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Render tile as button but keep it looking like a card */
.envelope-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
  text-align: inherit;
  width: 100%;
  cursor: pointer;
}

.envelope-frame {
  position: relative;
  transform: rotate(var(--rot, 0deg));
  transition: transform 120ms ease;
}

.envelope-frame:hover {
  transform: rotate(var(--rot, 0deg)) scale(1.02);
}

.envelope-pic {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
  background: #f8fafc;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.envelope-pic.is-envelope {
  background: transparent;
  background-color: transparent;
  object-fit: contain;
}

.label {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  padding: 0.25rem 0.4rem;
  background: var(--tape);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

/* Wall overlay */
.wall-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--overlay-duration), opacity var(--overlay-duration) var(--overlay-ease);
}

.wall-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s, opacity var(--overlay-duration) var(--overlay-ease);
}

.wall-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--overlay-duration) var(--overlay-ease);
}

.wall-overlay.open .wall-overlay-backdrop {
  opacity: 1;
}

.wall-overlay-dialog {
  position: relative;
  z-index: 1;
  display: inline-grid;
  justify-items: center;
  padding: clamp(12px, 4vmin, 24px);
  width: min(92vw, 560px);
  max-width: 96vw;
  transform: scale(0.92);
  transition: transform var(--overlay-duration) var(--overlay-ease);
  will-change: transform;
}

.wall-overlay.open .wall-overlay-dialog {
  transform: scale(1);
}

.wall-overlay.is-flip .wall-overlay-dialog {
  transform: none !important;
  transition: none !important;
}

/* Portrait container */
.wall-overlay-figure {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: min(520px, 90vw);
  max-height: min(86vh, 720px);
}

/* Image fits inside portrait container */
.wall-overlay-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: min(100%, 520px);
  max-height: calc(80vh - 120px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: transparent;
}

.wall-overlay-image.is-envelope {
  background: transparent;
}

.wall-overlay-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: var(--ink);
  font-weight: 700;
  background: var(--tape);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  text-shadow: none;
}

.wall-overlay-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .wall-overlay-dialog {
    width: min(94vw, 440px);
    padding: clamp(10px, 4vmin, 18px);
  }

  .wall-overlay-figure {
    max-width: min(440px, 94vw);
    max-height: none;
  }

  .wall-overlay-image {
    max-height: 70vh;
  }

  .wall-overlay-caption {
    position: static;
    width: 100%;
    text-align: center;
  }

  .wall-overlay-actions {
    position: static;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wall-overlay {
    transition: none !important;
  }

  .wall-overlay-backdrop {
    transition: none !important;
  }

  .wall-overlay-dialog {
    transition: none !important;
  }
}

/* Lock background scroll when overlay is open */
body.modal-open {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
}

/* Reserve space for fixed footer */
body {
  padding-bottom: var(--footer-height);
}

@supports (padding: max(0px)) {
  body {
    padding-bottom: max(var(--footer-height), env(safe-area-inset-bottom));
  }
}

/* Buttons */
.button {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.button:hover {
  background: #f9fafb;
}

.button.secondary {
  background: #f3f4f6;
  border-color: #e5e7eb;
}

@media (max-width: 400px) {
  .paper-window .button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Photo upload panel */
.photo-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 0;
}

.photo-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo-panel-wrapper {
  display: grid;
  gap: 0.75rem;
}

.photo-panel[hidden] {
  display: none !important;
}

.photo-frame {
  border: 1px dashed rgba(17, 24, 39, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.65);
  display: grid;
  place-items: center;
  gap: 0.75rem;
  width: clamp(180px, 42vw, 260px);
  margin: 0 auto;
}

.photo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.8);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.18);
}

.photo-image.placeholder {
  object-fit: contain;
  padding: 1rem;
  background: rgba(254, 215, 170, 0.4);
}

.photo-caption {
  margin: 0;
  font-weight: 600;
  color: var(--ink-muted);
  text-align: center;
}

.photo-upload-form {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.photo-upload-label {
  font-weight: 600;
}

#id_photo {
  padding: 0.4rem 0.25rem;
}

.help-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.form-errors {
  margin: 0;
  padding-left: 1.2rem;
  color: #b91c1c;
  font-size: 0.9rem;
}

.pending-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pending-message {
  margin: 0;
  font-weight: 600;
}

.inline-form {
  display: inline-block;
}

.inline-form+.inline-form {
  margin-left: 0.5rem;
}

.inline-form button {
  width: 100%;
}

/* Envelope -> Orange paper */
.envelope-stage {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2rem;
  /* Derive portrait dimensions for precise overlap positioning */
  --portrait-width: min(92vw, 820px);
  --portrait-height: calc(var(--portrait-width) * 4 / 3);
}

.orange-paper {
  position: absolute;
  z-index: 2;
  width: min(var(--portrait-width), 600px);
  max-width: 100%;
  min-height: calc(var(--portrait-height) * 0.8);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffedd5, #ffedd5), var(--paper);
  border: 2px solid var(--paper-line);
  border-radius: 12px;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
  background: linear-gradient(180deg, #ffb664 0%, #ff9a2e 6%, #ff8a12 50%, #ff9a2e 92%, #ffb664 100%);
  padding-bottom: 1.25rem;
}

.paper-header {
  padding: 1rem 1.25rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.paper-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.paper-title .photo-panel-icon-button {
  margin-left: 0.25rem;
}

.photo-panel-icon-button {
  background-color: transparent;
  border-color: transparent;
}

.paper-messages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.message {
  background: rgba(230, 160, 80, 0.92);
  border: 1px solid rgba(255, 158, 44, 0.45);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 1px 0 rgba(255, 244, 235, 0.6) inset;
}

.message .meta {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.93rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.message .badge {
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.75rem;
}

.message .body {
  white-space: pre-wrap;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem 1.25rem;
}

.pager button {
  padding: 0.45rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 0.95rem;
}

.pager button:disabled {
  opacity: 0.5;
}

.page-indicator {
  color: var(--ink-muted);
  font-weight: 600;
}

/* Collapsible: Update Envelope Photo */
.collapsible {
  margin: 0 1.25rem 1.25rem;
}

.collapsible>summary {
  list-style: none;
}

.collapsible>summary::-webkit-details-marker {
  display: none;
}

.collapsible>summary.button {
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.collapsible>summary.button::before {
  content: '\25B8';
  /* ▸ */
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 160ms ease;
}

.collapsible[open]>summary.button::before {
  transform: rotate(90deg);
}

.collapsible-body {
  padding-top: 0.75rem;
}

@media (max-width: 360px) {
  .center-stack {
    padding: 3vmin;
  }

  .envelope-stage {
    gap: 1.25rem;
  }

  .paper-window {
    padding: 0.75rem 1rem;
  }
}

/* Buttons */
.button,
button {
  cursor: pointer;
}

/* About */
.about {
  color: #1f2937;
}

.about .links {
  margin-top: 0.5rem;
}

.about .links a {
  color: #2563eb;
}

/* Sticky footer overlay */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
}

.site-footer .site-bar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

/* Compose page */
.compose-form label {
  font-weight: 600;
}

.compose-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.7rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 158, 44, 0.45);
  border-radius: 6px;
  background: rgba(244, 166, 89, 0.95);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.compose-form textarea:focus {
  border-color: rgba(249, 115, 22, 0.75);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  outline: none;
}

.compose-page .full-viewport {
  min-height: var(--viewport-height, 100vh);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem 1rem calc(1.5rem + var(--footer-height));
  overflow-y: auto;
  scroll-padding-bottom: calc(var(--footer-height) + 1rem);
}

@supports (height: 100dvh) {
  .compose-page .full-viewport {
    min-height: 100dvh;
  }
}

.compose-page .envelope-stage {
  width: 100%;
  justify-items: center;
  align-items: flex-start;
  align-content: start;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .compose-page .envelope-stage {
    gap: 1rem;
  }
}

.compose-page .paper-window.compose {
  padding-bottom: calc(1.1rem + var(--footer-height));
}

.compose-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.compose-actions .button {
  width: 100%;
}

@media (max-width: 420px) {
  .compose-actions {
    gap: 0.6rem;
  }
}

.envelope-page .full-viewport {
  min-height: var(--viewport-height, 100vh);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-height) + 1.5rem) 1rem calc(1.5rem + var(--footer-height));
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scroll-padding-bottom: calc(var(--footer-height) + 1rem);
}

@supports (height: 100dvh) {
  .envelope-page .full-viewport {
    min-height: 100dvh;
  }
}

.envelope-page .envelope-stage {
  align-items: flex-start;
  justify-items: center;
  gap: 1.5rem;
}

.envelope-page .messages-window {
  padding-bottom: calc(1rem + var(--footer-height));
}

.typeahead {
  position: relative;
  max-width: 720px;
}

.typeahead .results {
  position: absolute;
  z-index: 70;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 0.25rem;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.typeahead .result {
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.typeahead .result:hover,
.typeahead .result.active {
  background: #f3f4f6;
}

.paper-window.compose {
  padding: 0.9rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.75rem;
}

/* Login page */
.paper-window.login {
  padding: 0.9rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.login-form label {
  font-weight: 600;
}

.login-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.7rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 400px) {
  .typeahead .results {
    max-height: 200px;
  }

  .compose-form .button {
    width: 100%;
  }
}