@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
@import url('/design/member-management.css?v=20261022');

:root {
  --admin-ink: #192b25;
  --admin-muted: #738078;
  --admin-green: #245b45;
  --admin-green-deep: #194734;
  --admin-line: #e4ebe6;
  --admin-paper: #ffffff;
  --admin-canvas: #f5f7f5;
}

.admin-login-page,
.admin-shell {
  min-height: 100vh;
  color: var(--admin-ink);
  font-family: 'DM Sans', 'Noto Sans KR', sans-serif;
}

.admin-login-page {
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background:
    radial-gradient(
      ellipse at 20% 15%,
      rgb(213 231 219 / 60%),
      transparent 35%
    ),
    linear-gradient(135deg, #f5f8f5, #eef3ef 52%, #e5eee8);
}

.admin-back-link {
  position: absolute;
  top: 28px;
  left: 32px;
  color: #52635a;
  font-size: 13px;
  text-decoration: none;
}

.admin-back-link:hover,
.admin-sidebar-bottom a:hover {
  color: var(--admin-green);
}

.admin-login-card {
  width: min(100%, 440px);
  padding: 46px 44px 36px;
  border: 1px solid rgb(226 234 228 / 90%);
  border-radius: 18px;
  background: var(--admin-paper);
  box-shadow: 0 22px 70px rgb(31 63 46 / 10%);
}

.admin-mark,
.admin-brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--admin-green);
  font-family: Georgia, serif;
  font-weight: 700;
}

.admin-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 14px;
  font-size: 27px;
}

.admin-eyebrow {
  color: #708277;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.admin-login-card h1 {
  margin: 10px 0 8px;
  font-size: 28px;
  letter-spacing: -0.045em;
}

.admin-lead {
  margin: 0 0 28px;
  color: var(--admin-muted);
  font-size: 14px;
}

.admin-setup-notice,
.admin-form-error {
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.65;
}

.admin-setup-notice {
  margin: 0 0 18px;
  color: #75521b;
  background: #fbf5e9;
}

.admin-form-error {
  margin: 0;
  color: #a12f34;
  background: #fff0ef;
}

.admin-login-form {
  display: grid;
  gap: 18px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: #34463c;
  font-size: 13px;
  font-weight: 600;
}

.admin-login-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #dce5df;
  border-radius: 9px;
  outline: none;
  color: var(--admin-ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.admin-login-form input:focus {
  border-color: #5f9577;
  box-shadow: 0 0 0 3px rgb(58 119 82 / 12%);
}

.admin-login-form input:disabled {
  background: #f4f6f4;
}

.admin-login-form button,
.admin-logout {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--admin-green);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.admin-login-form button:hover:not(:disabled) {
  background: var(--admin-green-deep);
}

.admin-login-form button:disabled,
.admin-logout:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-security-note {
  margin: 23px 0 0;
  color: #849088;
  font-size: 11px;
  text-align: center;
}

.admin-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  background: var(--admin-canvas);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 26px 18px 20px;
  border-right: 1px solid var(--admin-line);
  background: #fff;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
  color: var(--admin-ink);
  text-decoration: none;
}

.admin-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 23px;
}

.admin-brand strong,
.admin-brand small,
.admin-profile-copy strong,
.admin-profile-copy small {
  display: block;
}

.admin-brand strong {
  font-size: 13px;
}

.admin-brand small {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 11px;
}

.admin-side-label {
  padding: 10px 11px 8px;
  color: #9aa69e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.admin-side-label-spaced {
  margin-top: 20px;
}

.admin-side-link {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border-radius: 8px;
  color: #64736a;
  font-size: 12px;
  text-decoration: none;
}

.admin-side-link > span {
  width: 17px;
  color: #829087;
  font-size: 15px;
  text-align: center;
}

.admin-side-link.active {
  color: var(--admin-green-deep);
  background: #edf5ef;
  font-weight: 700;
}

.admin-side-link.active > span {
  color: var(--admin-green);
}

.admin-side-link.muted {
  color: #98a39c;
  cursor: default;
}

.admin-sidebar-bottom {
  margin-top: auto;
  padding: 17px 11px 0;
  border-top: 1px solid var(--admin-line);
}

.admin-sidebar-bottom a {
  color: #4e6256;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.admin-sidebar-bottom p {
  margin: 8px 0 0;
  color: #929d96;
  font-size: 10px;
  line-height: 1.6;
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--admin-line);
  background: #fff;
}

