* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 0 0, #dceee6 0, transparent 40%),
    radial-gradient(ellipse at 100% 15%, #edf2d5 0, transparent 35%), #f5f8f5;
  color: #153d2c;
  font-family: var(--petmap-font);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #e9b946;
  outline-offset: 4px;
}

.page-wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 32px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid #d6e5da;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #087442, #004d2b);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-size: 29px;
  box-shadow: 0 5px 12px #054c2a21;
}

.brand small {
  display: block;
  font-size: 12px;
  color: #657c6a;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 3px;
}

.header-note {
  font-size: 13px;
  color: #6d8270;
}

.intro {
  padding: 46px 0 28px;
}

.eyebrow {
  color: #7a916f;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.intro h1 {
  font-size: 38px;
  line-height: 1.35;
  letter-spacing: -1.5px;
  margin: 14px 0;
}

.intro p {
  font-size: 14px;
  color: #778877;
  margin-bottom: 26px;
}

.section-tabs {
  display: flex;
  gap: 10px;
}

.section-tabs a {
  background: #ffffffcb;
  border: 1px solid #d5e3d6;
  border-radius: 14px;
  padding: 15px 25px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 9px #1b472b05;
}

.section-tabs a.active {
  background: linear-gradient(125deg, #087045, #00542f);
  color: white;
  border-color: #08633d;
  box-shadow: 0 6px 15px #00543125;
}

.pets-panel,
.content-panel {
  border: 1px solid #dae7db;
  border-radius: 24px;
  background: #ffffffd9;
  padding: 28px;
  box-shadow: 0 7px 28px #24462b05;
}

.panel-heading,
.content-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.panel-heading h2 {
  font-size: 20px;
  letter-spacing: -0.7px;
  margin: 8px 0 20px;
}

.demo-note {
  font-size: 11px;
  color: #82907a;
  border: 1px solid #dce5d5;
  padding: 7px 10px;
  border-radius: 20px;
}

.pet-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.pet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 210px;
  padding: 18px 8px;
  border-radius: 18px;
  border: 1px solid #e0e8dc;
  background: linear-gradient(#fff, #fbfcf8);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}

.pet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 18px #1b472b12;
}

.pet-card.selected {
  border: 2px solid #20784f;
  padding: 17px 7px;
  background: #f0f7eb;
  box-shadow: 0 3px 15px #2d693a12;
}

.pet-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}

.pet-card strong {
  font-size: 17px;
  margin: 0 0 6px;
}

.pet-card > span:not(.pet-check):not(.all-paw) {
  font-size: 11px;
  color: #7a8971;
}

.pet-card small {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 7px;
  color: #7e8c77;
}

.all-paw {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  background: #e0ecd5;
  border-radius: 50%;
  font-size: 34px;
  margin-bottom: 12px;
}

.pet-check {
  display: none;
  font-size: 10px;
  color: #17663e;
  margin-top: 8px;
  font-weight: 700;
}

.selected .pet-check {
  display: block;
}

.profile-help {
  color: #8a9582;
  font-size: 11px;
  line-height: 1.8;
  margin: 17px 0 0;
}

.content-panel {
  margin-top: 24px;
  padding: 30px;
}

.content-heading h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  margin: 8px 0;
}

.content-heading p {
  font-size: 13px;
  color: #7c8b76;
}

.selection-pill {
  font-size: 12px;
  background: #edf4e5;
  color: #53754c;
  padding: 10px 15px;
  border-radius: 25px;
  white-space: nowrap;
}

.source-line {
  margin: 24px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e8d9;
  border-radius: 12px;
  padding: 14px 17px;
  font-size: 11px;
  color: #73866b;
  background: #f8faf5;
}

.source-line small {
  display: block;
  margin-top: 5px;
  color: #94a08a;
  font-size: 10px;
}

.source-line a {
  font-weight: 700;
  white-space: nowrap;
}

.search-row {
  display: flex;
  gap: 9px;
}

.search-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #dce6d7;
  border-radius: 12px;
  padding: 0 17px;
  flex: 1;
  background: #fcfdf9;
  min-width: 0;
}

.search-label span {
  font-size: 28px;
  color: #889581;
}

input,
select {
  color: #2c5139;
  min-width: 0;
}

