@font-face {
  font-family: "Averia Serif Libre";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/src/fonts/averia-serif-libre-400.woff2") format("woff2");
}
@font-face {
  font-family: "Averia Serif Libre";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/src/fonts/averia-serif-libre-700.woff2") format("woff2");
}
:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #301333;
  background: #fbf8fc;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.5;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
a {
  color: #a3261c;
  text-underline-offset: 4px;
}
a:hover {
  color: #301333;
}
button,
input,
textarea {
  font: inherit;
}
button,
nav a,
summary {
  min-height: 44px;
}
summary {
  cursor: pointer;
  padding-block: 10px;
}
button {
  padding: 10px 16px;
  color: #301333;
  background: white;
  border: 1px solid #ae91bf;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background: #eee5f3;
}
button.primary {
  color: white;
  background: #a3261c;
  border-color: #a3261c;
}
button.primary:hover {
  background: #812017;
}
:is(a, button, input, textarea, summary, [tabindex="-1"]):focus-visible {
  outline: 3px solid #a3261c;
  outline-offset: 4px;
}
input,
textarea {
  width: 100%;
  padding: 11px;
  color: #301333;
  background: #fff;
  border: 1px solid #947a9e;
  border-radius: 4px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
label {
  display: block;
  font-weight: 600;
  margin: 16px 0;
}
label input,
label textarea {
  display: block;
  margin-top: 6px;
  font-weight: 400;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
}
.check input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: #301333;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ae91bf;
  padding-block: 22px;
  gap: 24px;
}
.wordmark {
  font:
    bold 34px "Averia Serif Libre",
    Georgia,
    serif;
  letter-spacing: -1.5px;
  color: #301333;
  text-decoration: none;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
nav a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #301333;
}
h1,
h2,
h3 {
  font-family: "Averia Serif Libre", Georgia, serif;
  line-height: 1.2;
}
h1 {
  font-size: clamp(32px, 3.3vw, 46px);
  margin: 10px 0 16px;
}
h2 {
  font-size: 26px;
  margin-top: 0;
}
h3 {
  font-size: 22px;
}
p {
  margin: 10px 0;
}
main {
  padding-block: 20px 48px;
}
.page-intro {
  margin: 18px 0 24px;
  max-width: 760px;
}
.page-intro > p:last-child,
.summary {
  font-size: 19px;
}
.tag {
  font-size: 14px;
  color: #58415e;
}
.muted {
  font-size: 14px;
  color: #58415e;
}
.notice {
  padding: 18px 22px;
  border: 1px solid #cbb7d5;
  background: #f0e8f5;
  border-radius: 5px;
  font-size: 14px;
}
.notice p {
  max-width: 100ch;
}
.error {
  border: 2px solid #a3261c;
}
#status:empty {
  display: none;
}
#identity {
  padding-bottom: 24px;
}
.workspace {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  margin-top: 24px;
}
.panel {
  padding: 26px;
  border: 1px solid #cbb7d5;
  border-radius: 6px;
  background: #fff;
  min-width: 0;
}
.source-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #cbb7d5;
  background: #fbf8fc;
  border-radius: 5px;
}
.source-card #source-host {
  font-weight: bold;
}
.url {
  overflow-wrap: anywhere;
  font-size: 14px;
  color: #58415e;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-block: 18px;
}
.actions a {
  padding-block: 10px;
}
.empty {
  padding-block: 18px;
  color: #58415e;
}
.work-card {
  background: #fff;
  border: 1px solid #cbb7d5;
  border-radius: 5px;
  padding: 22px;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.work-card h3 {
  margin: 6px 0 12px;
}
.work-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.work-card dt {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
.work-card dd {
  margin: 0;
  font-size: 15px;
  white-space: pre-wrap;
}
.reference {
  font-size: 14px;
  margin-top: 20px;
  font-weight: 600;
}
.reference span {
  font-weight: 400;
  color: #58415e;
}
.selected .work-card {
  padding: 18px;
}
.selected .work-card dl {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
}
.profile-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 30px 0 40px;
}
.profile-heading h1,
.summary {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
#public-work .work-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 20px 28px;
}
#public-work .reference {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid #e2d5e8;
  padding-top: 14px;
}
#share-panel {
  margin-top: 30px;
}
#share-url {
  font-size: 14px;
  overflow-wrap: anywhere;
}
footer {
  padding-block: 24px 40px;
  border-top: 1px solid #ae91bf;
  font-size: 14px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: #301333;
  color: white;
  z-index: 1;
}
.skip:focus {
  top: 10px;
  color: white;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 850px) {
  .workspace,
  .profile-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #public-work .work-card {
    grid-template-columns: 1fr;
  }
  .work-card dl {
    border-top: 1px solid #e2d5e8;
    padding-top: 18px;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 16px;
  }
  nav {
    gap: 20px;
  }
  .work-card dl {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .panel,
  .work-card,
  .notice {
    padding: 18px;
  }
  .actions button {
    flex-grow: 1;
  }
  .profile-heading {
    margin-block: 24px;
  }
}