.admin-breadcrumb {
  color: #8c9990;
  font-size: 10px;
}

.admin-topbar h1 {
  margin: 6px 0 0;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-home-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  color: #405d4b;
  background: #fff;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.admin-home-link:hover {
  border-color: #b8cdbd;
  background: #f6faf7;
}

.admin-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--admin-green);
  background: #e9f2eb;
  font-size: 12px;
  font-weight: 700;
}

.admin-profile-copy strong {
  font-size: 11px;
}

.admin-profile-copy small {
  margin-top: 3px;
  color: #8a978e;
  font-size: 9px;
}

.admin-logout-wrap {
  display: grid;
  gap: 3px;
  margin-left: 8px;
}

.admin-logout-wrap [role='alert'] {
  max-width: 150px;
  color: #a12f34;
  font-size: 9px;
}

.admin-logout {
  min-height: 34px;
  padding: 0 12px;
  color: #53665a;
  background: #f1f4f1;
  font-size: 11px;
}

.admin-content {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 34px clamp(24px, 4vw, 56px) 56px;
}

.admin-welcome {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px 38px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(115deg, #1e4c39, #2c664b 60%, #427958);
}

.admin-welcome .admin-eyebrow {
  color: #c0d9ca;
}

.admin-welcome h2 {
  margin: 10px 0 9px;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.045em;
}

.admin-welcome p {
  max-width: 620px;
  margin: 0;
  color: #d7e5dc;
  font-size: 12px;
  line-height: 1.75;
}

.admin-welcome-mark {
  position: absolute;
  right: 35px;
  color: rgb(255 255 255 / 8%);
  font-family: Georgia, serif;
  font-size: 165px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.admin-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 17px;
}

.admin-section-heading h2 {
  margin: 5px 0 0;
  font-size: 19px;
  letter-spacing: -0.04em;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dce9df;
  border-radius: 30px;
  color: #3b6a4d;
  background: #f1f7f2;
  font-size: 10px;
  font-weight: 600;
}

.admin-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4d9a63;
}

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

.admin-module-card {
  display: block;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  color: inherit;
  background: #fff;
  box-shadow: 0 3px 10px rgb(30 55 39 / 2%);
  text-decoration: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.admin-module-card:hover {
  transform: translateY(-2px);
  border-color: #c9dbce;
  box-shadow: 0 8px 20px rgb(30 55 39 / 7%);
}

.admin-module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-module-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--admin-green);
  background: #eef5ef;
  font-size: 17px;
}

.admin-module-number {
  color: #a2ada5;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.admin-module-card h3 {
  margin: 17px 0 6px;
  font-size: 14px;
  letter-spacing: -0.025em;
}

.admin-module-card p {
  min-height: 35px;
  margin: 0;
  color: #7d8981;
  font-size: 10px;
  line-height: 1.65;
}

.admin-module-state {
  display: inline-block;
  margin-top: 11px;
  color: #8b968f;
  font-size: 9px;
}

.admin-data-notice {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid #e6e9dc;
  border-radius: 10px;
  background: #fbfbf7;
}

.admin-notice-icon {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #7b7135;
  background: #f0efd9;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
}

.admin-data-notice strong {
  color: #5b5a40;
  font-size: 11px;
}

.admin-data-notice p {
  margin: 5px 0 0;
  color: #82816b;
  font-size: 10px;
  line-height: 1.7;
}

.admin-data-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-data-heading h2 {
  margin: 6px 0 5px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.admin-data-heading p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 12px;
}

.admin-data-count {
  color: var(--admin-green);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-data-source {
  margin-bottom: 16px;
  padding: 15px 17px;
  border: 1px solid #e6e9dc;
  border-radius: 10px;
  background: #fbfbf7;
}

.admin-data-source strong {
  color: #57583f;
  font-size: 11px;
}

.admin-data-source p {
  margin: 5px 0 0;
  color: #777665;
  font-size: 10px;
  line-height: 1.7;
}

.admin-data-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
}

.admin-data-search label {
  color: #65736a;
  font-size: 11px;
  font-weight: 600;
}

.admin-data-search input {
  width: min(100%, 360px);
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid #dce5df;
  border-radius: 7px;
  outline: 0;
  font: inherit;
  font-size: 11px;
}

.admin-data-search input:focus {
  border-color: #6f9b7e;
  box-shadow: 0 0 0 3px rgb(58 119 82 / 10%);
}

