* {
  box-sizing: border-box;
}

body.auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 154, 78, 0.1), transparent 28%),
    linear-gradient(180deg, #f4f6f7 0%, #eef3f1 100%);
  color: #111820;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.auth-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 14px 42px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 1px rgba(17, 24, 32, 0.04);
}

.auth-brand,
.auth-brand-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.auth-brand-link {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 8px;
  gap: 10px;
  border: 1px solid rgba(226, 232, 236, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(17, 24, 32, 0.06);
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #009a4e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(0, 154, 78, 0.22);
}

.auth-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.auth-brand-copy b {
  color: #111820;
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1.05;
}

.auth-brand-copy small {
  color: #66717a;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.25;
}

.auth-card {
  display: grid;
  gap: 14px;
  padding: 18px 15px;
  border: 1px solid #ebeff2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(17, 24, 32, 0.08);
}

.auth-card h1 {
  margin: 0;
  color: #111820;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.28;
  letter-spacing: 0;
}

.auth-card h2 {
  margin: 8px 0 0;
  color: #111820;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.35;
}

.auth-card h3 {
  margin: 8px 0 0;
  color: #111820;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.35;
}

.auth-card p {
  margin: 0;
  color: #5f6b73;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.65;
}

.auth-card ul,
.auth-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
  color: #4d5861;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.65;
}

.auth-card li::marker {
  color: #009a4e;
  font-weight: 950;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-field {
  display: grid;
  gap: 6px;
}

.auth-field label {
  color: #333b44;
  font-size: 0.78rem;
  font-weight: 900;
}

.auth-field-hint {
  margin: 0;
  color: #66737d;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.55;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #dce8ee;
  border-radius: 10px;
  background: #fff;
  color: #111820;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
}

.auth-field textarea {
  min-height: 112px;
  resize: vertical;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: #009a4e;
  outline: 3px solid rgba(0, 154, 78, 0.12);
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: #009a4e;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 154, 78, 0.22);
}

.auth-button.secondary {
  border: 1px solid #dce8ee;
  background: #fff;
  color: #123a62;
  box-shadow: none;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: #0d6f3c;
  font-size: 0.8rem;
  font-weight: 850;
}

.auth-notice,
.auth-error {
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.55;
}

.auth-notice {
  background: #eef8f2;
  color: #0d6f3c;
}

.auth-error {
  background: #fff1f1;
  color: #d33737;
}

.auth-invite-card {
  gap: 16px;
}

.auth-invite-profile {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid #e2ece7;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5fbf8, #ffffff);
}

.auth-invite-profile img {
  width: 54px;
  height: 54px;
  border: 3px solid #ffffff;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(17, 24, 32, 0.12);
}

.auth-invite-profile span {
  display: block;
  color: #009a4e;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.auth-invite-profile strong {
  display: block;
  margin-top: 2px;
  color: #111820;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.4;
}

.auth-invite-profile small {
  display: block;
  margin-top: 3px;
  color: #66717a;
  font-size: 0.72rem;
  font-weight: 850;
}

.auth-invite-note {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: #f6f8f9;
}

.auth-invite-note strong {
  color: #111820;
  font-size: 0.82rem;
  font-weight: 950;
}

.auth-invite-note ul {
  margin: 0;
}

.account-summary {
  display: grid;
  gap: 10px;
}

.account-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf1f4;
}

.account-row span {
  color: #6f7780;
  font-size: 0.76rem;
  font-weight: 850;
}

.account-row strong {
  min-width: 0;
  color: #111820;
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-request-section {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  background: #fbfcfd;
}

.admin-request-section h2 {
  margin: 0;
  color: #111820;
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-request-map {
  overflow: hidden;
  border: 1px solid #dfe7ec;
  border-radius: 13px;
  background: #eef3f1;
}

.admin-request-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.admin-request-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.admin-request-meta {
  color: #66717a;
  font-size: 0.76rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-request-photos {
  display: grid;
  gap: 10px;
}

.admin-request-photos a {
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid #edf1f4;
  border-radius: 13px;
  background: #fff;
  color: #0d6f3c;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-request-photos img {
  display: block;
  width: 100%;
  max-height: 260px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-request-flow {
  display: grid;
  gap: 9px;
}

.admin-request-flow div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #fff;
}

.admin-request-flow span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef8f2;
  color: #0d6f3c;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-request-flow strong {
  color: #111820;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1.25;
}

.admin-request-flow small {
  color: #66717a;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.45;
}

.profile-shell-card {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #e5e7ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 58, 98, 0.1);
}

.profile-cover {
  position: relative;
  min-height: 156px;
  background-color: #dff3f6;
  background-position: center;
  background-size: cover;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.14));
}

