.dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding-top: 34px;
}

.profile-panel,
.dashboard-main {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-panel {
  position: sticky;
  top: 96px;
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  max-height: calc(100vh - 116px);
  padding: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-color: #8ea3a0 transparent;
  scrollbar-width: thin;
}

.profile-panel::-webkit-scrollbar {
  width: 8px;
}

.profile-panel::-webkit-scrollbar-track {
  background: transparent;
}

.profile-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #8ea3a0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.profile-panel > strong {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.profile-panel a {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.profile-panel > a[href="submit-place.html"] {
  border-color: #1d5f54;
  background: #236b5e;
  color: #fff;
}

.profile-panel a.is-active {
  border-color: var(--accent);
  background: #e3f0eb;
  color: var(--accent);
  font-weight: 700;
}

.display-name-form,
.profile-country-form,
.profile-preferences-form,
.profile-email-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.display-name-form label,
.profile-country-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.display-name-form input,
.profile-country-form select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  box-sizing: border-box;
}

.display-name-form button,
.profile-country-form button,
.profile-preferences-form button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}

.settings-edit-heading {
  display: block;
  min-width: 0;
}

.settings-edit-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.settings-edit-button {
  display: inline-flex;
  width: auto;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
}

.settings-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.settings-edit-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.settings-edit-button span {
  display: none;
}

.display-name-form.is-editing .settings-edit-button,
.profile-country-form.is-editing .settings-edit-button {
  min-width: 72px;
  border-color: #1d5f54;
  background: #236b5e;
  color: #fff;
}

.display-name-form.is-editing .settings-edit-button svg,
.profile-country-form.is-editing .settings-edit-button svg {
  display: none;
}

.display-name-form.is-editing .settings-edit-button span,
.profile-country-form.is-editing .settings-edit-button span {
  display: inline;
}

.display-name-form input[readonly],
.profile-country-form select:disabled {
  background: #fff;
  color: var(--ink);
  opacity: 1;
}

.settings-help-text {
  min-height: 0;
}

.settings-grid .profile-choice-grid {
  align-items: center;
  gap: 8px;
}

.settings-grid .profile-choice {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 32px;
  padding: 0 11px;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.settings-grid .profile-choice span {
  line-height: inherit;
}

.display-name-form small,
.profile-country-form small,
.profile-preferences-form small {
  display: block;
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.settings-edit-heading .settings-help-text {
  min-height: 0;
  margin-top: 3px;
}

.display-name-form small.is-shaking {
  animation: dashboard-shake 0.24s ease;
}

@keyframes dashboard-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-4px);
  }

  75% {
    transform: translateX(4px);
  }
}

.dashboard-main {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.dashboard-main .section-heading {
  position: relative;
  display: grid;
  min-height: 88px;
  overflow: hidden;
  padding: 20px 22px 14px;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.2) 0 24px, transparent 25px),
    linear-gradient(135deg, #06443d 0%, #0a6b5c 100%);
  color: #fff;
  margin-bottom: 0;
}

.dashboard-main .section-heading::after {
  position: absolute;
  right: 22px;
  bottom: 8px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50% 50% 50% 8px;
  content: "";
  opacity: 0.72;
  transform: rotate(-12deg);
}

.dashboard-main .section-heading h1 {
  max-width: calc(100% - 72px);
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 46px);
  font-style: italic;
  line-height: 1.05;
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: -18px;
  padding: 0 12px 16px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(135deg, #06443d 0%, #0a6b5c 100%);
  box-shadow: 0 18px 42px rgba(1, 31, 64, 0.14);
}

.stat-card {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 76px;
  place-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(6, 74, 64, 0.58);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.stat-card span {
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
}

.stat-card strong {
  order: -1;
  display: block;
  width: 100%;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  text-align: center;
}

.table-card {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 120px 150px minmax(160px, 0.8fr) 110px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
}

.table-card.is-draft-view .table-row {
  grid-template-columns: minmax(260px, 1fr) 120px 190px;
}

.table-row span:first-child {
  display: grid;
  gap: 4px;
}

.dashboard-place-summary,
.dashboard-place-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-place-summary {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.table-row .dashboard-place-summary .dashboard-place-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 64px;
  aspect-ratio: 1 / 0.82;
  align-self: stretch;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(226, 235, 231, 0.78)),
    radial-gradient(circle at 76% 22%, rgba(211, 106, 58, 0.18) 0 12px, transparent 13px),
    #e2ebe7;
}

.dashboard-place-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.table-row .dashboard-place-summary .dashboard-place-thumb:empty::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8a9a9a;
  font-size: 11px;
  font-weight: 900;
  content: "IMG";
}

