:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #fffdf9;
  --ink: #1d1b18;
  --muted: #6f6a61;
  --line: #e2ddd2;
  --field: #fffdf9;
  --chip: #ebe6db;
  --chip-ink: #3b3732;
  --accent: #9c3d1f;
  --accent-hover: #83321a;
  --accent-ink: #fff;
  --accent-soft: #f3e4dc;
  --danger: #b42318;
  --shadow: 0 1px 2px rgb(40 30 20 / 0.05), 0 8px 24px rgb(40 30 20 / 0.07);
  --radius: 10px;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, 'Helvetica Neue', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --surface: #1d1b18;
    --ink: #eeeae3;
    --muted: #a49e93;
    --line: #322e29;
    --field: #191715;
    --chip: #2b2824;
    --chip-ink: #ddd7cd;
    --accent: #e0805a;
    --accent-hover: #ea9473;
    --accent-ink: #1b0e08;
    --accent-soft: #3a241b;
    --danger: #f2877b;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

img.broken {
  visibility: hidden;
}

a {
  color: var(--accent);
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
}

@media (min-width: 720px) {
  .container {
    padding-inline: 32px;
  }
}

.muted {
  color: var(--muted);
}

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* "Artists I follow, collect and know": the phrase reads on from the name, quieter. */
.brand-tagline {
  font-size: 0.7em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

/* On phones, under the name, so it fits beside the header buttons. */
@media (max-width: 640px) {
  .site-header .brand {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    line-height: 1.1;
  }
  .site-header .brand-tagline {
    font-size: 13px;
  }
}

main {
  padding-top: 28px;
  padding-bottom: 80px;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.button:hover {
  border-color: var(--muted);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button.ghost {
  background: transparent;
}

.button.danger {
  color: var(--danger);
}

.button.small {
  padding: 6px 12px;
  font-size: 14px;
}

.link-button {
  border: 0;
  background: none;
  padding: 4px 2px;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.icon-button.danger {
  color: var(--danger);
}

/* Collect: a gem, outlined when off and filled when on. */
.gem {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collect {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.collect:hover {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  color: var(--ink);
}

.collect[aria-pressed='true'],
.collect[aria-pressed='true']:hover {
  color: var(--accent);
}

.collect[aria-pressed='true'] .gem-body,
.collect-filter[aria-pressed='true'] .gem-body {
  fill: currentColor;
}

.collect[aria-pressed='true'] .gem-facets {
  stroke: var(--bg);
}

.collect-filter[aria-pressed='true'] .gem-facets {
  stroke: var(--accent);
}

/* ---------- chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--chip);
  color: var(--chip-ink);
  font-size: 13.5px;
  line-height: 1.4;
  cursor: pointer;
}

/* Media chips are filled; genre/movement chips are outlined; personal chips are tinted. */
.chip-genres {
  background: transparent;
  border-color: var(--line);
}

.chip-personal {
  background: var(--accent-soft);
  color: var(--accent);
}

.chip:not(:disabled):hover {
  border-color: var(--muted);
}

/* Filters nobody matches yet (personal tags before you've used them, Collect before you've marked anyone). */
.chip:disabled {
  opacity: 0.5;
  cursor: default;
}

.chip[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.chip-count {
  font-size: 12px;
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.chip-removable {
  cursor: default;
  padding-right: 4px;
}

.chip-removable button {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  font-size: 15px;
  color: var(--muted);
}

.chip-removable button:hover {
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  color: var(--ink);
}

.tag-picks {
  margin-top: 8px;
}

.tag-pick {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.tag-pick:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- list ---------- */

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.toolbar input[type='search'] {
  flex: 1;
  min-width: 0;
}

.collect-filter {
  flex: none;
  align-self: stretch;
  padding-inline: 14px;
  border-color: var(--line);
  background: var(--surface);
  font-size: 14px;
}

.collect-filter .gem {
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .collect-filter-label {
    display: none;
  }
}

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.sort select {
  width: auto;
}

@media (max-width: 560px) {
  .sort span {
    display: none;
  }
  .sort select {
    max-width: 130px;
  }
}

.filters {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.filter-group {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.filter-label,
.tag-group-label {
  flex: none;
  width: 72px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-label {
  width: 140px;
}

@media (max-width: 560px) {
  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 0; /* let the chip row scroll instead of widening the page */
  }
  /* One swipeable row per group instead of a tall wall of chips. */
  .filter-group .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 16px);
    padding-right: 16px;
    scrollbar-width: none;
  }
  .filter-group .chips > * {
    flex: none;
  }
}

.clear-filters {
  justify-self: start;
}

.result-count {
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.no-results {
  margin: 48px 0;
  text-align: center;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 36px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 420px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }
}

.card {
  position: relative;
  text-align: center;
}

/* Three tall tiles of the artist's work, with the portrait overlapping their bottom edge. */
.card-works {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 3px;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate; /* keeps the hover zoom clipped to the rounded corners in Safari */
  background: hsl(var(--hue) 20% 50% / 0.18);
}

.card-works img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-works img {
  transform: scale(1.04);
}

/* Portraits are circles. Stored photos are pre-cropped square around the face;
   object-position favours the top for any that aren't, where faces usually sit.
   Negative margin is a share of the card width, so half the circle overlaps the works. */
.card-image {
  position: relative;
  width: 46%;
  margin: -23% auto 0;
  aspect-ratio: 1;
  border: 4px solid var(--bg);
  border-radius: 50%;
  overflow: hidden;
  background: var(--chip);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.card-image.initials {
  font-size: 32px;
}

.card-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 10px 0 2px;
}

.card-name {
  min-width: 0;
  margin: 0;
  font-size: 19px;
}

.card-name a {
  color: inherit;
  text-decoration: none;
}

/* The name's link covers the whole card, so anywhere on it opens the artist. */
.card-name a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.card:hover .card-name a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.card .collect {
  position: relative; /* above the card-wide link */
  z-index: 1;
  margin-left: -6px;
}

.card-meta,
.card-tags {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-tags {
  font-size: 13px;
  margin-top: 2px;
}

.card-tag-personal {
  color: var(--accent);
}

/* Fallback portrait: initials on a tint derived from the name. */
.initials {
  display: grid;
  place-items: center;
  background: hsl(var(--hue) 32% 82%);
  color: hsl(var(--hue) 30% 30%);
  font-family: var(--serif);
  font-size: 44px;
  letter-spacing: 0.02em;
}

@media (prefers-color-scheme: dark) {
  .initials {
    background: hsl(var(--hue) 20% 24%);
    color: hsl(var(--hue) 35% 78%);
  }
}

.empty-state {
  max-width: 460px;
  margin: 12vh auto;
  text-align: center;
}

.empty-state h1 {
  font-size: 40px;
  margin: 0 0 12px;
}

.empty-state p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 28px;
}

/* ---------- detail ---------- */

.back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back:hover {
  color: var(--ink);
}

.artist {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 760px) {
  .artist {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .artist-portrait {
    max-width: 240px;
  }
}

.artist-portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--chip);
  box-shadow: var(--shadow);
}

.artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.artist-portrait.initials {
  font-size: 72px;
}

.artist-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: -10px;
}

.artist-title .collect {
  width: 44px;
  height: 44px;
}

.artist-title .collect .gem {
  width: 28px;
  height: 28px;
}

.artist-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
}

.lifespan {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.tag-groups {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.tag-group {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.tag-group-label {
  width: 150px;
}

@media (max-width: 560px) {
  .tag-group {
    flex-direction: column;
    gap: 6px;
  }
}

.bio {
  margin-top: 24px;
  max-width: 64ch;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}

.bio p {
  margin: 0 0 1em;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.profile-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.profile-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.profile-link-detail {
  color: var(--muted);
  font-weight: 400;
}

.artist-actions {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.works {
  margin-top: 64px;
}

.works h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 28px;
}

.works .count {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
}

/* Masonry-style gallery via CSS columns. */
.gallery {
  columns: 3 260px;
  column-gap: 22px;
}

.work {
  break-inside: avoid;
  margin: 0 0 26px;
}

.work-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--chip);
  cursor: zoom-in;
}

.work-image img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.work-image:hover img {
  opacity: 0.92;
}

.unpictured {
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.unpictured h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.unpictured ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.unpictured cite {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.unpictured .link-button {
  padding-left: 0;
}

.work figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.work cite {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.work-year::before {
  content: ', ';
}

/* ---------- lightbox ---------- */

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px 72px;
  border: 0;
  background: transparent;
  color: #f2efe9;
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgb(12 11 10 / 0.92);
}

.lightbox-figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 4px;
}

.lightbox figcaption {
  font-size: 15px;
  color: #c9c3b8;
}

.lightbox cite {
  font-family: var(--serif);
  font-size: 18px;
  color: #f2efe9;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  border: 0;
  background: rgb(255 255 255 / 0.08);
  color: #f2efe9;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgb(255 255 255 / 0.18);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.lightbox-nav {
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox.single .lightbox-nav {
  display: none;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 64px 12px 24px;
  }
  .lightbox-nav {
    top: auto;
    bottom: 16px;
    translate: none;
  }
}

/* ---------- forms ---------- */

input:not([type='file']),
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

input:user-invalid {
  border-color: var(--danger);
}

textarea {
  resize: vertical;
  line-height: 1.55;
}

.page-title {
  margin: 0 0 24px;
  font-size: 36px;
}

.artist-form {
  max-width: 820px;
  display: grid;
  gap: 20px;
}

.form-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  display: grid;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-section {
    padding: 18px 16px;
  }
}

.form-section h2 {
  margin: 0;
  font-size: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field > label {
  font-size: 14px;
  font-weight: 600;
}

.field-row,
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .field-row,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

@media (max-width: 560px) {
  .name-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.hint.error,
.field-error,
.form-error {
  color: var(--danger);
}

.field-error {
  margin: 0;
  font-size: 13px;
}

.form-error {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.form-actions {
  display: flex;
  gap: 10px;
}

.form-actions .button {
  padding: 11px 20px;
}

/* Tag input */
.tag-input {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  cursor: text;
}

.tag-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.tag-input input {
  flex: 1;
  min-width: 180px;
  width: auto;
  padding: 4px 6px;
  border: 0;
  background: transparent;
}

.tag-input input:focus {
  box-shadow: none;
}

/* Image picker */
.image-field {
  display: grid;
  grid-template-columns: var(--thumb) 1fr;
  gap: 16px;
  align-items: start;
}

.image-field-large {
  --thumb: 150px;
}

.image-field-small {
  --thumb: 96px;
}

@media (max-width: 560px) {
  .image-field-large {
    --thumb: 110px;
  }
  .image-field-small {
    --thumb: 76px;
  }
}

.image-drop {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  background: var(--bg);
}

.image-field-large .image-drop {
  border-radius: 50%;
}

.image-field-large .image-drop img {
  object-position: 50% 30%;
}

.image-drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-drop.dragging {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.image-drop.busy {
  opacity: 0.5;
  cursor: progress;
}

.image-controls {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.image-buttons {
  display: flex;
  gap: 8px;
}

/* Works editor */
.work-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.work-row-fields {
  display: grid;
  gap: 10px;
}

.work-row-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (max-width: 700px) {
  .work-row {
    grid-template-columns: 1fr auto;
  }
  .work-row-fields {
    grid-column: 1;
  }
  .work-row-image {
    grid-column: 1 / -1;
  }
  .work-row-actions {
    grid-row: 2;
    grid-column: 2;
  }
}

/* ---------- sign in ---------- */

.login {
  display: grid;
  gap: 18px;
  max-width: 340px;
  margin: 16vh auto 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login .brand {
  margin: 0 0 4px;
  text-align: center;
}

.login .brand-tagline {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.login .button {
  justify-content: center;
}

.site-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