.profile-cover.is-edit {
  min-height: 132px;
}

.profile-edit-pill {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #123a62;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(18, 58, 98, 0.16);
}

.profile-main {
  display: grid;
  gap: 14px;
  padding: 0 18px 20px;
}

.profile-avatar {
  display: block;
  width: 104px;
  height: 104px;
  margin-top: -42px;
  border: 5px solid #fff;
  border-radius: 999px;
  background: #0a5482;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(18, 58, 98, 0.18);
  z-index: 2;
}

.profile-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-eyebrow {
  margin: 0 0 3px;
  color: #0d6f3c;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.profile-main h1 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1.1;
}

.profile-subtext {
  margin: 6px 0 0;
  color: #5f6b73;
  font-size: 0.9rem;
  font-weight: 750;
}

.profile-id-link {
  display: inline-flex;
  margin-top: 8px;
  color: #5f6b73;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.profile-count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: 16px;
}

.profile-count-grid a {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 8px;
  text-align: center;
}

.profile-count-grid a + a {
  border-left: 1px solid #edf1f4;
}

.profile-count-grid span {
  color: #5f6b73;
  font-size: 0.76rem;
  font-weight: 850;
}

.profile-count-grid strong {
  color: #111820;
  font-size: 1.42rem;
  line-height: 1;
}

.profile-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-mini-links a {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f7fa;
  color: #123a62;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-mini-links span {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f7fa;
  color: #123a62;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-section-card {
  margin-bottom: 18px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title-row h2 {
  margin: 0;
  color: #111820;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.35;
}

.section-title-row h1 {
  margin: 0;
  color: #111820;
  font-size: 1.22rem;
  font-weight: 950;
  line-height: 1.25;
}

.section-title-row a {
  color: #0d6f3c;
  font-size: 0.78rem;
  font-weight: 950;
}

.profile-chip-list,
.profile-style-grid,
.profile-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-chip-list span,
.profile-style-grid span,
.profile-radio-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf7fb;
  color: #123a62;
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-action-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: 14px;
}

.profile-action-list a {
  padding: 13px;
  font-size: 0.84rem;
  font-weight: 900;
}

.profile-action-list a + a {
  border-top: 1px solid #edf1f4;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #fff;
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 12px 13px;
  color: #111820;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background: #009a4e;
  mask: url("/assets/icons/linear/arrow-down-1.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icons/linear/arrow-down-1.svg") center / contain no-repeat;
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list p {
  padding: 0 13px 13px;
  color: #5f6b73;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.7;
}

.profile-log-list,
.log-list,
.visited-park-list {
  display: grid;
  gap: 12px;
}

.profile-log-card,
.log-card,
.visited-park-list a {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #fff;
}

.profile-log-card strong,
.log-card strong,
.visited-park-list strong,
.log-detail-head strong {
  color: #111820;
  font-weight: 950;
}

.profile-log-card span,
.profile-log-card small,
.log-card span,
.visited-park-list span,
.log-detail-head span {
  color: #6f7780;
  font-size: 0.78rem;
  font-weight: 850;
}

.visited-park-list a {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.visited-park-list strong,
.visited-park-list span {
  grid-column: 1;
}

.visited-park-list em {
  grid-row: 1 / span 2;
  grid-column: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef8f2;
  color: #0d6f3c;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 950;
}

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

.log-summary-grid div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
  text-align: center;
}

.log-summary-grid span {
  color: #6f7780;
  font-size: 0.74rem;
  font-weight: 850;
}

.log-summary-grid strong {
  font-size: 1.34rem;
  line-height: 1;
}

.log-filter-tabs,
.log-meta-row,
.log-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.log-filter-tabs a,
.log-meta-row span,
.log-tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f2f7fa;
  color: #123a62;
  font-size: 0.8rem;
  font-weight: 900;
}