.table-row small,
.dashboard-item small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.table-head {
  background: var(--soft);
}

.table-row a,
.dashboard-section-heading a,
.dashboard-item a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.table-actions a,
.table-actions button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  line-height: 1;
}

.table-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.table-remark {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  background: #e3f0eb;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.status-pending {
  background: #fff3df;
  color: #a4571f;
}

.status-draft {
  background: #eef2f7;
  color: #475569;
}

.status-rejected {
  background: #f8e7e7;
  color: #9b2f2f;
}

.dashboard-section {
  display: grid;
  gap: 12px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.profile-email-card {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding-block: 10px;
}

.profile-email-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.profile-email-card strong {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-preferences-form {
  display: flex;
  flex-direction: column;
  grid-column: 1 / -1;
  min-height: 400px;
  gap: 14px;
}

.profile-preferences-form button {
  align-self: end;
  width: 100%;
  margin-top: auto;
  border-color: #1d5f54;
  background: #236b5e;
  color: #fff;
  box-shadow: 0 12px 24px rgba(35, 107, 94, 0.14);
}

.profile-preferences-form button:disabled {
  opacity: 0.62;
  cursor: progress;
}

.dashboard-section.is-hidden {
  display: none;
}

.dashboard-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-section-heading h2 {
  font-size: 24px;
}

.dashboard-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.dashboard-refresh-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.dashboard-refresh-button:disabled {
  color: var(--muted);
  cursor: wait;
}

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

.dashboard-action-filter-tabs,
.dashboard-places-status-tabs {
  display: grid;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dashboard-action-filter-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-places-status-tabs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.dashboard-action-filter-tabs button,
.dashboard-places-status-tabs button {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.dashboard-action-filter-tabs button.is-active,
.dashboard-places-status-tabs button.is-active {
  border-color: #1d5f54;
  background: #236b5e;
  color: #fff;
}

.dashboard-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dashboard-filters-compact {
  grid-template-columns: minmax(180px, 240px);
}

#my-places .dashboard-filters-compact {
  display: none;
}

.dashboard-wishlist-filters {
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, 180px));
}

.dashboard-wishlist-filters input,
.dashboard-wishlist-filters select,
.dashboard-wishlist-filters option {
  font-size: 13px;
  font-weight: 400;
}

.wishlist-search-control {
  position: relative;
  display: block;
}

.wishlist-search-control input {
  width: 100%;
  padding-right: 44px;
}

.wishlist-search-control input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.wishlist-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: none;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(35, 107, 94, 0.18);
  border-radius: 999px;
  background: #f4faf7;
  color: #176a5b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.wishlist-search-control.has-value .wishlist-search-clear {
  display: inline-flex;
}

.dashboard-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-filters input,
.dashboard-filters select {
  min-height: 40px;
}

.dashboard-item,
.dashboard-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dashboard-item-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.dashboard-item-actions button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  font-weight: 800;
  cursor: pointer;
}

.dashboard-item-actions .is-danger {
  border-color: #fecaca;
  color: #b42318;
}

.dashboard-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.dashboard-item.is-removed {
  background: #fbf7f4;
}

.dashboard-item.is-unavailable {
  background: #f8faf9;
}

.dashboard-item.is-unavailable > span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-item strong,
.dashboard-item small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-item-title-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-item-title-row strong {
  min-width: 0;
}

.dashboard-item-location {
  color: #1d5f54;
  font-weight: 800;
}

.dashboard-item-stats {
  flex-shrink: 0;
}

.dashboard-item-description {
  display: block;
  max-width: 100%;
}

.dashboard-item-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dashboard-item-badges .badge {
  min-height: 24px;
  padding-inline: 8px;
}

.dashboard-item-badges .dashboard-featured-star {
  position: relative;
  width: 24px;
  min-width: 24px;
  min-height: 24px;
  justify-content: center;
  overflow: visible;
  padding: 0;
  border-color: rgba(105, 55, 200, 0.18);
  background: #eee5ff;
  color: #6937c8;
  font-size: 20px;
  line-height: 1;
}