.search-label input {
  border: 0;
  background: transparent;
  padding: 15px 0;
  outline: none;
  flex: 1;
  width: 100%;
  font-size: 13px;
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #08643e;
  border: 1px solid #08643e;
  color: #fff;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.reset-button {
  border: 1px solid #dae4d4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 12px;
  color: #7b8b70;
}

.event-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.event-filters label {
  font-size: 11px;
  color: #7b8d71;
}

.event-filters input,
.event-filters select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dce5d6;
  border-radius: 9px;
  background: #fcfdf9;
  padding: 10px;
  font-size: 12px;
  height: 41px;
}

.error {
  font-size: 12px;
  color: #af3930;
}

.error:empty {
  display: none;
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.chip {
  font-size: 11px;
  border: 1px solid #dce5d6;
  border-radius: 20px;
  padding: 8px 14px;
  color: #7a8d6f;
}

.chip.active {
  background: #e4efd9;
  border-color: #c8dbb7;
  color: #3c663d;
  font-weight: 700;
}

.result-count {
  font-size: 12px;
  color: #8a9780;
  margin: 24px 0 12px;
}

.result-count strong {
  color: #315d3a;
}

.information-list {
  border-top: 1px solid #e2e9dc;
}

.information-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 8px;
  border-bottom: 1px solid #e2e9dc;
}

.information-row:hover {
  background: #f9fcf5;
}

.tag {
  font-size: 10px;
  color: #63835a;
  background: #edf4e5;
  padding: 5px 8px;
  border-radius: 5px;
}

.information-row h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  line-height: 1.5;
  margin: 12px 0 9px;
}

.information-row p {
  color: #8b9782;
  font-size: 11px;
  line-height: 1.8;
  margin: 5px 0;
}

.related b {
  font-weight: 500;
  color: #628056;
}

.condition {
  font-size: 10px;
  color: #9b792c;
  background: #faf4df;
  padding: 4px 7px;
  border-radius: 4px;
}

.row-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  min-width: 55px;
  font-size: 10px;
  color: #8a9b7f;
}

.arrow {
  font-size: 22px;
  color: #618451;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 23px;
  padding: 28px 0;
  font-size: 12px;
  color: #648256;
}

.disabled {
  color: #b3bdaa;
}

.all-wrap {
  text-align: center;
}

.all-button {
  display: inline-block;
  border: 1px solid #cfddc4;
  background: #fff;
  border-radius: 11px;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 700;
  color: #4c7145;
}

.all-wrap p {
  font-size: 10px;
  color: #8e9b83;
  line-height: 1.8;
}

.detail-panel {
  border: 1px solid #c5dcc2;
  background: #f7fbf2;
  padding: 25px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #64825a;
}

.detail-panel h2 {
  font-size: 24px;
  margin: 22px 0 15px;
}

.detail-body {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.9;
  color: #708365;
}

.detail-panel dl {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px;
  border-top: 1px solid #dce6d3;
  padding-top: 18px;
  margin-top: 23px;
  font-size: 12px;
  line-height: 1.7;
}

.detail-panel dt {
  color: #819375;
}

.detail-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.empty {
  padding: 50px;
  text-align: center;
  color: #839775;
  font-size: 13px;
}

footer {
  padding: 30px 10px 42px;
  font-size: 11px;
  color: #8a9880;
  line-height: 1.9;
}

footer strong {
  color: #6b835e;
  font-size: 12px;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .pet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pet-card {
    min-height: 200px;
  }

  .intro h1 {
    font-size: 33px;
  }
}

