@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope.ttf") format("truetype");
  font-display: swap;
  font-weight: 400 800;
}
:root {
  color-scheme: light;
  --ivory: #f8f7f2;
  --forest: #253f34;
  --deep: #254c3c;
  --muted: #66736a;
  --line: #dedfd5;
  --sage: #eaf0e5;
  --peach: #f8e7de;
  --coral: #d8624c;
  --white: #fffefa;
  --red: #ac392d;
  font-family: Manrope, Arial, sans-serif;
  color: var(--forest);
  background: var(--ivory);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.62;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #39785f;
}
button {
  border: 0;
  background: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.7;
}
h1 {
  font:
    clamp(34px, 3.4vw, 51px) / 1.14 Georgia,
    serif;
  letter-spacing: -1.8px;
  margin: 12px 0 16px;
}
h2 {
  letter-spacing: -0.65px;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.1px;
  font-weight: 800;
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 16px;
  background: white;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  padding: 38px 24px 24px;
  background: #eff0e7;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1.7px;
}
.brand img {
  width: 31px;
  height: 34px;
}
.tagline {
  font-size: 10px;
  margin: 6px 0 0;
  letter-spacing: 0.1px;
}
.navigation {
  display: grid;
  gap: 9px;
  margin-top: 56px;
}
.navigation a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #596b5c;
}
.navigation a:hover {
  background: #e3e7d9;
}
.navigation a[aria-current="page"] {
  background: var(--deep);
  color: #fff;
}
.nav-count {
  font-size: 11px;
  margin-left: auto;
  background: #ffffff26;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.sidebar-note {
  margin-top: auto;
  padding-top: 42px;
}
.sidebar-note .note-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #cdd4c3;
  border-radius: 50%;
  margin-bottom: 13px;
}
.sidebar-note strong {
  font-size: 12px;
}
.sidebar-note p {
  font-size: 11px;
  color: #6b7868;
  line-height: 1.8;
  margin: 7px 0 25px;
}
.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #d8ddcf;
  text-decoration: none;
}
.sidebar-profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.sidebar-profile span {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.sidebar-profile strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.sidebar-profile small {
  font-size: 10px;
  color: var(--muted);
}
.sidebar-profile > .icon {
  width: 17px;
}
.workspace {
  margin-left: 222px;
  padding: 0 45px 40px;
  max-width: 1900px;
}
.topbar {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.topbar > span {
  font-size: 11px;
  color: var(--muted);
}
.topbar > span .icon {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  color: #758b67;
}
.guest-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}
.guest-pill img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.guest-pill .pill {
  padding: 5px 9px;
  font-size: 9px;
  letter-spacing: 0.4px;
  background: var(--sage);
}
main {
  outline: none;
}
.page-heading {
  padding: 35px 0 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.page-heading .eyebrow {
  color: #74846c;
}
.heading-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid #dde1d3;
  border-radius: 50%;
  color: #799268;
  transform: rotate(-12deg);
  margin-right: 13px;
}
.heading-mark .icon {
  height: 26px;
  width: 26px;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 7px 0 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 220px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 14px;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 11px;
}
.search:focus-within {
  outline: 2px solid #39785f;
  outline-offset: 2px;
}
.search input:focus-visible {
  outline: 0;
}
.search .icon {
  width: 17px;
  color: #7c897a;
}
.filter-select {
  position: relative;
}
.filter-select select {
  max-width: 175px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  padding: 0 30px 0 13px;
  height: 48px;
  font-size: 11px;
  cursor: pointer;
}
.text-button {
  min-height: 42px;
  padding: 8px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
}
.guest-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sage);
  padding: 15px 18px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 11px;
  line-height: 1.7;
}
.guest-cue > .icon {
  color: #5c7954;
  width: 23px;
  height: 23px;
}
.guest-cue p {
  margin: 0;
  flex: 1;
}
.guest-cue strong {
  font-weight: 800;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
}
.icon-button:hover {
  background: #253f340a;
}
.guest-cue .icon-button {
  min-width: 32px;
  min-height: 32px;
}
.guest-cue .icon-button .icon {
  width: 16px;
  height: 16px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 17px;
  font-size: 11px;
  color: var(--muted);
}
.list-heading strong {
  color: var(--forest);
  font-weight: 700;
}
.list-heading .quiet-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}
.list-heading .icon {
  width: 13px;
  height: 13px;
}
.dog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.dog-card {
  border-radius: 15px;
  background: var(--white);
  border: 1px solid #e0e1d7;
  overflow: hidden;
  min-width: 0;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.dog-card:hover {
  box-shadow: 0 7px 25px #253f340b;
  transform: translateY(-2px);
}
.card-photo {
  position: relative;
}
.open-photo {
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.13;
}
.open-photo img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.dog-card:hover .open-photo img {
  transform: scale(1.025);
}
img[data-dog="luna"] {
  object-position: 50% 40%;
}
img[data-dog="cooper"] {
  object-position: 22% 50%;
}
img[data-dog="willow"] {
  object-position: 64% 50%;
}
img[data-dog="milo"] {
  object-position: 50% 35%;
}
img[data-dog="bella"] {
  object-position: 35% 50%;
}
.demo-label {
  position: absolute;
  top: 13px;
  left: 13px;
  background: #fffdf1ed;
  padding: 5px 9px;
  border-radius: 5px;
  color: #42523b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15px;
  pointer-events: none;
}
.photo-link-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #fffdf4ed;
  pointer-events: none;
}
.photo-link-icon .icon {
  width: 14px;
  height: 14px;
}
.card-body {
  padding: 19px 19px 16px;
}
.card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}
.card-title h2 {
  font-size: 21px;
  margin: 0;
  line-height: 1.3;
}
.name-button {
  padding: 0;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.name-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.age {
  font-size: 11px;
  color: var(--muted);
}
.breed {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 8px;
}
.location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}
.location .icon {
  height: 13px;
  width: 13px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 25px;
}
.tag {
  background: #eef1e7;
  padding: 5px 8px;
  border-radius: 5px;
  color: #506047;
  font-size: 9px;
  line-height: 1.3;
}
.tag:nth-child(even) {
  background: #f6ece2;
  color: #7a624a;
}
.intent {
  font-size: 10px;
  color: #687562;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 15px 0;
}
.intent .icon {
  width: 13px;
  height: 13px;
}
.card-actions {
  border-top: 1px solid #edeee6;
  padding-top: 13px;
  display: flex;
  gap: 9px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.primary {
  background: var(--coral);
  color: #fff;
}
.primary:hover {
  background: #c5533f;
}
.secondary {
  border-color: var(--line);
  background: var(--white);
}
.secondary:hover {
  background: var(--sage);
}
.forest {
  background: var(--deep);
  color: white;
}
.forest:hover {
  background: #193c2b;
}
.card-actions .primary {
  flex: 1;
}
.card-actions .pass {
  padding: 10px 13px;
  color: #63705f;
  font-size: 11px;
}
.pass .icon {
  width: 15px;
  height: 15px;
}
.card-error {
  font-size: 11px;
  color: var(--red);
  margin: 12px 0 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  color: #76806e;
  font-size: 10px;
}
.footer a {
  color: #65755b;
}
.footer .icon {
  width: 12px;
  height: 12px;
  vertical-align: -2px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 110px);
  transform: translateX(-50%);
  z-index: 25;
  background: var(--deep);
  color: white;
  border-radius: 10px;
  padding: 13px 22px;
  box-shadow: 0 8px 30px #152a2520;
  max-width: calc(100vw - 36px);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
.state {
  padding: 65px 25px;
  text-align: center;
  border: 1px dashed #ced5c3;
  border-radius: 16px;
  background: #f4f4ec;
}
.state > .icon {
  width: 35px;
  height: 35px;
  color: #859777;
  margin-bottom: 18px;
}
.state h2 {
  font:
    29px Georgia,
    serif;
  margin-bottom: 12px;
}
.state p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 12px;
}
.loading {
  animation: breathe 1.5s ease-in-out infinite;
}
.skeleton-photo {
  height: 260px;
  background: #e3e7dc;
}
.skeleton-line {
  height: 13px;
  margin: 22px;
  background: #e3e7dc;
  border-radius: 4px;
  width: 55%;
}
.skeleton-line:last-child {
  width: 80%;
  margin-bottom: 50px;
}
@keyframes breathe {
  50% {
    opacity: 0.4;
  }
}
.inline-error {
  display: block;
  color: var(--red);
  font-size: 11px;
  line-height: 1.6;
  min-height: 0;
  margin-top: 5px;
}
.inline-error:empty {
  display: none;
}
.banner-error {
  padding: 14px 18px;
  border: 1px solid #dfb1a9;
  border-radius: 9px;
  background: #fff0e9;
  margin-bottom: 18px;
  font-size: 12px;
}
.banner-error p {
  margin: 0;
}
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 28px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  padding: 28px;
}
.panel h2 {
  font-size: 17px;
  margin-bottom: 7px;
}
.panel > .muted {
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 25px;
}
.field {
  display: block;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
}
.field > span {
  display: block;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #d5dacd;
  border-radius: 8px;
  background: #fffefa;
  padding: 11px 12px;
  font-size: 12px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  line-height: 1.7;
  min-height: 110px;
}
.field [aria-invalid="true"] {
  border-color: var(--red);
}
.full {
  grid-column: 1/-1;
}
.field-hint {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  margin: 6px 0 0;
  font-weight: 400;
}
.profile-photo-row {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 23px;
}
.profile-photo-row > img {
  width: 90px;
  height: 90px;
  border-radius: 14px;
}
.photo-picker {
  border: 0;
  padding: 0;
  margin: 24px 0 0;
}
.photo-picker legend {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}
.photo-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.photo-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.photo-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
}
.photo-option img {
  width: 47px;
  height: 47px;
  border-radius: 9px;
  border: 2px solid transparent;
  outline: 1px solid #dfe3d6;
}
.photo-option input:checked + img {
  border: 3px solid var(--deep);
  outline: 2px solid #b9c8ad;
  outline-offset: 2px;
}
.photo-option input:focus-visible + img {
  outline: 3px solid #39785f;
  outline-offset: 3px;
}
.form-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.form-footer .muted {
  font-size: 10px;
}
.profile-aside {
  padding: 25px;
  background: var(--sage);
  border-radius: 14px;
}
.profile-aside .icon {
  width: 29px;
  height: 29px;
  color: #708a5e;
  margin: 5px 0 18px;
}
.profile-aside h3 {
  font:
    25px/1.2 Georgia,
    serif;
}
.profile-aside p {
  font-size: 11px;
  color: #5e7059;
}
.profile-aside .recovery {
  padding-top: 19px;
  border-top: 1px solid #d0d9c6;
  margin-top: 22px;
}
.profile-aside .recovery strong {
  display: block;
  color: var(--forest);
  margin-bottom: 5px;
}
.match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.match-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 23px;
  display: flex;
  gap: 18px;
  align-items: center;
  text-decoration: none;
}
.match-item:hover {
  border-color: #9fac93;
  background: #f4f6ee;
}
.match-item > img {
  width: 82px;
  height: 82px;
  border-radius: 13px;
  flex-shrink: 0;
}
.match-item h2 {
  font-size: 19px;
  margin: 0 0 5px;
}
.match-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
  overflow-wrap: anywhere;
}
.match-item .match-copy {
  flex: 1;
  min-width: 0;
}
.inline-demo {
  display: inline-block;
  background: #f3ebdf;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 9px;
  color: #755d40;
  font-weight: 700;
}
.match-item > .icon {
  width: 18px;
}
.matches-notice {
  font-size: 11px;
  padding: 16px 0;
  color: var(--muted);
}
.thread {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
}
.thread-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.thread-header > img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.thread-header h2 {
  font-size: 17px;
  margin: 0 0 4px;
}
.thread-header > button.icon-button {
  margin-left: auto;
}
.thread-notice {
  background: var(--sage);
  font-size: 11px;
  line-height: 1.7;
  padding: 12px 23px;
  margin: 0;
}
.messages {
  height: 360px;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}