.dashboard-featured-guide {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 10;
  width: max-content;
  max-width: min(190px, 64vw);
  padding: 7px 9px;
  border: 1px solid rgba(105, 55, 200, 0.18);
  border-radius: 8px;
  background: #fff;
  color: #6937c8;
  box-shadow: 0 14px 30px rgba(19, 31, 34, 0.18);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.dashboard-featured-star:hover .dashboard-featured-guide,
.dashboard-featured-star:focus-visible .dashboard-featured-guide {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-empty {
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

.dashboard-item-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff3df;
  color: #d36a3a;
  font-size: 19px;
}

.dashboard-unwishlist-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #d36a3a;
  border-radius: 50%;
  background: #fff3df;
  color: #d36a3a;
  font-size: 19px;
  line-height: 1;
}

.dashboard-item.is-removed .dashboard-unwishlist-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.dashboard-unwishlist-button:disabled {
  cursor: wait;
}

.dashboard-action-chip {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 8px;
  background: #dff1eb;
  color: #1d5f54;
  font-size: 11px;
  font-weight: 800;
}

.dashboard-action-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.dashboard-action-chips .dashboard-action-chip {
  min-width: 0;
}

.dashboard-action-history-item {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: end;
}

.dashboard-action-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  width: 74px;
  aspect-ratio: 1 / 0.82;
  align-self: stretch;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(226, 235, 231, 0.78)),
    radial-gradient(circle at 76% 22%, rgba(211, 106, 58, 0.18) 0 12px, transparent 13px),
    #e2ebe7;
}

.dashboard-action-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.dashboard-place-thumb img.is-dashboard-preview-loading,
.dashboard-action-thumb img.is-dashboard-preview-loading {
  opacity: 0;
}

.dashboard-action-thumb:empty::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8a9a9a;
  font-size: 11px;
  font-weight: 900;
  content: "IMG";
}

.dashboard-action-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-action-copy small {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dashboard-action-view {
  align-self: end;
  min-height: 32px;
  padding-inline: 12px;
}

.wishlist-destination-group {
  display: grid;
  gap: 10px;
}

.wishlist-group-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.wishlist-group-heading::after {
  justify-self: end;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.wishlist-destination-group.is-collapsed .wishlist-group-heading::after {
  transform: rotate(-45deg);
}

.wishlist-group-heading span:last-child {
  justify-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 25, 28, 0.48);
}

.admin-confirm {
  width: min(100%, 420px);
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(17, 25, 28, 0.28);
}

.admin-confirm h2,
.admin-confirm p {
  margin: 0;
}

.admin-confirm h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.admin-confirm p {
  color: var(--muted);
  line-height: 1.5;
}

.admin-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
  margin-top: 18px;
}

.admin-confirm-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-confirm-cancel {
  background: #fff;
  color: var(--ink);
}

.admin-confirm-submit {
  background: var(--ink);
  color: #fff;
}

.admin-confirm-submit.is-danger {
  border-color: #8a3328;
  background: #8a3328;
}