@media (max-width: 600px) {
  .page-wrap {
    padding: 0 16px;
  }

  .site-header {
    padding: 20px 0;
  }

  .header-note {
    display: none;
  }

  .intro {
    padding-top: 30px;
  }

  .intro h1 {
    font-size: 29px;
  }

  .intro p {
    font-size: 12px;
    line-height: 1.7;
  }

  .section-tabs a {
    flex: 1;
    padding: 14px 8px;
    font-size: 11px;
    text-align: center;
  }

  .pets-panel,
  .content-panel {
    padding: 20px 16px;
    border-radius: 19px;
  }

  .panel-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }

  .demo-note {
    margin-bottom: 16px;
  }

  .panel-heading h2 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .pet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pet-card {
    min-height: 200px;
  }

  .content-heading {
    align-items: start;
  }

  .content-heading h2 {
    font-size: 21px;
  }

  .selection-pill {
    font-size: 10px;
    padding: 8px;
  }

  .source-line {
    align-items: start;
    flex-direction: column;
  }

  .search-row {
    flex-wrap: wrap;
  }

  .search-label {
    flex-basis: calc(100% - 80px);
  }

  .search-row .primary-button {
    padding: 12px 20px;
  }

  .reset-button {
    padding: 9px 14px;
  }

  .event-filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .information-row {
    padding: 22px 0;
  }

  .information-row h3 {
    font-size: 16px;
  }

  .detail-panel {
    padding: 18px 14px;
  }

  .detail-panel h2 {
    font-size: 21px;
  }

  .detail-panel dl {
    grid-template-columns: 85px 1fr;
  }

  .all-wrap p {
    font-size: 10px;
  }
}

.site-header {
  margin-bottom: 24px;
}

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7e5d9;
  border-radius: 14px;
  background: #fafffc;
  color: #064c2e;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px #1e522516;
}

.menu-trigger span {
  font-size: 23px;
  line-height: 1;
}

.site-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: clamp(340px, 34vw, 500px);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid #dce8de;
  background: #fff;
  padding: 30px 24px;
  color: #123f2b;
  overflow-y: auto;
  box-shadow: -12px 0 40px #143d251c;
}

.site-drawer::backdrop {
  background: #102c244f;
}

.site-drawer:popover-open {
  animation: drawer-in 0.22s ease-out;
}

.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 34px;
}

.drawer-heading .brand {
  font-size: 26px;
}

.drawer-heading .brand-mark {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.drawer-close {
  border: 0;
  background: transparent;
  color: #617167;
  font-size: 36px;
  padding: 0 5px;
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #9dd6b8;
  border-radius: 17px;
  background: linear-gradient(120deg, #fcfffc, #edf9f1);
  padding: 24px 18px;
  font-weight: 750;
  font-size: 20px;
  line-height: 1.4;
}

.drawer-links a:hover {
  background: #e7f5e9;
  border-color: #33835c;
}

.drawer-links a > span {
  width: 30px;
  font-size: 30px;
  text-align: center;
}

.drawer-links b {
  margin-left: auto;
  font-size: 32px;
  font-weight: 500;
}

.pets-panel {
  margin-top: 0;
}

.panel-heading h2 {
  margin-top: 0;
}

.content-heading h2 {
  margin-top: 0;
}

.integration-panel {
  margin-top: 0;
  min-height: 240px;
}

.integration-panel h1 {
  font-size: 25px;
}

.integration-panel p {
  color: #778977;
  line-height: 1.8;
  margin-bottom: 24px;
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.post-photos .attachment-grid {
  gap: 20px;
}
.post-photos .attachment-grid > .photo-frame img {
  border-radius: 0;
}
.post-photos .photo-label {
  right: 6px;
  bottom: 6px;
}

.post-photos {
  border-top: 1px solid #e2e9dc;
  padding-top: 20px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .site-drawer {
    width: min(88vw, 390px);
    padding: 24px 18px;
  }

  .drawer-heading .brand {
    font-size: 23px;
  }

  .drawer-heading .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }

  .drawer-links a {
    font-size: 17px;
    padding: 21px 15px;
    gap: 12px;
  }

  .menu-trigger {
    font-size: 14px;
    padding: 10px 15px;
  }

  .drawer-heading {
    margin-bottom: 27px;
  }
}

.menu-shell {
  margin-left: auto;
}

.menu-shell > summary {
  list-style: none;
}

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

.menu-backdrop,
.close-symbol {
  display: none;
}

.menu-shell[open] .menu-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: #102c2466;
  z-index: 90;
  cursor: pointer;
}

.menu-shell[open] .close-symbol {
  display: grid;
  place-items: center;
  position: fixed;
  right: 20px;
  top: 28px;
  width: 36px;
  height: 36px;
  color: #627269;
  font-size: 34px;
  z-index: 102;
  cursor: pointer;
}

.menu-shell[open] .site-drawer {
  display: block;
  z-index: 100;
  animation: drawer-in 0.22s ease-out;
}

.drawer-heading {
  padding-right: 25px;
}

.site-drawer .brand {
  white-space: nowrap;
}

.menu-trigger .trigger-label {
  font-size: 16px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .menu-trigger .trigger-label {
    font-size: 14px;
  }

  .menu-shell[open] .close-symbol {
    right: 15px;
    top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-shell[open] .site-drawer {
    animation: none;
  }
}

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.brand-name {
  font-family: var(--petmap-font);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  color: #146763;
  white-space: nowrap;
}

.drawer-heading .brand {
  gap: 10px;
}

.drawer-heading .brand-logo {
  width: 85px;
}

@media (max-width: 600px) {
  .brand-logo {
    width: 76px;
  }

  .brand-name {
    font-size: 28px;
  }

  .drawer-heading .brand-logo {
    width: 72px;
  }
}

.drawer-heading h2 {
  margin: 4px 0;
  font-size: 25px;
  letter-spacing: -0.6px;
}

.board-panel {
  margin-top: 24px;
  min-height: 65vh;
}

.board-panel h1 {
  margin: 0;
  font-size: 27px;
}

.board-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.board-list-tools {
  justify-content: space-between;
}

.board-table-wrap {
  overflow-x: auto;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.board-table th {
  background: #f0f7f2;
  color: #4f6c5d;
  padding: 16px 12px;
  white-space: nowrap;
}

.board-table td {
  padding: 19px 12px;
  border-bottom: 1px solid #e0e9e2;
}

.board-table td:nth-child(2) {
  width: 60%;
  overflow-wrap: anywhere;
}

.board-table a:hover {
  text-decoration: underline;
}

.board-status {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  background: #edf6f0;
  color: #327552;
  padding: 4px 7px;
  border-radius: 8px;
  white-space: nowrap;
}

.board-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 24px 0;
}

.board-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
}

.board-form input,
.board-form textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  padding: 13px;
  border: 1px solid #cddfd3;
  border-radius: 11px;
  background: white;
}