.admin-data-search button,
.admin-data-search a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--admin-green);
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
}

.admin-data-search a {
  color: #58665d;
  background: #edf1ed;
}

.admin-data-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.admin-create-button,
.admin-deleted-toggle,
.admin-row-actions button,
.admin-modal-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #dce5df;
  border-radius: 7px;
  color: #385944;
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.admin-create-button {
  border-color: var(--admin-green);
  color: #fff;
  background: var(--admin-green);
}

.admin-row-actions {
  white-space: nowrap;
}

.admin-row-actions button {
  min-height: 28px;
  margin-right: 5px;
  padding: 0 9px;
}

.admin-row-actions button.danger,
.admin-modal-actions button.danger {
  border-color: #efd0ce;
  color: #a33135;
  background: #fff8f7;
}

.admin-row-deleted td {
  color: #929a94;
  background: #f6f7f6;
  text-decoration: line-through;
}

.admin-row-deleted .admin-row-actions button {
  text-decoration: none;
}

.admin-readonly-badge {
  color: #8b958f;
  font-size: 9px;
}

.admin-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 24px;
  background: rgb(15 28 20 / 54%);
}

.admin-edit-modal {
  display: grid;
  width: min(100%, 700px);
  max-height: min(90vh, 900px);
  gap: 15px;
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
}

.admin-confirm-modal {
  width: min(100%, 500px);
}

.admin-edit-modal h2 {
  margin: -8px 0 0;
  color: var(--admin-ink);
  font-size: 21px;
}

.admin-edit-modal > p {
  margin: 0;
  color: #738078;
  font-size: 11px;
  line-height: 1.7;
}

.admin-confirm-summary {
  padding: 12px;
  border-radius: 8px;
  color: #506257 !important;
  background: #f2f6f3;
}

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

.admin-edit-field {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #43564a;
  font-size: 10px;
  font-weight: 600;
}

.admin-edit-field.full {
  grid-column: 1 / -1;
}

.admin-edit-field input:not([type='checkbox']),
.admin-edit-field textarea,
.admin-edit-field select {
  width: 100%;
  min-height: 37px;
  padding: 8px 10px;
  border: 1px solid #dce5df;
  border-radius: 7px;
  outline: 0;
  color: #26382e;
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 400;
}

.admin-edit-field textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-confirm-modal .admin-edit-field textarea {
  min-height: 68px;
}

.admin-edit-field input:focus,
.admin-edit-field textarea:focus,
.admin-edit-field select:focus {
  border-color: #6f9b7e;
  box-shadow: 0 0 0 3px rgb(58 119 82 / 10%);
}

.admin-edit-field input[type='checkbox'] {
  width: 17px;
  height: 17px;
  accent-color: var(--admin-green);
}

.admin-modal-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  margin-top: 2px;
}

.admin-modal-actions button {
  min-height: 38px;
  padding: 0 15px;
  border-color: var(--admin-green);
  color: #fff;
  background: var(--admin-green);
}

.admin-modal-actions button.secondary {
  border-color: #dce5df;
  color: #56665c;
  background: #f5f7f5;
}

.admin-modal-actions button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.admin-data-table-wrap {
  overflow: auto;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #fff;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  text-align: left;
  white-space: nowrap;
}

.admin-data-table th {
  padding: 12px 13px;
  border-bottom: 1px solid var(--admin-line);
  color: #5e6f64;
  background: #f7f9f7;
  font-size: 10px;
  font-weight: 700;
}

.admin-data-table td {
  max-width: 340px;
  overflow: hidden;
  padding: 11px 13px;
  border-bottom: 1px solid #edf1ee;
  color: #405047;
  text-overflow: ellipsis;
}

.admin-data-table tr:last-child td {
  border-bottom: 0;
}

.admin-data-table tbody tr:hover td {
  background: #fbfcfb;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  color: #78857c;
  font-size: 10px;
}

.admin-pagination div {
  display: flex;
  gap: 7px;
}

.admin-pagination a {
  padding: 7px 10px;
  border: 1px solid var(--admin-line);
  border-radius: 7px;
  color: #496352;
  background: #fff;
  text-decoration: none;
}

.admin-data-readonly {
  margin: 8px 0 0;
  color: #8a958e;
  font-size: 10px;
}

@media (max-width: 1000px) {
  .admin-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }

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