@media (max-width: 1350px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    width: min(820px, 100%);
    margin-inline: auto;
    padding: 14px clamp(12px, 4vw, 28px) calc(112px + env(safe-area-inset-bottom));
  }

  .profile-panel {
    position: fixed;
    top: auto;
    left: 50%;
    right: auto;
    bottom: 8px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: min(calc(100% - 20px), 760px);
    max-height: none;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    overflow: visible;
    border-color: rgba(1, 31, 64, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(1, 31, 64, 0.18);
    transform: translateX(-50%);
    backdrop-filter: blur(18px);
  }

  .profile-panel .avatar,
  .profile-panel > strong,
  .profile-panel > a:not([data-dashboard-tab]) {
    display: none;
  }

  .profile-panel a[data-dashboard-tab] {
    --dashboard-tab-icon: none;
    display: grid;
    min-height: 54px;
    align-content: center;
    justify-items: center;
    gap: 4px;
    padding: 6px 2px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #39515a;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
  }

  .profile-panel a[data-dashboard-tab]::before {
    display: block;
    width: 19px;
    height: 19px;
    background: currentColor;
    content: "";
    mask: var(--dashboard-tab-icon) center / contain no-repeat;
    -webkit-mask: var(--dashboard-tab-icon) center / contain no-repeat;
  }

  .profile-panel a[data-dashboard-tab="places"] {
    --dashboard-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
  }

  .profile-panel a[data-dashboard-tab="wishlist"] {
    --dashboard-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
  }

  .profile-panel a[data-dashboard-tab="actions"] {
    --dashboard-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z'/%3E%3Cpath d='m15.5 8.5-2.2 5.1-5.1 2.2 2.2-5.1 5.1-2.2Z'/%3E%3C/svg%3E");
  }

  .profile-panel a[data-dashboard-tab="archived"] {
    --dashboard-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18'/%3E%3Cpath d='M5 7v13h14V7'/%3E%3Cpath d='M8 3h8l2 4H6l2-4Z'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E");
  }

  .profile-panel a[data-dashboard-tab="settings"] {
    --dashboard-tab-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.6-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.9.3h.1a1.7 1.7 0 0 0 1-1.6V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.6h.1a1.7 1.7 0 0 0 1.9-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.9v.1a1.7 1.7 0 0 0 1.6 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/%3E%3C/svg%3E");
  }

  .profile-panel a[data-dashboard-tab].is-active {
    border-color: transparent;
    background: #e2f3ee;
    color: #0f7667;
    font-weight: 900;
  }

  .dashboard-main {
    gap: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .dashboard-main .section-heading {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 76px;
    overflow: hidden;
    padding: 16px 18px 10px;
    border-radius: 20px 20px 0 0;
    background:
      radial-gradient(circle at 86% 26%, rgba(255, 255, 255, 0.22) 0 22px, transparent 23px),
      linear-gradient(135deg, #06443d 0%, #0a6b5c 100%);
    color: #fff;
    box-shadow: none;
  }

  .dashboard-main .section-heading::after {
    position: absolute;
    right: 16px;
    bottom: 6px;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-radius: 50% 50% 50% 8px;
    content: "";
    opacity: 0.78;
    transform: rotate(-12deg);
  }

  .dashboard-main .section-heading h1 {
    max-width: calc(100% - 64px);
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 4vw, 32px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .dashboard-main .section-heading .auth-note {
    max-width: calc(100% - 64px);
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 700;
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    position: relative;
    z-index: 1;
    margin-top: -14px;
    padding: 0 8px 14px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(135deg, #06443d 0%, #0a6b5c 100%);
    box-shadow: 0 18px 42px rgba(1, 31, 64, 0.16);
  }

  .stat-card {
    display: grid;
    grid-template-rows: auto auto;
    min-height: 66px;
    align-content: center;
    justify-content: center;
    justify-items: center;
    place-items: center;
    gap: 6px;
    padding: 10px 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(6, 74, 64, 0.58);
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
  }

  .stat-card span {
    display: block;
    width: 100%;
    font-size: 10px;
    line-height: 1.15;
    text-align: center;
  }

  .stat-card strong {
    order: -1;
    display: block;
    width: 100%;
    color: #fff;
    font-size: clamp(20px, 5vw, 28px);
    text-align: center;
  }

  .dashboard-section {
    gap: 12px;
  }

  .dashboard-section-heading {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding-inline: 2px;
  }

  .dashboard-section-heading h2 {
    font-size: clamp(20px, 3.8vw, 26px);
    line-height: 1.1;
  }

  .dashboard-heading-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  .dashboard-refresh-button,
  .dashboard-section-heading a,
  .dashboard-item a,
  .table-actions a,
  .table-actions button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(35, 107, 94, 0.18);
    border-radius: 10px;
    background: #fff;
    color: #176a5b;
    font-size: 13px;
    font-weight: 900;
  }

  #my-places .dashboard-section-heading a[href="submit-place.html"] {
    border-color: #1d5f54;
    background: #236b5e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(35, 107, 94, 0.14);
  }

  .table-actions button,
  .dashboard-item-actions .is-danger {
    border-color: #f7c8c8;
    color: #b42318;
  }

  .dashboard-filters {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-color: rgba(1, 31, 64, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(1, 31, 64, 0.06);
  }

  .dashboard-filters input,
  .dashboard-filters select {
    width: 100%;
    min-height: 42px;
    border-radius: 10px;
  }

  .dashboard-wishlist-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-wishlist-filters label:first-child {
    grid-column: 1 / -1;
  }

  .dashboard-wishlist-filters input {
    font-size: 16px;
    font-weight: 400;
  }

  .dashboard-wishlist-filters select,
  .dashboard-wishlist-filters option {
    font-size: 13px;
    font-weight: 400;
  }

  .dashboard-section-heading .dashboard-explore-more-link {
    border-color: #1d5f54;
    background: #236b5e;
    color: #fff;
    box-shadow: 0 10px 22px rgba(35, 107, 94, 0.14);
  }

  .table-card {
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .table-head {
    display: none;
  }

  .table-row,
  .table-card.is-draft-view .table-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 13px;
    border: 1px solid rgba(1, 31, 64, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(1, 31, 64, 0.06);
  }

  .table-row > span {
    min-width: 0;
  }

  .table-row > span:empty {
    display: none;
  }

  .table-row > span:first-child strong {
    overflow-wrap: anywhere;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.25;
  }

  .table-row > span:first-child small {
    white-space: normal;
  }

  .table-row:not(.table-head) > span:nth-child(n+2),
  .table-row:not(.table-head) > .table-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #edf2f1;
    color: #344b53;
    font-size: 13px;
    font-weight: 800;
  }

  .table-row:not(.table-head) > .table-actions {
    display: grid;
    grid-template-columns: minmax(88px, 1fr) repeat(2, minmax(88px, 1fr));
    justify-items: center;
  }

  .table-row:not(.table-head) > span:nth-child(n+2)::before,
  .table-row:not(.table-head) > .table-actions::before {
    color: #73838a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-row:not(.table-head) > .table-actions::before {
    justify-self: start;
  }

  .table-row:not(.table-head) > span:nth-child(2)::before {
    content: "Status";
  }

  .table-card:not(.is-draft-view) .table-row:not(.table-head) > span:nth-child(3)::before {
    content: "Edit request";
  }

  .table-card:not(.is-draft-view) .table-row:not(.table-head) > span:nth-child(4)::before {
    content: "Remarks";
  }

  .table-row:not(.table-head) > .table-actions::before,
  .table-card.is-draft-view .table-row:not(.table-head) > span:nth-child(3)::before {
    content: "Actions";
  }

  .table-row:not(.table-head) > span:empty {
    display: none;
  }

  .table-remark {
    color: #4b5f67;
    white-space: normal;
  }

  .status-pill {
    min-height: 26px;
    border-radius: 999px;
  }

  .dashboard-list {
    gap: 10px;
  }

  .dashboard-action-filter-tabs {
    gap: 6px;
    padding: 5px;
    border-color: rgba(1, 31, 64, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(1, 31, 64, 0.06);
  }

  .dashboard-action-filter-tabs button {
    min-height: 36px;
    padding: 0 4px;
    border-radius: 12px;
    font-size: 12px;
  }

  #my-places .dashboard-places-status-tabs {
    display: none;
  }

  #my-places .dashboard-filters-compact {
    display: grid;
  }

  .dashboard-item,
  .dashboard-empty {
    border-color: rgba(1, 31, 64, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(1, 31, 64, 0.06);
  }

  .dashboard-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px;
  }

  .dashboard-item strong,
  .dashboard-item small {
    white-space: normal;
  }

  .dashboard-item-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .wishlist-group-heading {
    margin-top: 0;
    border-color: rgba(1, 31, 64, 0.08);
    border-radius: 14px;
    background: #f5f9f7;
    font-size: 15px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-email-card,
  .display-name-form,
  .profile-country-form,
  .profile-preferences-form {
    padding: 14px;
    border-color: rgba(1, 31, 64, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(1, 31, 64, 0.06);
  }

  .profile-preferences-form {
    min-height: 0;
  }

  .profile-email-card {
    grid-template-columns: 1fr;
  }

  .profile-email-card strong {
    white-space: normal;
  }

  .display-name-form button,
  .profile-country-form button,
  .profile-preferences-form button {
    min-height: 42px;
    border-radius: 11px;
    font-weight: 900;
  }

  .settings-edit-button {
    min-height: 34px;
  }

  .settings-grid .profile-choice-grid {
    gap: 8px;
  }

  .settings-grid .profile-choice {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .dashboard-layout {
    padding-inline: 10px;
  }

  .dashboard-main .section-heading {
    min-height: 72px;
    padding: 15px 16px 10px;
  }

  .stats-grid {
    gap: 5px;
    margin-top: -14px;
    padding: 0 7px 12px;
  }

  .stat-card {
    min-height: 62px;
    padding-inline: 4px;
  }

  .stat-card span {
    font-size: 9px;
  }

  .dashboard-action-filter-tabs {
    gap: 4px;
  }

  .dashboard-action-filter-tabs button {
    min-height: 34px;
    padding-inline: 2px;
    font-size: 10px;
  }

  .settings-grid .profile-choice {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
  }

  .dashboard-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .dashboard-heading-actions {
    width: 100%;
    justify-content: stretch;
  }

  .dashboard-heading-actions > * {
    flex: 1 1 130px;
  }

  .dashboard-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .dashboard-item > a,
  .dashboard-item > .dashboard-item-actions,
  .dashboard-item > span:last-child:not(.dashboard-item-icon):not(.dashboard-action-chip) {
    grid-column: 1 / -1;
  }

  .dashboard-item > a {
    justify-self: stretch;
  }

  .dashboard-action-history-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .dashboard-action-history-item .dashboard-action-thumb {
    width: 64px;
  }

  .dashboard-action-history-item > .dashboard-action-view {
    grid-column: 3;
    align-self: end;
    justify-self: end;
    min-width: 0;
  }

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

  .profile-panel {
    width: min(calc(100% - 12px), 760px);
    bottom: 6px;
    padding-inline: 6px;
  }

  .profile-panel a[data-dashboard-tab] {
    min-height: 52px;
    font-size: 10px;
  }
}