.log-filter-tabs a.active {
  background: #009a4e;
  color: #fff;
}

.log-card p {
  margin: 4px 0 0;
  color: #333b44;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.6;
}

.log-detail-head {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fcfe;
  border: 1px solid #dce8ee;
}

.log-note-box {
  padding: 13px;
  border-radius: 12px;
  background: #f8fcfe;
  color: #333b44;
  font-size: 0.84rem;
  font-weight: 800;
}

.social-feed,
.user-list,
.friend-now-list,
.notification-list {
  display: grid;
  gap: 12px;
}

.social-card,
.user-list-card,
.friend-now-card,
.notification-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 58, 98, 0.06);
}

.social-user-row,
.user-list-card,
.notification-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.user-list-card {
  grid-template-columns: 46px minmax(0, 1fr) auto;
}

.social-avatar-link img {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  object-fit: cover;
  background: #0a5482;
}

.social-user-main,
.user-list-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.social-user-main strong,
.user-list-main strong {
  overflow: hidden;
  color: #111820;
  font-size: 0.88rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-user-main span,
.user-list-main span {
  overflow: hidden;
  color: #6f7780;
  font-size: 0.74rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-park-block {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: 12px;
  background: #f8fcfe;
  border: 1px solid #edf1f4;
}

.social-park-block strong {
  color: #111820;
  font-size: 0.86rem;
  font-weight: 950;
}

.social-park-block span {
  color: #6f7780;
  font-size: 0.76rem;
  font-weight: 850;
}

.social-card p {
  margin: 0;
  color: #333b44;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.6;
}

.social-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.social-action-row a {
  color: #0d6f3c;
  font-size: 0.78rem;
  font-weight: 950;
}

.social-like-button,
.mini-action-button {
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid #dce8ee;
  border-radius: 999px;
  background: #fff;
  color: #123a62;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
}

.social-like-button.is-liked,
.mini-action-button.secondary {
  background: #eef8f2;
  color: #0d6f3c;
  cursor: default;
}

.friend-now-strip {
  display: grid;
  grid-auto-columns: 92px;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.friend-now-strip a {
  display: grid;
  gap: 5px;
  justify-items: center;
  min-width: 0;
  scroll-snap-align: start;
}

.friend-now-strip img {
  width: 62px;
  height: 62px;
  border: 3px solid #009a4e;
  border-radius: 999px;
  object-fit: cover;
}

.friend-now-strip strong,
.friend-now-strip span {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-now-strip strong {
  color: #111820;
  font-size: 0.82rem;
  font-weight: 950;
}

.friend-now-strip span {
  color: #6f7780;
  font-size: 0.72rem;
  font-weight: 800;
}

.friend-now-card {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
}

.friend-now-card img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.friend-now-card span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.friend-now-card strong,
.friend-now-card em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-now-card strong {
  color: #111820;
  font-weight: 950;
}

.friend-now-card em {
  color: #6f7780;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 850;
}

.friend-now-card b {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef8f2;
  color: #0d6f3c;
  font-size: 0.72rem;
  font-weight: 950;
}

.notification-card {
  align-items: start;
}

.notification-card.is-unread {
  border-color: rgba(0, 154, 78, 0.3);
  background: #fbfefd;
}

.notification-card div {
  display: grid;
  gap: 3px;
}

.notification-card strong {
  color: #111820;
  font-weight: 950;
}

.notification-card span,
.notification-card small {
  color: #6f7780;
  font-size: 0.76rem;
  font-weight: 820;
}

.share-id-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #f8fcfe;
  border: 1px solid #edf1f4;
  text-align: center;
}

.share-id-box img {
  width: min(100%, 260px);
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.admin-dashboard-hero {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid #e8edf0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(20, 189, 112, 0.18), transparent 34%),
    linear-gradient(135deg, #101820 0%, #1d2b34 58%, #24343d 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 32, 0.16);
}

.admin-dashboard-topline {
  display: grid;
  gap: 14px;
}

.admin-dashboard-topline h1 {
  margin: 2px 0 7px;
  font-size: 1.34rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.admin-dashboard-topline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.7;
}

.admin-dashboard-topline .profile-eyebrow {
  color: #89f0bd;
}

.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #111820;
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
}

.admin-pill-link.is-muted {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-kpi-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  text-decoration: none;
}

.admin-kpi-card.is-primary {
  background: #fff;
  color: #111820;
}

.admin-kpi-card span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.45;
}

.admin-kpi-card strong {
  color: inherit;
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.admin-kpi-card em {
  color: inherit;
  opacity: 0.78;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
}

.admin-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 2px 10px;
}

.admin-section-title h2 {
  margin: 2px 0 0;
  color: #111820;
  font-size: 1rem;
  line-height: 1.25;
}

.admin-section-title a,
.admin-section-title span {
  color: #6f7780;
  font-size: 0.74rem;
  font-weight: 950;
  text-decoration: none;
}

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

.admin-home-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 4px;
}

.admin-home-guide a {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  color: #111820;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-home-guide span,
.admin-category-card span,
.admin-system-strip span {
  color: #0d6f3c;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.admin-home-guide strong,
.admin-category-card strong,
.admin-system-strip strong {
  color: #111820;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-category-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  color: #111820;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-category-card.has-alert {
  border-color: #cfe8da;
  background: linear-gradient(180deg, #f8fffb 0%, #fff 100%);
}

.admin-category-card strong {
  font-size: 1.75rem;
  line-height: 1;
}

.admin-category-card em,
.admin-system-strip em {
  color: #6f7780;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.5;
}

.admin-dashboard-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 12px;
}

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

.admin-system-strip a {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  color: #111820;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-shortcut-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-shortcut-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #edf1f4;
  border-radius: 999px;
  background: #fff;
  color: #111820;
  font-size: 0.76rem;
  font-weight: 950;
  text-decoration: none;
}

.admin-tile,
.admin-list-card {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-tile:hover {
  transform: translateY(-1px);
  border-color: #d9e3e8;
  box-shadow: 0 12px 26px rgba(17, 24, 32, 0.09);
}

.admin-tile span,
.admin-list-card small,
.admin-list-card p {
  color: #6f7780;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.5;
}

.admin-tile strong {
  color: #111820;
  font-size: 1.6rem;
  line-height: 1;
}

.admin-tile em {
  color: #0d6f3c;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 950;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-card {
  position: relative;
}

.admin-list-card strong {
  padding-right: 68px;
  color: #111820;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.admin-list-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef8f2;
  color: #0d6f3c;
  font-size: 0.68rem;
  font-weight: 950;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #e8edf1;
  border-radius: 999px;
  background: #f8faf9;
  color: #26323b;
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-compact-form {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 4px;
}

.admin-compact-form label {
  display: grid;
  flex: 1;
  gap: 4px;
  color: #6f7780;
  font-size: 0.7rem;
  font-weight: 900;
}

.admin-compact-form select,
.admin-compact-form button {
  min-height: 36px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-compact-form select {
  width: 100%;
  border: 1px solid #e1e7eb;
  background: #fff;
  padding: 0 10px;
  color: #111820;
}

.admin-compact-form button {
  border: 0;
  background: #17a66a;
  color: #fff;
  padding: 0 14px;
}

.admin-photo-card {
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
}

.admin-photo-card img {
  grid-row: 1 / span 3;
  width: 78px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: #f2f7fa;
}

.admin-large-image {
  width: 100%;
  max-height: 420px;
  border-radius: 16px;
  object-fit: contain;
  background: #f2f7fa;
}

.admin-usage-table-wrap {
  overflow-x: auto;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-usage-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-usage-table th,
.admin-usage-table td {
  padding: 12px 11px;
  border-bottom: 1px solid #edf1f4;
  color: #111820;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: right;
  white-space: nowrap;
}

.admin-usage-table th:first-child,
.admin-usage-table td:first-child {
  text-align: left;
}

.admin-usage-table thead th {
  background: #f7fafb;
  color: #6f7780;
  font-size: 0.7rem;
  font-weight: 950;
}

.admin-usage-table tbody tr:last-child th,
.admin-usage-table tbody tr:last-child td {
  border-bottom: 0;
}

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

.admin-insight-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-insight-card-head {
  display: grid;
  gap: 4px;
}

.admin-insight-card-head span {
  color: #0d6f3c;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.admin-insight-card-head strong {
  color: #111820;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-mini-list {
  display: grid;
  gap: 8px;
}

.admin-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #f8fbfc;
  color: #111820;
  text-decoration: none;
}

.admin-mini-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-mini-row strong {
  overflow: hidden;
  color: #111820;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-mini-row em,
.admin-mini-row time {
  color: #6f7780;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
  white-space: nowrap;
}

.admin-mini-row b {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 999px;
  background: #111820;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-empty-text {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #f8fbfc;
  color: #6f7780;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.6;
}

.admin-measure-note {
  display: grid;
  gap: 5px;
  margin: -2px 0 12px;
  padding: 12px 13px;
  border: 1px solid #e7f0eb;
  border-radius: 14px;
  background: #f6fbf8;
}

.admin-measure-note strong {
  color: #0d6f3c;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-measure-note p {
  margin: 0;
  color: #51606a;
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.65;
}

.admin-anchor-nav {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-anchor-nav > div:first-child {
  display: grid;
  gap: 4px;
}

.admin-anchor-nav strong {
  color: #111820;
  font-size: 0.98rem;
  font-weight: 950;
}

.admin-anchor-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-anchor-links a {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #f8fbfc;
  color: #111820;
  text-decoration: none;
}

.admin-anchor-links span {
  color: #111820;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-anchor-links em {
  overflow: hidden;
  color: #6f7780;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-growth-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.admin-growth-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-growth-card.is-main {
  background: #111820;
  color: #fff;
}

.admin-growth-card span {
  color: inherit;
  opacity: 0.66;
  font-size: 0.72rem;
  font-weight: 950;
}

.admin-growth-card strong {
  color: inherit;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.admin-growth-card p {
  margin: 0;
  color: inherit;
  opacity: 0.72;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1.55;
}

.admin-mini-row.is-static {
  cursor: default;
}

.admin-health-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-health-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 24, 32, 0.06);
}

.admin-health-card span {
  color: #6f7780;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1.35;
}

.admin-health-card strong {
  color: #111820;
  font-size: 1.36rem;
  font-weight: 950;
  line-height: 1;
}

.admin-health-card p {
  margin: 0;
  color: #6f7780;
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.55;
}

.admin-hour-bars {
  display: grid;
  grid-template-columns: repeat(24, minmax(10px, 1fr));
  align-items: end;
  gap: 4px;
  min-height: 112px;
  padding: 10px 2px 0;
}

.admin-hour-bar {
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}

.admin-hour-bar i {
  display: block;
  width: 100%;
  min-width: 4px;
  max-width: 12px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #18c77d, #111820);
}

.admin-hour-bar span {
  color: #6f7780;
  font-size: 0.56rem;
  font-weight: 900;
  writing-mode: vertical-rl;
}

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

  .admin-category-grid,
  .admin-home-guide,
  .admin-dashboard-split,
  .admin-system-strip {
    grid-template-columns: 1fr;
  }

  .admin-anchor-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-hour-bars {
    gap: 3px;
    overflow-x: auto;
    grid-template-columns: repeat(24, 16px);
  }
}

@media (max-width: 560px) {
  .admin-dashboard-hero {
    gap: 14px;
    padding: 15px;
    border-radius: 18px;
  }

  .admin-dashboard-topline h1 {
    font-size: 1.2rem;
  }

  .admin-dashboard-topline p {
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .admin-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-pill-link {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .admin-dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .admin-kpi-card {
    padding: 12px;
  }

  .admin-kpi-card strong {
    font-size: 1.48rem;
  }

  .admin-section-title {
    align-items: start;
    margin-top: 18px;
  }

  .admin-section-title h2 {
    font-size: 0.94rem;
  }

  .admin-section-title a,
  .admin-section-title span {
    max-width: 44%;
    text-align: right;
    line-height: 1.35;
  }

  .admin-measure-note {
    padding: 11px;
  }

  .admin-measure-note p {
    font-size: 0.73rem;
    font-weight: 700;
    line-height: 1.62;
  }

  .admin-anchor-nav {
    gap: 10px;
    margin: 12px 0 16px;
    padding: 12px;
    border-radius: 16px;
  }

  .admin-anchor-links {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .admin-anchor-links::-webkit-scrollbar {
    display: none;
  }

  .admin-anchor-links a {
    flex: 0 0 116px;
    min-height: 58px;
    padding: 9px;
  }

  .admin-anchor-links em {
    white-space: normal;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-insight-grid {
    grid-template-columns: 1fr;
  }

  .admin-growth-grid {
    grid-template-columns: 1fr;
  }

  .admin-growth-card,
  .admin-health-card,
  .admin-insight-card {
    padding: 12px;
    border-radius: 14px;
  }

  .admin-growth-card strong {
    font-size: 1.42rem;
  }

  .admin-health-grid {
    grid-template-columns: 1fr;
  }

  .admin-health-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    align-items: center;
  }

  .admin-health-card span {
    font-size: 0.72rem;
  }

  .admin-health-card strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 1.16rem;
    text-align: right;
    white-space: nowrap;
  }

  .admin-health-card p {
    grid-column: 1;
    font-size: 0.68rem;
  }

  .admin-mini-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 10px 11px;
  }

  .admin-mini-row strong,
  .admin-mini-row em,
  .admin-mini-row time {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .admin-mini-row b,
  .admin-mini-row time {
    justify-self: start;
  }

  .admin-mini-row b {
    min-width: 0;
    height: auto;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .admin-hour-bars {
    margin-right: -12px;
    margin-left: -2px;
    padding: 10px 12px 0 2px;
  }

  .admin-usage-table-wrap {
    margin-right: -14px;
    border-right: 0;
    border-radius: 14px 0 0 14px;
  }

  .admin-usage-table {
    min-width: 520px;
  }

  .admin-usage-table th,
  .admin-usage-table td {
    padding: 10px 9px;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .user-list-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .user-list-card form {
    grid-column: 1 / -1;
  }

  .mini-action-button {
    width: 100%;
  }
}

.favorite-park-list {
  display: grid;
  gap: 12px;
}

.favorite-park-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
}

.favorite-park-card a {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.favorite-park-card strong {
  color: #111820;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.favorite-park-card span {
  color: #6f7780;
  font-size: 0.82rem;
  font-weight: 850;
}

.favorite-park-card button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #dce8ee;
  border-radius: 999px;
  background: #fff;
  color: #123a62;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  cursor: pointer;
}

.checkin-card {
  margin-bottom: 18px;
}

.checkin-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #f4f7f8;
}

.checkin-status-strip span {
  display: inline-flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  color: #6f7780;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.checkin-status-strip .is-current {
  background: #111820;
  color: #fff;
}

.checkin-state,
.checkin-now-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fcfe;
  border: 1px solid #dce8ee;
}

.checkin-state strong,
.checkin-now-card strong {
  color: #111820;
  font-size: 1.05rem;
  font-weight: 950;
}

.checkin-state span,
.checkin-now-card small {
  color: #5f6b73;
  font-size: 0.9rem;
  font-weight: 800;
}

.checkin-now-card {
  background: linear-gradient(135deg, #eef8f2, #f8fcfe);
  border-color: rgba(0, 154, 78, 0.24);
}

.checkin-now-card > span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #009a4e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
}

.checkin-park-list {
  display: grid;
  gap: 12px;
}

.checkin-park-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  background: #fff;
}

.checkin-park-card.is-primary {
  border-color: rgba(0, 154, 78, 0.24);
  background: linear-gradient(135deg, #f2fbf5, #fff);
}

.checkin-park-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 154, 78, 0.1);
  color: #0d6f3c !important;
  font-size: 0.72rem !important;
  font-weight: 950 !important;
}

.checkin-park-card strong {
  display: block;
  color: #111820;
  font-weight: 950;
}

.checkin-park-card span {
  display: block;
  margin-top: 4px;
  color: #6f7780;
  font-size: 0.84rem;
  font-weight: 850;
}

.checkin-park-card button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #009a4e;
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.checkin-register-actions {
  display: grid;
  gap: 10px;
}

.checkin-preview-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff8e8;
  color: #725010;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.6;
}

.checkin-guide-link {
  justify-self: center;
  color: #0d6f3c;
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkin-checkout-form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
}

.checkin-checkout-form legend {
  padding: 0 4px;
  color: #333b44;
  font-size: 0.86rem;
  font-weight: 950;
}

.checkin-checkout-form textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #fff;
  color: #111820;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
}

.profile-edit-form {
  gap: 18px;
}

.profile-upload-grid,
.profile-form-grid {
  display: grid;
  gap: 12px;
}

.profile-upload-box {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed #b8ccd8;
  border-radius: 14px;
  background: #f8fcfe;
  cursor: pointer;
}

.profile-upload-box strong {
  color: #123a62;
  font-weight: 950;
}

.profile-upload-box span {
  color: #6f7780;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-upload-box input {
  width: 100%;
  margin-top: 8px;
  font-size: 0.86rem;
}

.readonly-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  background: #f8fcfe;
  color: #111820;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.readonly-field span {
  flex: 0 0 auto;
  color: #6f7780;
  font-size: 0.78rem;
}

.profile-privacy-block,
.profile-style-block {
  display: grid;
  gap: 12px;
}

.profile-privacy-block fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 14px;
}

.profile-privacy-block legend,
.profile-style-block > strong {
  padding: 0 4px;
  color: #333b44;
  font-size: 0.86rem;
  font-weight: 950;
}

.profile-radio-row label,
.profile-style-grid label {
  cursor: pointer;
}

.profile-radio-row input,
.profile-style-grid input {
  position: absolute;
  opacity: 0;
}

.profile-radio-row input:checked + span,
.profile-style-grid input:checked + span {
  background: #009a4e;
  color: #fff;
}

@media (min-width: 520px) {
  .profile-form-grid,
  .profile-upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badge-collection-grid {
  display: grid;
  gap: 12px;
}

.badge-collection-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #edf1f4;
  border-radius: 18px;
  background: #fff;
}

.badge-collection-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.badge-collection-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.badge-collection-card strong {
  color: #111820;
  font-size: 1rem;
  font-weight: 950;
}

.badge-collection-card span {
  color: #5f6b73;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.55;
}

.badge-collection-card small {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f4f7f8;
  color: #123a62;
  font-size: 0.76rem;
  font-weight: 950;
}

.badge-collection-card.is-unlocked {
  border-color: rgba(0, 154, 78, 0.24);
  background: linear-gradient(135deg, #f2fbf5, #fff);
}

.badge-collection-card.is-locked img {
  filter: grayscale(1);
  opacity: 0.5;
}

.admin-badge-user-card {
  display: grid;
  gap: 14px;
}

.admin-badge-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-badge-progress i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f4;
}

.admin-badge-progress em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #009a4e, #6fd69a);
}

.admin-badge-progress strong {
  color: #123a62;
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-badge-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-badge-group-grid span {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid #edf1f4;
  border-radius: 12px;
  background: #f8fafb;
}

.admin-badge-group-grid b {
  color: #111820;
  font-size: 0.78rem;
  font-weight: 950;
}

.admin-badge-group-grid small {
  color: #68747d;
  font-size: 0.74rem;
  font-weight: 850;
}

.admin-badge-details {
  display: grid;
  gap: 12px;
}

.admin-badge-details summary {
  cursor: pointer;
  color: #0d6f3c;
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-badge-details[open] summary {
  margin-bottom: 12px;
}

.page-list-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #edf1f4;
  border-radius: 16px;
}

.page-list-row {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.page-list-row + .page-list-row {
  border-top: 1px solid #edf1f4;
}

.page-list-row span {
  color: #6f7780;
  font-size: 0.76rem;
  font-weight: 900;
}

.page-list-row strong {
  color: #111820;
  font-size: 0.98rem;
  font-weight: 950;
}

.page-list-row code {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 8px;
  background: #f4f7f8;
  color: #123a62;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.page-list-row:active {
  background: #f8fcfe;
}

@media (max-width: 520px) {
  .checkin-status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }

  .badge-collection-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .badge-collection-card img {
    width: 58px;
    height: 58px;
  }
}