@media (max-width: 700px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line);
  }

  .admin-brand {
    padding: 0;
  }

  .admin-side-label,
  .admin-side-link,
  .admin-sidebar-bottom {
    display: none;
  }

  .admin-topbar {
    min-height: 78px;
    padding: 13px 18px;
  }

  .admin-profile-copy,
  .admin-avatar {
    display: none;
  }

  .admin-profile {
    gap: 6px;
  }

  .admin-home-link {
    min-height: 32px;
    padding: 0 8px;
    font-size: 9px;
  }

  .admin-content {
    padding: 22px 16px 36px;
  }

  .admin-welcome {
    min-height: 175px;
    padding: 24px;
  }

  .admin-welcome-mark {
    right: 10px;
    font-size: 125px;
  }

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

  .admin-data-heading {
    align-items: start;
  }

  .admin-data-search {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .admin-data-search input {
    width: 100%;
    flex: 1 1 100%;
    order: 2;
  }

  .admin-data-search button,
  .admin-data-search a {
    order: 3;
  }

  .admin-edit-modal {
    padding: 21px 17px;
  }

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

  .admin-edit-field.full {
    grid-column: auto;
  }

  .admin-module-grid {
    gap: 10px;
  }

  .admin-module-card {
    min-height: 165px;
    padding: 15px;
  }

  .admin-login-card {
    padding: 36px 25px 30px;
  }

  .admin-back-link {
    top: 17px;
    left: 18px;
  }
}

@media (max-width: 420px) {
  .admin-module-grid {
    grid-template-columns: 1fr;
  }
}

/* Operations management uses the same readable administration frame. */
.admin-main,
.admin-main * {
  box-sizing: border-box;
}
.admin-main {
  color: var(--admin-ink);
  font-family: 'DM Sans', 'Noto Sans KR', sans-serif;
}
.admin-main fieldset {
  min-width: 0;
  max-width: 100%;
}
.ops-section {
  overflow-wrap: anywhere;
}
.ops-grid > * {
  min-width: 0;
}
.ops-section input:not([type='checkbox']),
.ops-section select,
.ops-section textarea {
  font-size: 14px;
  max-width: 100%;
}
.ops-section table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.ops-section h2 {
  font-size: 22px;
}
.ops-section h3 {
  font-size: 18px;
}