.thread-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  max-width: 350px;
}
.thread-empty strong {
  display: block;
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 8px;
}
.message {
  max-width: 82%;
  align-self: flex-start;
}
.message.mine {
  align-self: flex-end;
}
.message-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 13px 17px;
  border-radius: 14px 14px 14px 4px;
  background: var(--sage);
  font-size: 12px;
  line-height: 1.7;
}
.mine .message-body {
  background: #f6e3d9;
  border-radius: 14px 14px 4px 14px;
}
.message-meta {
  font-size: 9px;
  color: var(--muted);
  margin: 5px 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.message.mine .message-meta {
  justify-content: flex-end;
}
.message-meta button {
  font-size: 10px;
  text-decoration: underline;
  min-height: 34px;
  color: var(--red);
}
.composer {
  border-top: 1px solid var(--line);
  padding: 17px 22px;
}
.composer-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.composer textarea {
  width: 100%;
  resize: vertical;
  min-height: 48px;
  max-height: 160px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
  font-size: 12px;
  line-height: 1.6;
}
.composer .btn {
  min-height: 48px;
  flex-shrink: 0;
}
.composer-hint {
  font-size: 9px;
  color: var(--muted);
  margin: 8px 0 0;
}
.thread-error {
  padding: 10px 22px;
  font-size: 11px;
  color: var(--red);
  background: #fff0e9;
}
.thread-error button {
  font-size: 11px;
  text-decoration: underline;
  min-height: 36px;
}
dialog {
  border: 0;
  border-radius: 21px;
  background: var(--white);
  color: var(--forest);
  padding: 0;
  width: min(610px, calc(100% - 32px));
  max-height: 90dvh;
  box-shadow: 0 20px 90px #142d3040;
}
dialog::backdrop {
  background: #1e332fc4;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fffef2ed;
  z-index: 2;
  width: 38px;
  min-height: 38px;
}
.profile-modal-photo {
  width: 100%;
  height: 300px;
}
.profile-modal-content {
  padding: 26px 30px 30px;
}
.profile-modal-content h2 {
  font:
    35px Georgia,
    serif;
  margin: 0 0 10px;
}
.profile-modal-content > .inline-demo {
  margin-bottom: 15px;
}
.profile-modal-content .bio {
  font-size: 13px;
  line-height: 1.9;
  margin: 22px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 24px 0;
}
.detail-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-grid dd {
  font-size: 12px;
  margin: 0;
}
.match-modal {
  padding: 42px 32px 32px;
  text-align: center;
  background: #f6f5ec;
}
.match-modal .eyebrow {
  color: #8e6247;
}
.match-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 25px;
}
.match-photos img {
  width: 135px;
  height: 155px;
  border: 6px solid #fffefa;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 7px 20px #263e3315;
}
.match-photos img:first-child {
  transform: rotate(-9deg);
  margin-right: -5px;
}
.match-photos img:last-child {
  transform: rotate(9deg);
  margin-left: -5px;
}
.heart-bubble {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  z-index: 1;
  box-shadow: 0 0 0 6px #f6f5ec;
}
.heart-bubble .icon {
  fill: white;
  width: 23px;
  height: 23px;
}
.match-modal h2 {
  font:
    39px/1.1 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.match-modal p {
  font-size: 12px;
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto 21px;
}
.match-modal .btn {
  width: 100%;
  max-width: 330px;
}
.match-modal .text-button {
  display: block;
  margin: 8px auto;
}
.match-modal .demo-explainer {
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin: 17px auto 0;
  line-height: 1.8;
}
@media (min-width: 1650px) {
  .workspace {
    padding-left: 65px;
    padding-right: 65px;
  }
  .dog-grid {
    gap: 28px;
  }
  .card-body {
    padding: 23px;
  }
  .open-photo {
    aspect-ratio: 1.15;
  }
  .card-title h2 {
    font-size: 24px;
  }
  .breed,
  .location,
  .tag,
  .intent {
    font-size: 11px;
  }
}
@media (max-width: 1190px) {
  .sidebar {
    width: 196px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .workspace {
    margin-left: 196px;
    padding: 0 30px 35px;
  }
  .dog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .filter-select select {
    max-width: 145px;
  }
  .filters .search {
    flex-basis: 100%;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
  }
  .panel {
    padding: 23px;
  }
  .match-list {
    grid-template-columns: 1fr;
  }
  #toast {
    left: calc(50% + 98px);
  }
}
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-aside {
    max-width: none;
  }
  .profile-aside h3 {
    font-size: 23px;
  }
  .profile-aside .recovery {
    padding-top: 14px;
    margin-top: 14px;
  }
  .topbar > span {
    font-size: 10px;
  }
  .guest-pill > span:not(.pill) {
    display: none;
  }
  .heading-mark {
    display: none;
  }
  .footer {
    flex-wrap: wrap;
  }
  .filter-select {
    flex: 1;
  }
  .filter-select select {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 680px) {
  .sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 22px 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .brand {
    font-size: 27px;
  }
  .brand img {
    width: 29px;
  }
  .tagline {
    font-size: 9px;
    margin-top: 4px;
  }
  .navigation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 23px;
    margin-bottom: 12px;
  }
  .navigation a {
    min-height: 45px;
    padding: 10px 8px;
    gap: 7px;
    justify-content: center;
    font-size: 11px;
    border-radius: 8px;
  }
  .navigation .icon {
    width: 17px;
    height: 17px;
  }
  .nav-count {
    margin-left: 0;
    font-size: 9px;
    width: 18px;
    min-width: 18px;
    height: 18px;
  }
  .sidebar-note,
  .sidebar-profile {
    display: none;
  }
  .workspace {
    margin-left: 0;
    padding: 0 20px 28px;
  }
  .topbar {
    height: 58px;
  }
  .topbar > span {
    max-width: 210px;
    font-size: 9px;
  }
  .topbar > span .icon {
    width: 12px;
    margin-right: 3px;
  }
  .guest-pill {
    gap: 6px;
  }
  .guest-pill img {
    width: 27px;
    height: 27px;
  }
  .guest-pill .pill {
    font-size: 8px;
  }
  .page-heading {
    padding: 28px 0 20px;
  }
  .page-heading h1 {
    font-size: 38px;
    letter-spacing: -1.3px;
    margin: 11px 0 13px;
    max-width: 340px;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 330px;
    line-height: 1.8;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
  }
  .filters {
    gap: 8px;
    margin: 0 0 18px;
  }
  .search {
    height: 47px;
  }
  .search input {
    font-size: 11px;
  }
  .filter-select select {
    height: 44px;
    padding-left: 10px;
    padding-right: 13px;
    font-size: 10px;
    max-width: 100%;
  }
  .filter-select {
    min-width: 0;
  }
  .filters > .text-button {
    padding: 5px 3px;
    min-height: 32px;
    flex-basis: 100%;
    text-align: left;
    font-size: 10px;
  }
  .guest-cue {
    padding: 12px;
    gap: 8px;
    font-size: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .guest-cue > .icon {
    width: 19px;
    height: 19px;
    margin-top: 2px;
  }
  .guest-cue .icon-button {
    min-width: 30px;
    min-height: 30px;
  }
  .list-heading {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .list-heading .quiet-label {
    font-size: 9px;
  }
  .dog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .open-photo {
    aspect-ratio: 1.08;
  }
  .card-body {
    padding: 20px;
  }
  .card-title h2 {
    font-size: 23px;
  }
  .age {
    font-size: 12px;
  }
  .breed,
  .location {
    font-size: 11px;
  }
  .tag {
    font-size: 10px;
    padding: 6px 9px;
  }
  .intent {
    font-size: 11px;
  }
  .card-actions .btn {
    min-height: 46px;
    font-size: 12px;
  }
  .list-heading .quiet-label .icon {
    display: none;
  }
  .footer {
    font-size: 9px;
    line-height: 1.8;
    margin-top: 26px;
  }
  #toast {
    left: 50%;
    bottom: 16px;
    width: max-content;
    font-size: 11px;
  }
  .panel {
    padding: 20px;
  }
  .form-grid {
    gap: 17px 12px;
  }
  .profile-photo-row > img {
    width: 74px;
    height: 80px;
  }
  .profile-photo-row .muted {
    font-size: 11px;
  }
  .form-footer .btn {
    width: 100%;
  }
  .match-item {
    padding: 18px;
    gap: 13px;
  }
  .match-item > img {
    width: 64px;
    height: 72px;
  }
  .match-item h2 {
    font-size: 18px;
  }
  .thread-header {
    padding: 15px;
  }
  .thread-notice {
    padding: 12px 16px;
    font-size: 10px;
  }
  .messages {
    height: 350px;
    padding: 18px 14px;
  }
  .message {
    max-width: 91%;
  }
  .composer {
    padding: 14px;
  }
  .composer-row {
    gap: 8px;
  }
  .composer .btn {
    padding: 10px 12px;
    font-size: 11px;
  }
  .composer .btn .icon {
    display: none;
  }
  .profile-modal-photo {
    height: 260px;
  }
  .profile-modal-content {
    padding: 23px;
  }
  .match-modal {
    padding: 37px 23px 25px;
  }
  .match-modal h2 {
    font-size: 34px;
  }
  .detail-grid {
    gap: 9px;
  }
  .state {
    padding: 45px 17px;
  }
  .state h2 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .dog-card:hover {
    transform: none;
  }
  .dog-card:hover .open-photo img {
    transform: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.brand-dot {
  color: var(--coral);
  margin-left: -5px;
}
.demo-label {
  font-size: 11px;
  padding: 5px 9px;
}
.inline-demo {
  font-size: 10px;
}
.breed,
.location {
  font-size: 12px;
}
.tag {
  font-size: 10px;
}
.intent {
  font-size: 11px;
}
.page-heading p {
  font-size: 13px;
}
.search input,
.filter-select select {
  font-size: 12px;
}
.guest-cue {
  font-size: 12px;
}
.list-heading {
  font-size: 12px;
}
.card-title h2 {
  font-size: 23px;
}
.age {
  font-size: 12px;
}
@media (max-width: 680px) {
  .topbar {
    position: absolute;
    right: 20px;
    top: 22px;
    height: 37px;
    border: 0;
  }
  .topbar > span {
    display: none;
  }
  .guest-pill .pill {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading {
    padding-top: 28px;
  }
  .search input {
    font-size: 12px;
  }
  .filter-select select {
    font-size: 11px;
  }
  .guest-cue {
    font-size: 11px;
  }
  .list-heading {
    font-size: 11px;
  }
  .list-heading .quiet-label {
    display: none;
  }
  .card-title h2 {
    font-size: 24px;
  }
  .demo-label {
    font-size: 11px;
  }
  .workspace {
    position: static;
  }
}
.credits-page main {
  max-width: 840px;
  padding: 45px 25px;
  margin: 0 auto;
}
.credits-page h1 {
  margin-top: 40px;
}
.credits-page p {
  font-size: 14px;
  color: var(--muted);
}
.credits-page li {
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.text-button {
  min-height: 44px;
}
.dialog-close {
  width: 44px;
  min-height: 44px;
}
.guest-cue .icon-button {
  min-width: 44px;
  min-height: 44px;
}
.message-meta button {
  min-height: 44px;
}
@media (max-width: 680px) {
  .filters > .text-button {
    min-height: 44px;
  }
}
@media (max-width: 680px) {
  .topbar {
    z-index: 6;
  }
}