.board-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.8;
}

.post-title {
  font-size: 24px;
  overflow-wrap: anywhere;
  margin-top: 30px;
}

.post-meta {
  font-size: 12px;
  color: #718578;
  line-height: 1.8;
}

.post-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  padding: 24px 0;
}

.reply [hidden] {
  display: none !important;
}

.reply-tools,
.reply-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: #08643e;
  color: #ffffff;
  border-radius: 10px;
  padding: 5px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.reply-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.reply-btn.act-edit {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20h4l10.5-10.5-4-4L4 16v4zm12.2-15.8 4 4 1.4-1.4a1.4 1.4 0 0 0 0-2l-2-2a1.4 1.4 0 0 0-2 0z'/%3E%3C/svg%3E");
}
.reply-btn.act-save {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E");
}
.reply-btn.act-delete {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4zM6 9h12l-1 11a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}
.reply-btn.act-cancel {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.4 5 5 6.4 10.6 12 5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6L19 6.4 17.6 5 12 10.6z'/%3E%3C/svg%3E");
}

.reply-btn:hover {
  background: #0a7a4b;
}
.reply-btn:focus-visible {
  outline: 2px solid #08643e;
  outline-offset: 2px;
}

.reply-edit-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.reply-edit-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  resize: none;
  overflow: hidden;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  caret-color: #08643e;
  box-shadow: inset 0 -1px 0 #b9dccb;
}
.reply-edit-form textarea:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 #08643e;
}

.reply-ask {
  font-size: 13px;
  color: #3f4a44;
  margin-right: 4px;
}
.reply.is-deleting {
  box-shadow: inset 3px 0 0 #a8473b;
}

.is-busy {
  opacity: 0.55;
  pointer-events: none;
}
.reply {
  transition: opacity 0.2s ease;
}
.reply.is-removed {
  opacity: 0;
}
.reply-msg {
  margin: 4px 0 0;
  font-size: 12px;
  color: #1f5f47;
  min-height: 0;
}
.reply-msg:empty {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .reply {
    transition: none;
  }
}

.delete-confirm {
  padding: 20px;
  background: #faf6ed;
  border: 1px solid #e5d9c2;
  border-radius: 14px;
}

textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e9b946;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .board-panel {
    padding: 20px 16px;
  }

  .board-panel .content-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-table th,
  .board-table td {
    padding: 14px 8px;
  }

  .board-table th:nth-child(1),
  .board-table td:nth-child(1) {
    display: none;
  }

  .board-table td:nth-child(2) {
    min-width: 150px;
  }

  .board-table td:last-child {
    white-space: nowrap;
    font-size: 11px;
  }

  .board-status {
    margin: 6px 0 0;
    display: table;
  }
}

.comment-count {
  margin-left: 7px;
  color: #327552;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.attachment-box {
  width: 100%;
  border: 1px solid #d4e3d9;
  border-radius: 12px;
  padding: 18px;
}
.attachment-box legend {
  font-weight: 700;
  padding: 0 6px;
}
.attachment-help {
  color: #657d6b;
  font-size: 12px;
  line-height: 1.8;
}
.attachment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.attachment-grid img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #f1f6f2;
  border-radius: 10px;
}
.attachment-edit {
  border: 1px solid #d4e3d9;
  padding: 10px;
  border-radius: 10px;
}
.attachment-edit span {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.attachment-edit input[type="checkbox"] {
  width: auto;
}
.post-photos {
  margin: 24px 0;
}

.post-photos > h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.post-photos .attachment-grid > .photo-frame {
  position: relative;
  display: block;
  line-height: 0;
  width: fit-content;
  height: fit-content;
  max-width: 100%;
  justify-self: center;
  align-self: center;
}
.post-photos .attachment-grid > .photo-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 340px;
  object-fit: initial;
  background: none;
}
.photo-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  line-height: 1.4;
  font-size: 10px;
  font-weight: 600;
  color: #4d635a;
  background: rgba(255, 255, 255, 0.75);
  padding: 1px 6px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.photo-frame:hover .photo-label,
.photo-frame:focus-visible .photo-label {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .photo-label {
    transition: none;
  }
}
@media (max-width: 600px) {
  .attachment-grid {
    grid-template-columns: 1fr;
  }
}

.board-actions .reset-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 13px 24px;
  border: 1px solid #08643e;
  border-radius: 12px;
  background: #08643e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
}
.board-actions .reset-button:hover {
  background: #064d30;
  border-color: #064d30;
}

section.reply-section {
  background: #f8faf5;
  border-top-color: #e6e3d9;
}
.reply-section .reply {
  background: #fbfaf6;
  border-color: #dfdacd;
}
.reply-section textarea,
.reply-section input[type="text"],
.reply-section input:not([type]) {
  border-color: #bbb091;
}
.reply-section textarea {
  background: #f2efe6;
}

section.reply-section {
  background: #fcfdf9;
  border-color: #e0e8d9;
  border-top-color: #e2e9dc;
}
section.reply-section article.reply {
  background: #ffffff;
  border-color: #e0e8d9;
}
section.reply-section .board-form textarea,
section.reply-section .board-form input:not([type="hidden"]) {
  background: #ffffff;
  border-color: #dce6d7;
}
section.reply-section .reply-edit-form textarea {
  background: transparent;
  box-shadow: inset 0 -1px 0 #c8dbb7;
}
section.reply-section .reply-edit-form textarea:focus {
  box-shadow: inset 0 -2px 0 #08643e;
}

.form-actions,
.verify-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.form-actions > *,
.verify-actions > * {
  margin: 0;
}
.content-panel .form-actions a.primary-button,
.content-panel .verify-actions a.primary-button,
.content-panel .form-actions a.primary-button:visited,
.content-panel .verify-actions a.primary-button:visited {
  color: #ffffff;
  text-decoration: none;
}
.content-panel .field-help {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7a74;
}

.profile-fields .profile-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.profile-fields
  .profile-field
  input:not([type="checkbox"]):not([type="radio"]) {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #d5e3db;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: #183b2b;
}
.profile-fields .profile-field input:focus {
  outline: 2px solid #91c6aa;
  outline-offset: 2px;
}
.profile-fields .profile-field small,
.profile-fields .helptext {
  color: #62766b;
  font-size: 12px;
  line-height: 1.65;
}
.profile-fields .errorlist {
  margin: 0;
  padding-left: 18px;
  color: #b34141;
  font-size: 13px;
}
body.auth-page,
body.auth-page .page-wrap {
  min-height: 0 !important;
}