/* 관리자 메뉴 접근 정리 — 2026-10-22 */
.admin-menu-tree {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 0;
  scrollbar-width: thin;
}
.admin-menu-group {
  margin: 3px 0;
}
.admin-menu-group summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 10px;
  border-radius: 7px;
  color: #405b4b;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.admin-menu-group summary:after {
  content: '⌄';
  margin-left: auto;
}
.admin-menu-group summary::-webkit-details-marker {
  display: none;
}
.admin-menu-group[open] summary {
  background: #edf5ef;
}
.admin-menu-group .console-subnav {
  gap: 0;
  padding: 4px 0 8px 23px;
}
.admin-menu-group .console-subnav a {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
}
.admin-menu-group .console-subnav a:hover {
  background: #f2f6f3;
  color: #214d37;
}
.admin-sidebar-bottom {
  flex-shrink: 0;
}
.admin-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 30px;
}
.admin-task-card {
  display: grid;
  gap: 15px;
  background: #fff;
  border: 1px solid #dbe5de;
  padding: 23px;
  border-radius: 9px;
  color: #284b37;
  text-decoration: none;
}
.admin-task-card:hover {
  border-color: #6e997d;
  background: #fbfdfb;
}
.admin-task-card span {
  font-size: 13px;
  color: #697c70;
}
.admin-task-card b {
  float: right;
  color: #245d3a;
}
.admin-start h2 {
  margin-top: 0;
}
.admin-start p {
  font-size: 14px;
  color: #687b6f;
}
.admin-menu-title {
  font-size: 19px;
  margin: 32px 0 18px;
}
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.admin-overview-group {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 9px;
  overflow: hidden;
}
.admin-overview-group h3 {
  padding: 17px 20px;
  border-bottom: 1px solid #e9eee9;
  margin: 0;
  font-size: 15px;
}
.admin-overview-group h3 a {
  color: #274d36;
  text-decoration: none;
}
.admin-overview-group ul {
  list-style: none;
  padding: 8px 20px 16px;
  margin: 0;
}
.admin-overview-group li a {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13px;
  color: #566b5b;
  text-decoration: none;
}
.admin-overview-group li a:hover {
  text-decoration: underline;
}
.admin-source-details {
  margin: 15px 0;
  font-size: 12px;
  color: #728277;
}
.admin-source-details summary {
  cursor: pointer;
}
.admin-design-workspace {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.admin-design-workspace button,
.ops-section button {
  padding: 8px 14px;
  border: 1px solid #cbd9ce;
  border-radius: 6px;
  background: #f5f8f5;
  color: #325440;
  cursor: pointer;
}
.admin-design-workspace button:disabled {
  opacity: 0.5;
  cursor: default;
}
.member-table small {
  display: block;
}
.admin-row-actions a {
  display: inline-block;
  margin: 4px 8px 4px 0;
}
.admin-task-card:focus-visible,
.admin-menu-tree a:focus-visible {
  outline: 3px solid #7da88a;
  outline-offset: 2px;
}
@media (max-width: 1100px) {
  .admin-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
  .admin-menu-tree {
    overflow: visible;
  }
  .admin-sidebar {
    height: auto;
    position: static;
  }
  .admin-task-grid {
    grid-template-columns: 1fr;
  }
  .console-quicklinks {
    gap: 8px;
  }
}

/* Simple listing register: legacy six-column workflow. */
.admin-listing-table { table-layout:fixed; font-size:12px; white-space:normal; }
.admin-listing-table th { padding:12px 6px; font-size:12px; }
.admin-listing-table .listing-select { width:36px; padding-right:4px; }
.admin-listing-title { color:#234f37; font-weight:600; text-decoration:none; }
.admin-listing-title:hover { text-decoration:underline; }
.admin-listing-title:focus-visible { outline:2px solid #508762; outline-offset:3px; }
.admin-listing-table td { padding:10px 6px; overflow-wrap:anywhere; word-break:keep-all; }
.admin-listing-table td:has(.admin-listing-title) { min-width:0; white-space:normal; line-height:1.65; }
.admin-bulk-actions { display:flex; align-items:center; gap:12px; margin:10px 0; font-size:13px; }
.admin-bulk-actions button { border:1px solid #cad8ce; padding:7px 10px; background:#fff; border-radius:5px; cursor:pointer; }
.admin-listing-preview { max-width:1000px; margin:30px auto; padding:26px; background:white; border:1px solid #dde7df; border-radius:12px; }
.admin-preview-notice { padding:14px; background:#f4f7ed; color:#4b5e36; line-height:1.8; }
.admin-preview-summary,.admin-preview-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:#e5ebe6; padding:1px; }
.admin-preview-summary>div,.admin-preview-fields>div { display:flex; gap:14px; background:white; padding:12px; }
.admin-listing-preview dt { min-width:95px; font-weight:600; }
.admin-listing-preview dd { margin:0; overflow-wrap:anywhere; }
.admin-preview-description { white-space:pre-wrap; line-height:1.9; }
.admin-preview-photos img { max-width:100%; height:auto; margin:10px 0; display:block; }
@media(max-width:650px){.admin-preview-summary,.admin-preview-fields{grid-template-columns:1fr}.admin-listing-preview{margin:12px;padding:16px}}

.admin-modal-backdrop>dialog.admin-modal { position:relative; margin:0; border:0; }

/* Keep the six main fields visible in a narrow administrator window. */
.admin-listing-table:has(.listing-select) th:nth-child(1) { width:4%; }
.admin-listing-table:has(.listing-select) th:nth-child(2) { width:19%; }
.admin-listing-table:has(.listing-select) th:nth-child(3) { width:17%; }
.admin-listing-table:has(.listing-select) th:nth-child(4) { width:24%; }
.admin-listing-table:has(.listing-select) th:nth-child(5) { width:17%; }
.admin-listing-table:has(.listing-select) th:nth-child(6) { width:7%; }
.admin-listing-table:has(.listing-select) th:nth-child(7) { width:12%; }
.admin-listing-table .admin-row-actions { white-space:normal; }
.admin-listing-table .admin-row-actions button { margin:2px; }

/* Actual admin home: the two daily management lists. */
.admin-primary-menu{display:grid;gap:10px;margin-top:20px}
.admin-primary-menu>a{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 15px;border:1px solid #dfe8e1;border-radius:8px;color:var(--admin-green);background:#f7faf7;font-size:14px;font-weight:600;text-decoration:none}
.admin-primary-menu>a>span:last-child{margin-left:auto}
.admin-primary-menu>a:is(:hover,.active){background:#eaf2ec;border-color:#b8cdbd}
.admin-primary-menu>a:focus-visible{outline:3px solid #80aa8e;outline-offset:2px}
.admin-home-content{display:grid;gap:22px;padding-top:22px}
.admin-home-panel{min-width:0;border:1px solid var(--admin-line);border-radius:10px;background:#fff;overflow:hidden;scroll-margin-top:18px}
.admin-home-panel-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:17px 20px;border-bottom:1px solid var(--admin-line)}
.admin-home-panel-head>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px}
.admin-home-panel-head h2{margin:0;font-size:18px;letter-spacing:-.4px}
.admin-home-panel-head span{color:var(--admin-muted);font-size:12px}
.admin-home-panel-head>a{font-size:12px;color:var(--admin-green);text-decoration:none}
.admin-home-source-note{margin:10px 18px 0;color:#68796d;font-size:11px;line-height:1.5}
.admin-home-listings>.admin-data-search{margin:12px 18px 8px;gap:8px;flex-wrap:wrap}
.admin-home-listings>.admin-data-search label{font-size:11px}
.admin-home-listings>.admin-data-search input[type=date]{min-width:134px;width:auto;padding:7px 8px;border:1px solid #dbe5dd;border-radius:5px;background:#fff;font:inherit;font-size:12px}
.admin-home-listings>.admin-data-search input[type=search]{min-width:140px;max-width:240px}
.admin-home-listings>.admin-data-search a{font-size:11px;color:var(--admin-green);white-space:nowrap}
.admin-home-listings>.admin-data-actions{margin:8px 18px 10px}
.admin-home-listings>.admin-data-table-wrap{max-height:350px;overflow:auto;margin:0;border:0;border-radius:0}
.admin-home-listings .admin-listing-table{min-width:900px}
.admin-home-panel .admin-data-table th{position:sticky;top:0;z-index:1;background:#f7faf7}
.admin-home-panel .admin-data-table td{padding-top:10px;padding-bottom:10px;font-size:12px}
.admin-home-panel .admin-row-actions{white-space:nowrap}
.admin-home-panel .admin-listing-view{display:inline-block;padding:5px 7px;border:1px solid #c5d6c9;border-radius:4px;color:var(--admin-green);font-size:11px;text-decoration:none}
.admin-home-panel>.admin-pagination{padding:12px 18px;margin:0;border-top:1px solid var(--admin-line)}
.admin-home-members>.member-management{padding:0;margin:0;border:0;border-radius:0;box-shadow:none}
.admin-home-members>.member-management>.admin-data-table-wrap{max-height:270px;overflow:auto;margin:0;border:0;border-radius:0}
.admin-home-member-table{min-width:720px}
.admin-home-member-table td:first-child,.admin-home-member-table td:nth-child(4){font-variant-numeric:tabular-nums;white-space:nowrap}
.admin-home-member-table small{display:block;margin-top:3px;color:var(--admin-muted);font-size:11px}
.admin-home-members .member-review,.admin-home-members .member-details{margin:14px 18px}
.admin-home-members .member-management>.member-error,.admin-home-members .member-management>.member-success{margin:10px 18px}
@media(max-width:700px){.admin-home-content{gap:16px}.admin-home-panel-head{padding:14px}.admin-home-panel-head>div{gap:6px}.admin-home-panel-head h2{font-size:16px}.admin-home-panel-head span{font-size:11px}.admin-home-listings>.admin-data-search{margin:10px 12px}.admin-home-listings>.admin-data-search input[type=search]{max-width:100%;flex:1}.admin-home-listings>.admin-data-table-wrap{max-height:320px}.admin-home-members>.member-management>.admin-data-table-wrap{max-height:260px}}

/* Keep all four home-row actions inside their column. */
.admin-home-listings .admin-listing-table{min-width:940px}
.admin-home-listings .admin-listing-table th:last-child{width:245px}
.admin-home-listings .admin-listing-table th:nth-last-child(2){width:45px}
.admin-home-listings .admin-listing-table th:nth-last-child(3){width:145px}
.admin-home-listings .admin-listing-table th:nth-last-child(4){width:150px}
.admin-home-listings .admin-listing-table th:nth-last-child(5){width:150px}
.admin-home-listings .admin-listing-table th:nth-last-child(6){width:125px}
.admin-home-listings .admin-listing-table .listing-select{width:32px}
.admin-home-listings .admin-row-actions a{margin:0 5px 0 0}
