/* ================================================================
   고양특례시 호남향우회 — PC 관리자센터 전용 CSS (admin.css)
   · 이 파일은 public/admin.html에서만 사용합니다.
   · 기존 style.css / 모바일 앱 스타일에 영향을 주지 않습니다.
   · 모든 선택자는 .ac- 또는 #ac- 접두어를 사용합니다.
================================================================ */

/* ── 리셋 및 기본 설정 ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Noto Sans KR', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;           /* 본문 최소 16px */
  line-height: 1.6;
  color: #1a1a2e;
  background: #f4f6fb;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* ── 전체화면 오버레이 (로딩·차단 화면) ────────────────────── */
.ac-fullscreen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6fb;
  z-index: 9000;
}

.ac-fullscreen[hidden] {
  display: none;
}

/* 로딩 박스 */
.ac-loading-box {
  text-align: center;
  color: #5a6a8a;
  font-size: 18px;
}

.ac-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid #dde3f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: ac-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes ac-spin {
  to { transform: rotate(360deg); }
}

/* 접근 차단 박스 */
.ac-denied-box {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  max-width: 480px;
  width: 90%;
}

.ac-denied-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.ac-denied-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.ac-denied-msg {
  font-size: 16px;
  color: #5a6a8a;
  margin-bottom: 28px;
  line-height: 1.7;
}

.ac-denied-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 전체 레이아웃 ───────────────────────────────────────────── */
.ac-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.ac-layout[hidden] {
  display: none;
}

/* ── 좌측 사이드바 ──────────────────────────────────────────── */
.ac-sidebar {
  width: 260px;
  min-width: 260px;
  background: #1e2a4a;
  color: #c8d3ec;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  transition: transform 0.25s ease, width 0.25s ease;
  z-index: 200;
}

.ac-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ac-sidebar-logo {
  font-size: 32px;
  flex-shrink: 0;
}

.ac-sidebar-title-main {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.ac-sidebar-title-sub {
  display: block;
  font-size: 12px;
  color: #8fa3c8;
  margin-top: 2px;
}

/* 네비게이션 */
.ac-nav {
  flex: 1;
  padding: 12px 0;
}

.ac-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 10px;
}

.ac-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #b0c0de;
  transition: background 0.15s, color 0.15s;
  min-height: 48px;    /* 클릭 영역 최소 48px */
  position: relative;
}

.ac-nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.ac-nav-item.ac-active {
  background: #2563eb;
  color: #fff;
}

.ac-nav-item.ac-active .ac-nav-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.ac-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ac-nav-group-toggle {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #b0c0de;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.ac-nav-group-toggle:hover,
.ac-nav-group.is-open > .ac-nav-group-toggle {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.ac-nav-caret {
  font-size: 12px;
  transition: transform 0.15s;
}

.ac-nav-group.is-open .ac-nav-caret {
  transform: rotate(180deg);
}

.ac-nav-sublist {
  display: none;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0 0 4px 34px;
  list-style: none;
}

.ac-nav-group.is-open .ac-nav-sublist {
  display: flex;
}

.ac-nav-subitem {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 14px;
}

.ac-nav-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.ac-marketplace-room-filter {
  align-items: stretch;
}

.ac-marketplace-room-list {
  margin-top: 14px;
}

.ac-marketplace-room-detail {
  margin-top: 16px;
}

.ac-marketplace-room-table td {
  vertical-align: middle;
}

.ac-marketplace-room-main {
  min-width: 220px;
  max-width: 360px;
}

.ac-marketplace-room-main strong,
.ac-marketplace-room-main small {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.ac-marketplace-room-main small {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.ac-marketplace-room-modal {
  max-width: 860px;
}

.ac-marketplace-room-image {
  width: 100%;
  max-height: 280px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.ac-marketplace-room-image img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

.ac-marketplace-hidden-note {
  margin-top: 14px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  padding: 12px;
  color: #7c2d12;
}

.ac-marketplace-hidden-note p {
  margin: 6px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ac-marketplace-room-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ac-marketplace-hide-panel {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  padding: 12px;
}

.ac-marketplace-hide-panel[hidden] {
  display: none;
}

.ac-marketplace-hide-panel label {
  font-weight: 800;
  color: #7f1d1d;
}

.ac-marketplace-hide-panel textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
}

@media (max-width: 760px) {
  .ac-marketplace-room-filter .ac-filter-input,
  .ac-marketplace-room-filter .ac-filter-select,
  .ac-marketplace-room-filter .ac-btn {
    width: 100%;
    min-width: 0;
  }
  .ac-marketplace-room-modal {
    max-width: calc(100vw - 24px);
  }
  .ac-marketplace-room-actions .ac-btn {
    flex: 1 1 120px;
  }
}

/* Annual business and budget plan */
.ac-meeting-handout-modal.ac-annual-plan-modal {
  width: min(1740px, calc(100vw - 16px));
  max-height: calc(100vh - 16px);
}

.ac-annual-plan-form {
  background:
    radial-gradient(circle at 100% 0, rgba(197, 157, 61, .08), transparent 28rem),
    #f7f9fc;
}

.ac-meeting-handout-form.ac-annual-plan-form > section {
  margin-right: 14px;
  margin-left: 14px;
  padding-right: 16px;
  padding-left: 16px;
}

.ac-annual-table-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  border: 1px solid #dbe3ea;
  border-radius: 14px;
  background: #fff;
}

.ac-annual-edit-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.ac-annual-edit-table th {
  padding: 12px 9px;
  border-bottom: 1px solid #cfd9e2;
  background: #123f39;
  color: #fff;
  font-size: 13px;
  letter-spacing: -.02em;
}

.ac-annual-edit-table td {
  padding: 7px;
  border-right: 1px solid #e6ebef;
  border-bottom: 1px solid #e6ebef;
  vertical-align: top;
}

.ac-annual-edit-table tr:last-child td {
  border-bottom: 0;
}

.ac-annual-edit-table th:nth-child(1) { width: 7.5%; }
.ac-annual-edit-table th:nth-child(2) { width: 14%; }
.ac-annual-edit-table th:nth-child(3) { width: 31%; }
.ac-annual-edit-table th:nth-child(4),
.ac-annual-edit-table th:nth-child(5) { width: 11%; }
.ac-annual-edit-table th:nth-child(6) { width: 13%; }
.ac-annual-edit-table th:last-child { width: 42px; }

.ac-annual-budget-table th:nth-child(1) { width: 15%; }
.ac-annual-budget-table th:nth-child(2) { width: 28%; }
.ac-annual-budget-table th:nth-child(3) { width: 12%; }
.ac-annual-budget-table th:nth-child(4) { width: 8%; }
.ac-annual-budget-table th:nth-child(5) { width: 13%; }
.ac-annual-budget-table th:nth-child(6) { width: 18%; }
.ac-annual-budget-table th:last-child { width: 42px; }

.ac-annual-edit-table input,
.ac-annual-edit-table textarea {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f6f8fa;
  color: #17232e;
  font: inherit;
  line-height: 1.45;
  padding: 9px 10px;
  resize: vertical;
}

.ac-annual-edit-table input:focus,
.ac-annual-edit-table textarea:focus {
  outline: none;
  border-color: #2d7a6b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 122, 107, .12);
}

.ac-annual-edit-table output {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  color: #0d4c91;
  font-weight: 800;
}

.ac-annual-row-remove {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: #fff0f0;
  color: #c83a42;
  font-size: 20px;
  cursor: pointer;
}

.ac-annual-total-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ac-annual-total-grid article {
  display: grid;
  gap: 8px;
  min-height: 92px;
  align-content: center;
  padding: 18px;
  border: 1px solid #dce4ea;
  border-radius: 15px;
  background: #fff;
}

.ac-annual-total-grid span {
  color: #61707e;
  font-size: 13px;
  font-weight: 700;
}

.ac-annual-total-grid strong {
  color: #17334a;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.04em;
}

.ac-annual-total-grid .is-income strong,
.ac-annual-total-grid .is-surplus strong {
  color: #0d4c91;
}

.ac-annual-total-grid .is-expense strong,
.ac-annual-total-grid .is-deficit strong {
  color: #c8323d;
}

.ac-annual-draft-note {
  margin: 0 18px 12px;
  padding: 12px 15px;
  border: 1px solid #ecdcae;
  border-radius: 12px;
  background: #fff9e8;
  color: #6d571c;
  font-size: 13px;
}

.ac-annual-print-root {
  color: #17232e;
  background: #fff;
}

.ac-annual-plan-page {
  position: relative;
  width: 210mm;
  min-height: 296mm;
  box-sizing: border-box;
  overflow: hidden;
  padding: 17mm 15mm 15mm;
  background: #fff;
}

.ac-annual-plan-page > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4mm;
  border-bottom: 1px solid #b9c8c5;
  color: #50625f;
  font-size: 9pt;
}

.ac-annual-plan-page > header strong {
  color: #123f39;
  font-size: 10pt;
}

.ac-annual-plan-page > main {
  padding-top: 8mm;
}

.ac-annual-plan-page > footer {
  position: absolute;
  right: 15mm;
  bottom: 8mm;
  left: 15mm;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #d7dfdd;
  padding-top: 3mm;
  color: #6a7775;
  font-size: 8pt;
}

.ac-annual-cover {
  display: grid;
  min-height: 230mm;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.ac-annual-cover > span {
  color: #aa8128;
  font-size: 10pt;
  font-weight: 800;
  letter-spacing: .18em;
}

.ac-annual-cover h1 {
  max-width: 160mm;
  margin: 8mm 0 3mm;
  color: #123f39;
  font-size: 29pt;
  line-height: 1.3;
  letter-spacing: -.05em;
}

.ac-annual-cover > p {
  margin: 0 0 15mm;
  color: #52615f;
  font-size: 14pt;
}

.ac-annual-cover dl {
  display: grid;
  width: 128mm;
  margin: 0;
  border-top: 2px solid #123f39;
  border-bottom: 2px solid #123f39;
}

.ac-annual-cover dl div {
  display: grid;
  grid-template-columns: 34mm 1fr;
  border-bottom: 1px solid #d3dcda;
  text-align: left;
}

.ac-annual-cover dl div:last-child {
  border-bottom: 0;
}

.ac-annual-cover dt,
.ac-annual-cover dd {
  margin: 0;
  padding: 4mm;
  font-size: 10pt;
}

.ac-annual-cover dt {
  background: #edf3f1;
  color: #123f39;
  font-weight: 800;
}

.ac-annual-cover h2 {
  margin-top: 18mm;
  color: #123f39;
  font-size: 16pt;
}

.ac-annual-print-section {
  margin-bottom: 8mm;
}

.ac-annual-print-section h2 {
  margin: 0 0 4mm;
  padding-left: 3mm;
  border-left: 4px solid #c59d3d;
  color: #123f39;
  font-size: 15pt;
}

.ac-annual-print-section p,
.ac-annual-print-section li {
  color: #33423f;
  font-size: 10pt;
  line-height: 1.75;
}

.ac-annual-print-section ul {
  margin: 0;
  padding-left: 7mm;
}

.ac-annual-print-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4mm;
  margin: 8mm 0;
}

.ac-annual-print-summary article {
  display: grid;
  gap: 2mm;
  padding: 5mm;
  border: 1px solid #d3dfdc;
  border-radius: 3mm;
  background: #f5f8f7;
}

.ac-annual-print-summary span {
  color: #5e6b69;
  font-size: 8.5pt;
  font-weight: 700;
}

.ac-annual-print-summary strong {
  color: #123f39;
  font-size: 15pt;
}

.ac-annual-print-summary .is-income strong {
  color: #0d4c91;
}

.ac-annual-print-summary .is-expense strong {
  color: #c8323d;
}

.ac-annual-print-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 8.2pt;
}

.ac-annual-print-table th,
.ac-annual-print-table td {
  border: 1px solid #aebbb8;
  padding: 2.5mm 2mm;
  color: #24332f;
  line-height: 1.4;
  word-break: keep-all;
}

.ac-annual-print-table thead th {
  background: #123f39;
  color: #fff;
  font-weight: 800;
}

.ac-annual-print-table tbody td:first-child {
  width: 8mm;
  text-align: center;
}

.ac-annual-print-table .is-money,
.ac-annual-print-table .is-number,
.ac-annual-print-table .is-income,
.ac-annual-print-table .is-expense {
  text-align: right;
  white-space: nowrap;
}

.ac-annual-print-table .is-income {
  color: #0d4c91;
  font-weight: 800;
}

.ac-annual-print-table .is-expense {
  color: #c8323d;
  font-weight: 800;
}

.ac-annual-print-table tfoot th {
  background: #edf3f1;
  color: #123f39;
  font-size: 10pt;
  text-align: right;
}

.ac-annual-final-summary {
  grid-template-columns: repeat(3, 1fr);
}

.ac-annual-signature {
  margin-top: 15mm;
  padding-top: 8mm;
  border-top: 1px solid #aebbb8;
  text-align: center;
}

.ac-annual-signature p {
  font-size: 11pt;
}

.ac-annual-signature div {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  gap: 4mm;
  align-items: end;
  margin-top: 14mm;
  font-size: 10pt;
}

.ac-handout-summary-line {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12mm;
  margin-top: 5mm;
  padding: 4mm 5mm;
  border: 1px solid #ccd8d5;
  border-radius: 3mm;
  background: #f4f8f7;
  color: #123f39;
  font-size: 10pt;
  font-weight: 800;
}

.ac-handout-summary-line strong {
  font-size: 13pt;
}

.ac-handout-summary-line .is-income {
  color: #0d4c91;
}

.ac-handout-summary-line .is-expense {
  color: #c8323d;
}

.ac-slide-preview-metric.is-blue strong,
.ac-slide-preview .is-income {
  color: #3975c6;
}

.ac-slide-preview .is-expense {
  color: #c95353;
}

@media (max-width: 900px) {
  .ac-annual-total-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── 광고 캠페인 관리 ───────────────────────────────────── */
.ac-ads-page {
  display: grid;
  gap: 18px;
}

.ac-ads-header {
  padding: 24px 28px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(135deg, #163b30 0%, #23634d 54%, #d4962d 130%);
  box-shadow: 0 16px 34px rgba(21, 74, 56, .18);
}

.ac-ads-header h2,
.ac-ads-header p,
.ac-ads-header .ac-eyebrow {
  color: inherit;
}

.ac-ads-header .ac-btn-primary {
  border-color: rgba(255,255,255,.8);
  background: #fff;
  color: #174b39;
  box-shadow: 0 8px 20px rgba(10, 38, 29, .16);
}

.ac-ads-tabs {
  display: inline-flex;
  width: fit-content;
  padding: 5px;
  border: 1px solid #dfe7e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 52, 43, .06);
}

.ac-ads-tabs button {
  min-width: 130px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5e6f69;
  font-weight: 800;
}

.ac-ads-tabs button.active {
  background: #1f5d47;
  color: #fff;
}

.ac-ads-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ac-ad-stat {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 21px;
  border: 1px solid #e4e9ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(33, 51, 68, .07);
}

.ac-ad-stat::after {
  position: absolute;
  width: 86px;
  height: 86px;
  right: -28px;
  bottom: -32px;
  border-radius: 50%;
  background: #e9eef3;
  content: '';
}

.ac-ad-stat.is-green::after { background: #dff2e9; }
.ac-ad-stat.is-amber::after { background: #fff0d2; }
.ac-ad-stat.is-blue::after { background: #e0ecff; }

.ac-ad-stat span,
.ac-ad-stat strong,
.ac-ad-stat small {
  position: relative;
  z-index: 1;
  display: block;
}

.ac-ad-stat span {
  color: #6d7a75;
  font-size: 13px;
  font-weight: 800;
}

.ac-ad-stat strong {
  margin: 5px 0 2px;
  color: #1d342c;
  font-size: 27px;
  letter-spacing: -.6px;
}

.ac-ad-stat small {
  color: #87928e;
  font-size: 12px;
}

.ac-ads-filter-card,
.ac-ads-table-card {
  margin-bottom: 18px;
}

.ac-ads-table {
  min-width: 1100px;
}

.ac-ad-title-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.ac-ad-title-cell img,
.ac-ad-image-empty {
  flex: 0 0 62px;
  width: 62px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  background: #edf4f0;
}

.ac-ad-image-empty {
  display: grid;
  place-items: center;
  color: #5c8173;
  font-size: 19px;
}

.ac-ad-title-cell strong,
.ac-ad-title-cell small,
.ac-ads-table td > strong,
.ac-ads-table td > small {
  display: block;
}

.ac-ad-title-cell small,
.ac-ads-table td > small {
  margin-top: 3px;
  color: #7c8984;
  font-size: 12px;
}

.ac-ad-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 260px;
}

.ac-ad-slot-list span {
  padding: 4px 8px;
  border: 1px solid #dce7e2;
  border-radius: 999px;
  background: #f4f8f6;
  color: #315c4c;
  font-size: 11px;
  font-weight: 800;
}

.ac-ad-status,
.ac-ad-payment {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.ac-ad-status {
  background: #edf1f4;
  color: #52606a;
}

.ac-ad-status.is-active,
.ac-ad-status.is-scheduled {
  background: #def2e8;
  color: #176344;
}

.ac-ad-status.is-received,
.ac-ad-status.is-reviewing {
  background: #e4efff;
  color: #275da9;
}

.ac-ad-status.is-payment_pending,
.ac-ad-status.is-paused {
  background: #fff1d6;
  color: #97610b;
}

.ac-ad-status.is-rejected,
.ac-ad-status.is-cancelled,
.ac-ad-status.is-refunded {
  background: #ffe5e5;
  color: #b33c3c;
}

.ac-ad-payment {
  margin-left: 4px;
  background: #f0f2f4;
  color: #66717a;
}

.ac-ad-payment.is-paid,
.ac-ad-payment.is-waived {
  background: #e6f4ef;
  color: #1d6c52;
}

.ac-ad-payment.is-unpaid {
  background: #fff0d2;
  color: #95610f;
}

.ac-ads-pricing-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 18px;
  border-left: 5px solid #d49a34;
}

.ac-ads-pricing-intro h3 {
  margin: 2px 0 5px;
  color: #1d392f;
  font-size: 22px;
}

.ac-ads-pricing-intro > span {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff5df;
  color: #8c6219;
  font-weight: 900;
}

.ac-ads-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ac-ad-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px auto auto;
  align-items: center;
  gap: 14px;
  padding: 20px;
}

.ac-ad-price-card.is-disabled {
  opacity: .58;
}

.ac-ad-price-card > div span {
  color: #213a31;
  font-weight: 900;
}

.ac-ad-price-card > div p {
  margin-top: 3px;
  color: #7a8883;
  font-size: 12px;
}

.ac-ad-price-card > label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ac-ad-price-card > label small {
  white-space: nowrap;
}

.ac-ad-price-active {
  font-size: 13px;
  font-weight: 800;
}

.ac-ad-price-card > small {
  grid-column: 1 / -1;
  color: #7a5b19;
  font-size: 12px;
}

.ac-admin-create-field input[readonly],
.ac-admin-create-field select:disabled {
  background: #f1f4f3;
  color: #52645e;
}

.ac-ad-editor-overlay {
  padding: 24px;
}

.ac-ad-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  overflow: auto;
  background: rgba(12, 27, 22, .62);
  backdrop-filter: blur(4px);
}

.ac-ad-confirm-dialog {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px 18px;
  width: min(520px, calc(100vw - 48px));
  margin: auto;
  padding: 26px;
  border: 1px solid #d7e2dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(7, 25, 18, .34);
  animation: ac-modal-in .18s ease-out;
}

.ac-ad-confirm-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e9f5ef;
  color: #17634a;
  font-size: 22px;
}

.ac-ad-confirm-dialog .ac-eyebrow { margin: 1px 0 5px; }

.ac-ad-confirm-dialog h2 {
  margin: 0;
  color: #173b2e;
  font-size: 23px;
}

.ac-ad-confirm-description {
  grid-column: 1 / -1;
  margin: 0;
  color: #405a50;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.ac-ad-confirm-amounts {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #dce7e1;
  border-radius: 14px;
  background: #f7faf8;
}

.ac-ad-confirm-amounts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 15px;
  border-bottom: 1px solid #e3ebe7;
}

.ac-ad-confirm-amounts > div:last-child { border-bottom: 0; }
.ac-ad-confirm-amounts dt { color: #64756e; font-size: 13px; font-weight: 800; }
.ac-ad-confirm-amounts dd { margin: 0; color: #173e30; font-weight: 900; }

.ac-ad-confirm-warning {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff6e5;
  color: #8a5b12;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.ac-ad-confirm-warning i { margin-top: 3px; }

.ac-ad-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.ac-ad-confirm-actions .ac-btn { min-height: 44px; }

.ac-ad-editor {
  width: min(1260px, 96vw);
  max-width: none;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid #d7e2dc;
  border-radius: 22px;
  background: #f3f7f5;
  box-shadow: 0 28px 80px rgba(14, 35, 27, .28);
}

.ac-ad-editor .ac-admin-create-body {
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
}

.ac-ad-editor-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #e1e8e4;
  background: linear-gradient(135deg, #f7fbf9, #fffaf0);
}

.ac-ad-editor-head h2 {
  color: #193a2e;
  font-size: 25px;
}

.ac-ad-editor-head p:not(.ac-eyebrow) {
  margin-top: 4px;
  color: #75817d;
  font-size: 13px;
}

.ac-ad-editor-head .ac-modal-close {
  border: 1px solid #cbd9d2;
  background: #e9f1ed;
  color: #264d3e;
  font-size: 20px;
  font-weight: 800;
}

.ac-ad-editor-head .ac-modal-close:hover {
  border-color: #efb4b4;
  background: #fee2e2;
  color: #b42323;
}

.ac-ad-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  padding: 24px 28px 12px;
}

.ac-ad-editor-fields {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.ac-ad-editor .ac-admin-create-section {
  margin: 0;
  padding: 20px;
  border: 1px solid #e2e8e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(28, 54, 45, .05);
}

.ac-ad-editor .ac-admin-create-section h3 {
  margin-bottom: 15px;
  color: #22483a;
}

.ac-section-help {
  margin: -8px 0 14px;
  color: #7c8984;
  font-size: 12px;
}

.ac-ad-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ac-ad-slot-grid article {
  padding: 12px 13px;
  border: 1px solid #dfe8e4;
  border-radius: 12px;
  background: #f8fbfa;
}

.ac-ad-slot-grid article strong {
  display: block;
  margin-bottom: 8px;
  color: #2b5143;
  font-size: 13px;
}

.ac-ad-slot-grid article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ac-ad-slot-grid label,
.ac-ad-active-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #536660;
  font-size: 12px;
  font-weight: 700;
}

.ac-ad-popup-frequency {
  max-width: 260px;
  margin-top: 12px;
}

.ac-ad-price-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  margin-top: 14px;
  border-radius: 12px;
  background: #eef7f2;
  color: #285542;
}

.ac-ad-price-summary span {
  color: #a36e17;
  font-weight: 900;
}

.ac-ad-live-preview {
  position: sticky;
  top: 112px;
  align-self: start;
}

.ac-ad-live-preview > span {
  display: block;
  margin-bottom: 9px;
  color: #687872;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .08em;
}

.ac-ad-phone {
  width: 286px;
  min-height: 490px;
  padding: 15px 13px 24px;
  margin: 0 auto;
  border: 9px solid #1f2926;
  border-radius: 34px;
  background: #f3f6f4;
  box-shadow: 0 18px 38px rgba(21, 40, 34, .2);
}

.ac-ad-phone-bar {
  width: 76px;
  height: 5px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: #2b3632;
}

.ac-ad-phone article {
  overflow: hidden;
  padding: 12px;
  border: 1px solid #dde6e2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 17px rgba(31, 58, 48, .09);
}

.ac-ad-phone article em {
  display: inline-flex;
  padding: 3px 7px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: #fff3d8;
  color: #8b6118;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.ac-ad-phone article [data-ad-preview-image] {
  overflow: hidden;
  aspect-ratio: 3 / 1;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #e7eeea;
}

.ac-ad-phone article [data-ad-preview-image] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-ad-phone article strong,
.ac-ad-phone article p {
  display: block;
  overflow: hidden;
}

.ac-ad-phone article strong {
  color: #233a32;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ac-ad-phone article p {
  display: -webkit-box;
  margin: 5px 0 12px;
  color: #74817c;
  font-size: 11px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.ac-ad-phone article button {
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 9px;
  background: #1f5d47;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.ac-ad-editor-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 13px;
}

.ac-ad-editor-metrics div {
  padding: 10px 6px;
  border: 1px solid #e0e7e4;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.ac-ad-editor-metrics span,
.ac-ad-editor-metrics strong {
  display: block;
}

.ac-ad-editor-metrics span {
  color: #7f8b87;
  font-size: 10px;
}

.ac-ad-editor-metrics strong {
  color: #285644;
  font-size: 15px;
}

.ac-ad-editor .ac-admin-create-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 17px 28px;
  border-top: 1px solid #e1e8e4;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
}

@media (max-width: 1180px) {
  .ac-ads-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-ads-pricing-grid {
    grid-template-columns: 1fr;
  }

  .ac-ad-editor-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .ac-ad-phone {
    width: 250px;
  }
}

@media (max-width: 900px) {
  .ac-ad-editor-layout {
    grid-template-columns: 1fr;
  }

  .ac-ad-live-preview {
    position: static;
  }

  .ac-ad-phone {
    width: min(300px, 100%);
    min-height: 400px;
  }

  .ac-ad-price-card {
    grid-template-columns: 1fr 150px auto;
  }

  .ac-ad-price-card > button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ac-ads-summary {
    grid-template-columns: 1fr;
  }

  .ac-ads-header,
  .ac-ads-pricing-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .ac-ads-tabs,
  .ac-ads-tabs button {
    width: 100%;
  }

  .ac-ad-slot-grid {
    grid-template-columns: 1fr;
  }

  .ac-ad-price-card {
    grid-template-columns: 1fr;
  }

  .ac-ad-editor-overlay {
    padding: 0;
  }

  .ac-ad-confirm-overlay { padding: 14px; }

  .ac-ad-confirm-dialog {
    grid-template-columns: 44px minmax(0, 1fr);
    width: min(100%, 520px);
    padding: 20px;
    border-radius: 17px;
  }

  .ac-ad-confirm-icon { width: 44px; height: 44px; border-radius: 13px; }
  .ac-ad-confirm-dialog h2 { font-size: 20px; }
  .ac-ad-confirm-actions { flex-direction: column-reverse; }
  .ac-ad-confirm-actions .ac-btn { width: 100%; }

  .ac-ad-editor {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .ac-ad-editor .ac-admin-create-body {
    max-height: 100vh;
  }
}

.ac-nav-label {
  flex: 1;
}

.ac-nav-badge {
  font-size: 11px;
  background: rgba(255,255,255,0.12);
  color: #8fa3c8;
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* 사이드바 하단 버튼 */
.ac-sidebar-footer {
  padding: 16px 12px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.ac-btn-goapp {
  background: rgba(255,255,255,0.08);
  color: #b0c0de;
}

.ac-btn-goapp:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.ac-btn-logout {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
}

.ac-btn-logout:hover {
  background: rgba(239,68,68,0.30);
  color: #fff;
}

/* ── 우측 메인 영역 ─────────────────────────────────────────── */
.ac-main-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ── 상단 헤더 ──────────────────────────────────────────────── */
.ac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 0 28px;
  height: 68px;
  min-height: 68px;
  border-bottom: 1px solid #e5eaf3;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.ac-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ac-header-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  white-space: nowrap;
}

.ac-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ac-header-user {
  font-size: 15px;
  color: #5a6a8a;
  font-weight: 600;
  white-space: nowrap;
}

/* 햄버거 버튼 (소형 PC 대응) */
.ac-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #1a1a2e;
  min-height: 44px;
  min-width: 44px;
  border-radius: 8px;
  transition: background 0.15s;
}

.ac-hamburger:hover {
  background: #f0f3fb;
}

/* ── 오류 안내 바 ───────────────────────────────────────────── */
.ac-error-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fef2f2;
  color: #b91c1c;
  border-bottom: 1px solid #fecaca;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.ac-error-bar[hidden] {
  display: none;
}

.ac-error-close {
  background: none;
  border: none;
  color: #b91c1c;
  font-size: 18px;
  min-height: 32px;
  min-width: 32px;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.ac-error-close:hover {
  background: #fecaca;
}

/* ── 콘텐츠 영역 ────────────────────────────────────────────── */
.ac-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px 36px;
}

/* ── 공통 버튼 ──────────────────────────────────────────────── */
.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;    /* 접근성: 최소 44px */
  padding: 0 20px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.ac-btn-lg {
  min-height: 52px;
  padding: 0 32px;
  font-size: 17px;
  border-radius: 12px;
}

.ac-btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 8px;
}

.ac-btn-xs {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 8px;
}

.ac-btn-primary {
  background: #2563eb;
  color: #fff;
}

.ac-btn-primary:hover {
  background: #1d4ed8;
}

.ac-btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.ac-btn-outline:hover {
  background: #eff6ff;
}

.ac-btn-danger {
  background: #ef4444;
  color: #fff;
}

.ac-btn-danger:hover {
  background: #dc2626;
}

.ac-btn:disabled,
.ac-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── 대시보드 ───────────────────────────────────────────────── */
.ac-dashboard {}

.ac-dashboard-head {
  margin-bottom: 28px;
}

.ac-dashboard-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.ac-dashboard-head p {
  font-size: 15px;
  color: #5a6a8a;
}

/* 요약 카드 그리드 */
.ac-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.ac-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 5px solid transparent;
}

.ac-stat-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.ac-stat-card-icon {
  font-size: 28px;
}

.ac-stat-card-label {
  font-size: 14px;
  color: #6b7a99;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ac-stat-card-value {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
}

.ac-stat-card-unit {
  font-size: 16px;
  font-weight: 600;
  color: #8fa3c8;
  margin-left: 2px;
}

/* 카드 색상 테마 */
.ac-stat-card.blue   { border-left-color: #2563eb; }
.ac-stat-card.green  { border-left-color: #16a34a; }
.ac-stat-card.amber  { border-left-color: #d97706; }
.ac-stat-card.purple { border-left-color: #7c3aed; }
.ac-stat-card.rose   { border-left-color: #e11d48; }
.ac-stat-card.teal   { border-left-color: #0d9488; }
.ac-stat-card.sky    { border-left-color: #0284c7; }
.ac-stat-card.indigo { border-left-color: #4338ca; }
.ac-stat-card.cyan   { border-left-color: #0891b2; }

.ac-attention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.ac-attention-card {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dfe6f1;
  border-left: 4px solid #2d6a4f;
  border-radius: 13px;
  background: #fff;
  color: #1f2937;
  text-align: left;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

button.ac-attention-card {
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

button.ac-attention-card:hover {
  border-color: #8fb9a3;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.09);
  transform: translateY(-1px);
}

.ac-attention-card.urgent {
  border-left-color: #dc2626;
  background: #fffafa;
}

.ac-attention-card.static {
  cursor: default;
}

.ac-attention-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  border-radius: 12px;
  background: #eef7f2;
  font-size: 21px;
}

.ac-attention-card.urgent .ac-attention-icon {
  background: #feecec;
}

.ac-attention-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.ac-attention-copy strong {
  overflow: hidden;
  color: #374151;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-attention-copy > span {
  color: #173f32;
  font-size: 23px;
  font-weight: 800;
}

.ac-attention-card.urgent .ac-attention-copy > span {
  color: #b91c1c;
}

.ac-attention-copy small {
  color: #7b8799;
  font-size: 11px;
}

.ac-attention-arrow {
  color: #91a0b4;
  font-size: 24px;
}

.ac-finance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.ac-finance-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  border: 1px solid #dfe6f1;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.ac-finance-card:hover {
  border-color: #9bb7aa;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.09);
}

.ac-finance-card span {
  font-size: 14px;
  font-weight: 700;
}

.ac-finance-card strong {
  color: #173f32;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.15;
}

.ac-finance-card.income strong {
  color: #173fb0;
}

.ac-finance-card.expense strong {
  color: #c62828;
}

.ac-dashboard-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.ac-dashboard-quick {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #dfe6f1;
  border-radius: 13px;
  background: #fff;
  color: #374151;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}

.ac-dashboard-quick:hover {
  border-color: #7fae98;
  background: #f8fcfa;
}

.ac-dashboard-quick-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef7f2;
  font-size: 21px;
}

.ac-dashboard-quick strong,
.ac-dashboard-quick small {
  display: block;
}

.ac-dashboard-quick strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.ac-dashboard-quick small {
  color: #7b8799;
  font-size: 12px;
}

.ac-prep-page {
  max-width: 980px;
}

.ac-prep-panel {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 5px solid #2563eb;
  margin-bottom: 22px;
}

.ac-prep-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  font-size: 28px;
  flex-shrink: 0;
}

.ac-prep-panel h3 {
  font-size: 20px;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.ac-prep-panel p {
  font-size: 15px;
  color: #5a6a8a;
  line-height: 1.8;
}

.ac-prep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ac-prep-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e5eaf3;
}

.ac-prep-card strong {
  display: block;
  color: #1e2a4a;
  font-size: 15px;
  margin-bottom: 6px;
}

.ac-prep-card span {
  display: block;
  color: #6b7a99;
  font-size: 14px;
  line-height: 1.7;
}

/* 최근 항목 섹션 */
.ac-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5eaf3;
}

.ac-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.ac-recent-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ac-recent-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ac-recent-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ac-recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #374151;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}

.ac-recent-item:last-child {
  border-bottom: none;
}

.ac-recent-item-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-recent-item-meta {
  font-size: 13px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: 8px;
}

.ac-recent-empty {
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
  padding: 12px 0;
}

/* 대시보드 로딩 상태 */
.ac-dash-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7a99;
  font-size: 16px;
  padding: 32px 0;
}

.ac-dash-loading .ac-spinner {
  width: 28px;
  height: 28px;
  border-width: 3px;
  margin: 0;
}

/* 대시보드 오류 */
.ac-dash-error {
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 12px;
  padding: 24px;
  font-size: 16px;
  border: 1px solid #fecaca;
}

/* ── 준비중 화면 ─────────────────────────────────────────────── */
.ac-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 600px;
  margin: 40px auto;
}

.ac-coming-soon-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.ac-coming-soon-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.ac-coming-soon-desc {
  font-size: 16px;
  color: #5a6a8a;
  line-height: 1.8;
  margin-bottom: 28px;
  word-break: keep-all;
}

.ac-coming-soon-note {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  border: 1px solid #bfdbfe;
  text-align: left;
  width: 100%;
  margin-bottom: 24px;
}

.ac-coming-soon-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── 보고서센터 ─────────────────────────────────────────────── */
.ac-finance-page {
  max-width: 1500px;
  margin: 0 auto;
  color: #172033;
}

.ac-finance-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border-radius: 22px;
  background: linear-gradient(125deg, #0c3440 0%, #12515b 58%, #1d6a65 100%);
  color: #fff;
  box-shadow: 0 16px 35px rgba(12, 52, 64, 0.18);
}

.ac-finance-kicker {
  display: block;
  margin-bottom: 7px;
  color: #e7c66a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ac-finance-hero h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.ac-finance-hero p {
  margin: 0;
  color: #d7e9eb;
  font-size: 14px;
}

.ac-finance-hero-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ac-finance-hero .ac-btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ac-finance-hero .ac-btn-primary {
  background: #e4bd4e;
  color: #15333a;
}

.ac-finance-filter-card,
.ac-finance-section {
  margin-top: 18px;
  border: 1px solid #dfe7ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(31, 53, 66, 0.06);
}

.ac-finance-filter-card {
  padding: 20px 22px;
}

.ac-finance-presets {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.ac-finance-presets button,
.ac-finance-pagination button,
.ac-finance-category-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d5e0e5;
  border-radius: 9px;
  background: #f7fafb;
  color: #36515d;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ac-finance-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
}

.ac-finance-filter-grid label {
  min-width: 0;
}

.ac-finance-filter-grid label > span {
  display: block;
  margin-bottom: 6px;
  color: #657883;
  font-size: 11px;
  font-weight: 800;
}

.ac-finance-filter-grid input,
.ac-finance-filter-grid select,
.ac-finance-inline-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #cfdae0;
  border-radius: 9px;
  background: #fff;
  color: #1d3039;
  font: inherit;
  padding: 0 11px;
}

.ac-finance-keyword {
  grid-column: span 2;
}

.ac-finance-summary {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dbe5e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(31, 53, 66, 0.06);
}

.ac-finance-summary-title {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  background: #f3f7f8;
  color: #56717c;
  font-size: 12px;
}

.ac-finance-summary-title span {
  color: #153d49;
  font-weight: 900;
}

.ac-finance-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ac-finance-summary-grid article {
  position: relative;
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid #e6edef;
}

.ac-finance-summary-grid article:last-child {
  border-right: 0;
}

.ac-finance-summary-grid span,
.ac-finance-summary-grid small {
  display: block;
  color: #71848d;
  font-size: 12px;
}

.ac-finance-summary-grid strong {
  display: block;
  margin-top: 14px;
  color: #183642;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.ac-finance-summary-grid small {
  margin-top: 6px;
}

.ac-finance-summary-grid .is-income strong,
.ac-finance-amount.is-income,
.ac-finance-account-card .is-income {
  color: #14755c;
}

.ac-finance-summary-grid .is-expense strong,
.ac-finance-amount.is-expense,
.ac-finance-account-card .is-expense {
  color: #d14848;
}

.ac-finance-summary-grid .is-balance {
  background: #123f4b;
}

.ac-finance-summary-grid .is-balance span,
.ac-finance-summary-grid .is-balance strong {
  color: #fff;
}

.ac-finance-section {
  padding: 22px;
}

.ac-finance-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.ac-finance-section-head h3 {
  margin: 0;
  color: #173b47;
  font-size: 18px;
}

.ac-finance-section-head p {
  margin: 4px 0 0;
  color: #788b94;
  font-size: 12px;
}

.ac-finance-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ac-finance-account-card {
  padding: 20px;
  border: 1px solid #dce7eb;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f7fafb);
}

.ac-finance-account-card.is-total {
  border-color: #2b6870;
  background: linear-gradient(145deg, #123c48, #195961);
  color: #fff;
}

.ac-finance-account-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.ac-finance-account-head span {
  color: #7b9098;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ac-finance-account-head h4 {
  margin: 4px 0 0;
  font-size: 16px;
}

.ac-finance-account-head button,
.ac-finance-manager-list button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d4e0e4;
  border-radius: 8px;
  background: #fff;
  color: #3f5a65;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.ac-finance-account-card > p {
  min-height: 18px;
  margin: 10px 0 16px;
  color: #7c8f97;
  font-size: 12px;
}

.ac-finance-account-card > strong {
  display: block;
  margin-bottom: 18px;
  color: #133e4a;
  font-size: 25px;
}

.ac-finance-account-card dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 0;
}

.ac-finance-account-card dl div {
  padding: 9px 10px;
  border-radius: 9px;
  background: rgba(220, 232, 235, 0.45);
}

.ac-finance-account-card dt {
  color: #73878f;
  font-size: 10px;
}

.ac-finance-account-card dd {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 900;
}

.ac-finance-account-card.is-total span,
.ac-finance-account-card.is-total p,
.ac-finance-account-card.is-total dt {
  color: #c8dde0;
}

.ac-finance-account-card.is-total > strong,
.ac-finance-account-card.is-total h4,
.ac-finance-account-card.is-total dd {
  color: #fff;
}

.ac-finance-account-card.is-total dl div {
  background: rgba(255, 255, 255, 0.09);
}

.ac-finance-trend-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px 13px;
  border: 1px solid #dce8e5;
  border-radius: 10px;
  background: #f4f9f7;
  color: #45645e;
  font-size: 13px;
}

.ac-finance-trend-caption strong {
  color: #174f42;
  font-size: 15px;
}

.ac-finance-trend-list {
  display: grid;
  gap: 12px;
}

.ac-finance-trend-list article {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 7px 15px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 11px;
  background: #f7fafb;
}

.ac-finance-trend-list article > strong {
  grid-row: span 2;
  color: #254953;
  font-size: 13px;
}

.ac-finance-trend-row {
  display: grid;
  grid-template-columns: 38px 1fr 115px;
  gap: 9px;
  align-items: center;
}

.ac-finance-trend-row span,
.ac-finance-trend-row b {
  color: #6b7e87;
  font-size: 11px;
}

.ac-finance-trend-row b {
  text-align: right;
}

.ac-finance-trend-row i {
  display: block;
  height: 8px;
  border-radius: 99px;
}

.ac-finance-trend-row i.is-income {
  background: #2b9a78;
}

.ac-finance-trend-row i.is-expense {
  background: #e36b64;
}

.ac-finance-table td strong,
.ac-finance-table td small {
  display: block;
}

.ac-finance-table td small {
  margin-top: 4px;
  color: #85949b;
  font-size: 10px;
}

.ac-finance-type,
.ac-finance-status,
.ac-finance-evidence {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 99px;
  background: #edf2f4;
  color: #596e78;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.ac-finance-type.is-income,
.ac-finance-status.is-confirmed,
.ac-finance-evidence.is-ready {
  background: #e3f5ed;
  color: #187256;
}

.ac-finance-type.is-expense,
.ac-finance-status.is-cancelled {
  background: #fdeaea;
  color: #c44242;
}

.ac-finance-type.is-transfer,
.ac-finance-status.is-pending {
  background: #e6effb;
  color: #32619c;
}

.ac-finance-amount {
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.ac-finance-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: #677c86;
  font-size: 12px;
}

.ac-finance-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

.ac-finance-loading,
.ac-finance-empty {
  padding: 34px 20px;
  border-radius: 12px;
  background: #f7fafb;
  color: #71868f;
  text-align: center;
}

.ac-finance-empty strong,
.ac-finance-empty p {
  display: block;
  margin: 0 0 8px;
}

.ac-finance-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 27, 34, 0.58);
  backdrop-filter: blur(3px);
}

.ac-finance-modal {
  display: flex;
  flex-direction: column;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 65px rgba(8, 23, 29, 0.3);
}

.ac-finance-modal.is-wide {
  width: min(1000px, 100%);
}

.ac-finance-modal > header {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 23px;
  background: #123e49;
  color: #fff;
}

.ac-finance-modal > header span {
  display: block;
  margin-bottom: 3px;
  color: #e1bf5c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ac-finance-modal > header h3 {
  margin: 0;
  font-size: 19px;
}

.ac-finance-modal > header button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.ac-finance-modal-body {
  min-height: 0;
  overflow: auto;
  padding: 22px;
}

.ac-finance-form-note {
  margin: 12px 0 0;
  color: #73858e;
  font-size: 11px;
  line-height: 1.65;
}

.ac-finance-first-account-guide {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #b9d7e5;
  border-radius: 8px;
  background: #edf7fc;
  color: #234c60;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ac-finance-manager-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.ac-finance-manager-head p {
  margin: 0;
  color: #6d8089;
  font-size: 13px;
}

.ac-finance-manager-list {
  display: grid;
  gap: 9px;
}

.ac-finance-manager-list article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 15px;
  border: 1px solid #dfe8eb;
  border-radius: 11px;
}

.ac-finance-manager-list strong,
.ac-finance-manager-list span {
  display: block;
}

.ac-finance-manager-list span {
  margin-top: 4px;
  color: #7b8d95;
  font-size: 11px;
}

.ac-finance-manager-list b {
  color: #173e49;
  font-size: 14px;
}

.ac-finance-category-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.ac-finance-category-tabs button.is-active {
  border-color: #1c6269;
  background: #1c6269;
  color: #fff;
}

.ac-finance-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-bottom: 16px;
}

.ac-finance-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: #f3f7f8;
}

.ac-finance-detail-head > strong .ac-finance-amount {
  font-size: 22px;
}

.ac-finance-detail dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid #e1e9ec;
  border-radius: 12px;
  background: #e1e9ec;
}

.ac-finance-detail dl div {
  padding: 13px 15px;
  background: #fff;
}

.ac-finance-detail dl div.is-wide {
  grid-column: span 2;
}

.ac-finance-detail dt {
  margin-bottom: 5px;
  color: #788a92;
  font-size: 10px;
  font-weight: 800;
}

.ac-finance-detail dd {
  margin: 0;
  color: #243c46;
  font-size: 13px;
  line-height: 1.55;
}

.ac-finance-tabs {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid #dfe7ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(31, 53, 66, 0.05);
}

.ac-finance-tabs button,
.ac-finance-tabs a {
  flex: 1 1 0;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #526974;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ac-finance-tabs button.is-active,
.ac-finance-tabs a.is-active {
  background: #174b49;
  color: #fff;
  box-shadow: 0 6px 14px rgba(23, 75, 73, 0.2);
}

.ac-finance-project-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid #dce8e3;
  border-radius: 18px;
  background: linear-gradient(135deg, #f4faf7, #fffaf0);
}

.ac-finance-project-hero span {
  color: #aa7b19;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.ac-finance-project-hero h3 {
  margin: 5px 0 6px;
  color: #173f38;
  font-size: 23px;
}

.ac-finance-project-hero p {
  margin: 0;
  color: #647b75;
  font-size: 13px;
}

.ac-finance-project-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ac-finance-project-summary article {
  padding: 17px 18px;
  border: 1px solid #e0e8e5;
  border-radius: 14px;
  background: #fff;
}

.ac-finance-project-summary span,
.ac-finance-project-summary small {
  display: block;
  color: #6e817d;
  font-size: 11px;
  font-weight: 800;
}

.ac-finance-project-summary strong {
  display: block;
  margin-top: 6px;
  color: #1c3935;
  font-size: 18px;
}

.ac-finance-project-summary .is-income strong,
.ac-finance-project-money .is-income {
  color: #174f9e;
}

.ac-finance-project-summary .is-expense strong,
.ac-finance-project-money .is-expense {
  color: #bd3434;
}

.ac-finance-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.ac-finance-project-card {
  padding: 20px;
  border: 1px solid #dce6e2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(31, 65, 58, 0.06);
}

.ac-finance-project-card-head,
.ac-finance-project-foot,
.ac-finance-project-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.ac-finance-project-card-head span,
.ac-finance-project-detail-head span {
  color: #967021;
  font-size: 10px;
  font-weight: 900;
}

.ac-finance-project-card-head h4 {
  margin: 4px 0 0;
  color: #193f39;
  font-size: 18px;
}

.ac-finance-project-card-head > b {
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf5f2;
  color: #24675d;
  font-size: 10px;
}

.ac-finance-project-card-head > b.is-closed {
  background: #eef1f4;
  color: #65717d;
}

.ac-finance-project-card > p {
  margin: 8px 0 14px;
  color: #74857f;
  font-size: 12px;
}

.ac-finance-project-money {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #e2e9e6;
  border-radius: 12px;
  background: #e2e9e6;
}

.ac-finance-project-money > div {
  min-width: 0;
  padding: 11px;
  background: #f9fbfa;
}

.ac-finance-project-money span,
.ac-finance-project-money small {
  display: block;
  color: #7b8c87;
  font-size: 10px;
}

.ac-finance-project-money strong {
  display: block;
  margin-top: 4px;
  color: #23463f;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ac-finance-project-progress {
  height: 6px;
  margin: 14px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1ef;
}

.ac-finance-project-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f766b, #d6ae43);
}

.ac-finance-project-foot {
  align-items: center;
}

.ac-finance-project-foot small {
  color: #71827d;
  line-height: 1.5;
}

.ac-finance-project-detail {
  display: grid;
  gap: 16px;
}

.ac-finance-project-detail-head {
  padding: 19px 20px;
  border-radius: 15px;
  background: linear-gradient(120deg, #174b49, #24665f);
  color: #fff;
}

.ac-finance-project-detail-head span,
.ac-finance-project-detail-head p {
  color: #d8e9e5;
}

.ac-finance-project-detail-head h3 {
  margin: 5px 0;
  font-size: 22px;
}

.ac-finance-project-detail-head p {
  margin: 0;
  font-size: 12px;
}

.ac-finance-project-detail-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.ac-finance-project-detail-metrics article {
  padding: 14px;
  border: 1px solid #e1e9e6;
  border-radius: 12px;
  background: #f8faf9;
}

.ac-finance-project-detail-metrics span,
.ac-finance-project-detail-metrics small {
  display: block;
  color: #748680;
  font-size: 10px;
}

.ac-finance-project-detail-metrics strong {
  display: block;
  margin: 5px 0;
  color: #24433d;
  font-size: 15px;
}

.ac-finance-project-detail-metrics .is-income strong {
  color: #174f9e;
}

.ac-finance-project-detail-metrics .is-expense strong {
  color: #bd3434;
}

.ac-finance-project-detail-section {
  padding: 18px;
  border: 1px solid #e0e8e5;
  border-radius: 15px;
  background: #fff;
}

.ac-finance-project-detail-section h4 {
  margin: 0;
  color: #1e443d;
  font-size: 16px;
}

.ac-finance-project-note {
  padding: 15px 17px;
  border-left: 4px solid #d1a438;
  border-radius: 10px;
  background: #fff8e7;
  color: #6d5720;
}

.ac-finance-project-note p {
  margin: 5px 0 0;
  font-size: 12px;
}

@media (max-width: 1180px) {
  .ac-finance-filter-grid {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .ac-finance-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ac-finance-summary-grid article:nth-child(3) {
    border-right: 0;
  }

  .ac-finance-summary-grid article:nth-child(-n+3) {
    border-bottom: 1px solid #e6edef;
  }

  .ac-finance-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-finance-project-summary,
  .ac-finance-project-detail-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ac-finance-hero,
  .ac-finance-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ac-finance-hero-actions,
  .ac-finance-hero-actions .ac-btn {
    width: 100%;
  }

  .ac-finance-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-finance-keyword {
    grid-column: span 2;
  }

  .ac-finance-summary-grid,
  .ac-finance-account-grid,
  .ac-finance-project-grid,
  .ac-finance-project-summary,
  .ac-finance-project-detail-metrics {
    grid-template-columns: 1fr;
  }

  .ac-finance-tabs,
  .ac-finance-project-hero,
  .ac-finance-project-card-head,
  .ac-finance-project-foot,
  .ac-finance-project-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ac-finance-project-money {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-finance-summary-grid article {
    border-right: 0;
    border-bottom: 1px solid #e6edef;
  }

  .ac-finance-trend-list article {
    grid-template-columns: 1fr;
  }

  .ac-finance-trend-list article > strong {
    grid-row: auto;
  }

  .ac-finance-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .ac-finance-modal,
  .ac-finance-modal.is-wide {
    width: 100%;
    max-height: 94vh;
    border-radius: 18px 18px 0 0;
  }
}

.ac-report-center {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.ac-report-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.18), transparent 25%),
    linear-gradient(135deg, #14213d 0%, #1d4ed8 58%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.18);
  margin-bottom: 20px;
}

.ac-report-page-kicker {
  display: block;
  margin-bottom: 5px;
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.ac-report-page-head h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.ac-report-page-head > :first-child { flex: 1 0 260px; min-width: 0; max-width: 100%; }

.ac-report-page-head p {
  margin: 7px 0 0;
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.55;
}

.ac-report-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 1 auto;
  max-width: 100%;
}

.ac-report-page-head .ac-btn-outline {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.ac-report-page-head .ac-btn-primary {
  border-color: #fff;
  background: #fff;
  color: #1d4ed8;
}

.ac-report-page-head .ac-report-ppt-button {
  border-color: #f2cf77;
  background: #f2cf77;
  color: #173f38;
}

.ac-report-page-head .ac-report-minutes-button {
  border-color: #bce5d8;
  background: #e7f6f1;
  color: #176b5b;
}

.ac-report-page-head .ac-report-handout-button {
  border-color: #f5e7bd;
  background: #fff8e6;
  color: #735414;
}

.ac-report-catalog,
.ac-report-filter-panel {
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15,23,42,0.045);
}

.ac-report-catalog {
  padding: 22px;
  margin-bottom: 16px;
}

.ac-report-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ac-report-block-title h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.ac-report-block-title p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.ac-report-block-title > span {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 900;
}

.ac-report-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ac-report-type-card {
  min-width: 0;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ac-report-type-card:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
}

.ac-report-type-card.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

.ac-report-type-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
  font-size: 21px;
}

.ac-report-type-card strong,
.ac-report-type-card small {
  display: block;
}

.ac-report-type-card strong {
  margin-bottom: 5px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.ac-report-type-card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.ac-report-filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  align-items: end;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.ac-report-filter-actions {
  display: flex;
  gap: 8px;
  padding-bottom: 1px;
}

.ac-report-security-note {
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid #c7d2fe;
  border-radius: 11px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.ac-report-loading,
.ac-report-error {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  color: #64748b;
}

.ac-report-error {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

.ac-report-error p {
  margin: 0;
}

.ac-report-document {
  overflow: hidden;
  border: 1px solid #d9e2ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(15,23,42,0.07);
}

.ac-report-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-bottom: 4px solid #d4af37;
  background: linear-gradient(135deg, #102a43, #174f4a);
  color: #fff;
}

.ac-report-kicker {
  display: block;
  margin-bottom: 6px;
  color: #f6d98b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.ac-report-document-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 950;
}

.ac-report-document-head p {
  margin: 7px 0 0;
  color: #d8e8e5;
  font-size: 13px;
}

.ac-report-stamp {
  min-width: 250px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  font-size: 12px;
}

.ac-report-stamp span {
  color: #bfdbd6;
}

.ac-report-stamp strong {
  color: #fff;
  text-align: right;
}

.ac-report-section {
  padding: 26px 30px;
  border-bottom: 1px solid #e7edf3;
  break-inside: avoid;
}

.ac-report-section:last-of-type {
  border-bottom: 0;
}

.ac-report-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ac-report-section-head > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #f1f5f9;
  font-size: 20px;
}

.ac-report-section-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
}

.ac-report-section-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.ac-report-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.ac-report-metric {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #f8fafc;
}

.ac-report-metric.blue {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.ac-report-metric.green {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.ac-report-metric.amber {
  border-color: #fde68a;
  background: #fffbeb;
}

.ac-report-metric-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #fff;
  font-size: 17px;
}

.ac-report-metric-label {
  display: block;
  margin-bottom: 3px;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-report-metric strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 17px;
  font-weight: 950;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.ac-report-metric > div { flex: 1; min-width: 0; }

.ac-report-table-title {
  margin: 20px 0 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.ac-report-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.ac-report-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  color: #334155;
  font-size: 12px;
}

.ac-report-table th {
  padding: 10px 12px;
  border-bottom: 1px solid #dbe4ef;
  background: #f1f5f9;
  color: #475569;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
}

.ac-report-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
}

.ac-report-table tbody tr:last-child td {
  border-bottom: 0;
}

.ac-report-table th.is-numeric,
.ac-report-table td.is-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ac-report-empty {
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.ac-report-document-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 30px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .ac-report-type-grid,
  .ac-report-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-report-filter-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ac-report-filter-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .ac-report-page-head,
  .ac-report-document-head,
  .ac-report-document-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .ac-report-head-actions,
  .ac-report-head-actions .ac-btn {
    width: 100%;
  }

  .ac-report-page-head > :first-child { flex-basis: auto; }

  .ac-report-type-grid,
  .ac-report-filter-panel,
  .ac-report-metrics {
    grid-template-columns: 1fr;
  }

  .ac-report-filter-actions {
    grid-column: auto;
  }

  .ac-report-section,
  .ac-report-document-head {
    padding: 20px;
  }

  .ac-report-stamp {
    min-width: 0;
  }
}

body.ac-report-print-preview-open {
  overflow: hidden;
}

.ac-meeting-ppt-overlay {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 30, 39, 0.72);
  backdrop-filter: blur(5px);
}

.ac-meeting-ppt-modal {
  display: flex;
  flex-direction: column;
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(213, 168, 75, 0.45);
  border-radius: 22px;
  background: #f5f8f7;
  box-shadow: 0 28px 70px rgba(3, 18, 24, 0.34);
}

.ac-meeting-ppt-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 25px 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 168, 75, 0.2), transparent 27%),
    linear-gradient(135deg, #0a2b38, #176b5b);
  color: #fff;
}

.ac-meeting-ppt-head span {
  color: #e5c779;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ac-meeting-ppt-head h3 {
  margin: 5px 0 6px;
  font-size: 25px;
}

.ac-meeting-ppt-head p {
  margin: 0;
  color: #cce0da;
  font-size: 14px;
}

.ac-meeting-ppt-head > button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.ac-meeting-ppt-form {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ac-meeting-ppt-form > section {
  margin: 18px 22px 0;
  padding: 20px;
  border: 1px solid #dbe7e3;
  border-radius: 16px;
  background: #fff;
}

.ac-meeting-ppt-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 16px;
}

.ac-meeting-ppt-section-title h4 {
  margin: 0;
  color: #173f38;
  font-size: 18px;
}

.ac-meeting-ppt-section-title p {
  margin: 0;
  color: #74847f;
  font-size: 13px;
}

.ac-meeting-ppt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ac-meeting-ppt-grid label {
  display: grid;
  gap: 7px;
  color: #40534d;
  font-size: 13px;
  font-weight: 800;
}

.ac-meeting-ppt-grid label.ac-span-2 {
  grid-column: 1 / -1;
}

.ac-meeting-ppt-grid input,
.ac-meeting-ppt-grid select,
.ac-meeting-ppt-grid textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cad9d4;
  border-radius: 10px;
  background: #fff;
  color: #17323a;
  padding: 0 13px;
  font: inherit;
  font-weight: 600;
}

.ac-meeting-ppt-grid textarea {
  min-height: 175px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
}

.ac-meeting-ppt-grid input:focus,
.ac-meeting-ppt-grid select:focus,
.ac-meeting-ppt-grid textarea:focus {
  outline: 3px solid rgba(23, 107, 91, 0.14);
  border-color: #176b5b;
}

.ac-meeting-ppt-grid input[readonly] {
  background: #f2f6f4;
  color: #63736e;
}

.ac-meeting-ppt-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ac-meeting-ppt-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid #d7e3df;
  border-radius: 11px;
  background: #f7faf9;
  color: #294840;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ac-meeting-ppt-checks input {
  width: 17px;
  height: 17px;
  accent-color: #176b5b;
}

.ac-meeting-ppt-note {
  margin-top: 13px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #edf6f2;
  color: #42665c;
  font-size: 13px;
}

.ac-meeting-ppt-form > footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 22px;
  border-top: 1px solid #dbe5e2;
  background: rgba(245, 248, 247, 0.97);
}

.ac-meeting-ppt-form > footer .ac-btn {
  min-height: 48px;
  padding: 0 19px;
}

@media (max-width: 900px) {
  .ac-meeting-ppt-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ac-meeting-ppt-overlay {
    padding: 10px;
  }

  .ac-meeting-ppt-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .ac-meeting-ppt-head,
  .ac-meeting-ppt-section-title {
    align-items: flex-start;
  }

  .ac-meeting-ppt-section-title {
    flex-direction: column;
    gap: 5px;
  }

  .ac-meeting-ppt-grid,
  .ac-meeting-ppt-checks {
    grid-template-columns: 1fr;
  }

  .ac-meeting-ppt-grid label.ac-span-2 {
    grid-column: auto;
  }

  .ac-meeting-ppt-form > footer .ac-btn {
    flex: 1 1 0;
  }
}

.ac-meeting-minutes-overlay {
  position: fixed;
  inset: 0;
  z-index: 10035;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 30, 39, 0.74);
  backdrop-filter: blur(5px);
}

.ac-meeting-minutes-modal {
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100vw - 44px));
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid rgba(213, 168, 75, 0.45);
  border-radius: 22px;
  background: #f5f8f7;
  box-shadow: 0 28px 70px rgba(3, 18, 24, 0.36);
}

.ac-meeting-minutes-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 25px 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 168, 75, 0.19), transparent 28%),
    linear-gradient(135deg, #0a2b38, #176b5b);
  color: #fff;
}

.ac-meeting-minutes-head span {
  color: #e5c779;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ac-meeting-minutes-head h3 {
  margin: 5px 0 6px;
  font-size: 25px;
}

.ac-meeting-minutes-head p {
  margin: 0;
  color: #cce0da;
  font-size: 14px;
}

.ac-meeting-minutes-head > button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.ac-meeting-minutes-form {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ac-meeting-minutes-form > section {
  margin: 18px 22px 0;
  padding: 20px;
  border: 1px solid #dbe7e3;
  border-radius: 16px;
  background: #fff;
}

.ac-meeting-minutes-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.ac-meeting-minutes-section-title h4 {
  margin: 0;
  color: #173f38;
  font-size: 18px;
}

.ac-meeting-minutes-section-title p {
  margin: 4px 0 0;
  color: #74847f;
  font-size: 13px;
}

.ac-meeting-minutes-section-title > span {
  padding: 6px 10px;
  border: 1px solid #cee3dc;
  border-radius: 999px;
  background: #edf6f2;
  color: #176b5b;
  font-size: 12px;
  font-weight: 900;
}

.ac-meeting-minutes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ac-meeting-minutes-grid label {
  display: grid;
  gap: 7px;
  color: #40534d;
  font-size: 13px;
  font-weight: 800;
}

.ac-meeting-minutes-grid label.ac-span-2 {
  grid-column: 1 / -1;
}

.ac-meeting-minutes-grid input,
.ac-meeting-minutes-grid select,
.ac-meeting-minutes-grid textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cad9d4;
  border-radius: 10px;
  background: #fff;
  color: #17323a;
  padding: 0 13px;
  font: inherit;
  font-weight: 600;
}

.ac-meeting-minutes-grid textarea {
  min-height: 98px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
}

.ac-meeting-minutes-grid input:focus,
.ac-meeting-minutes-grid select:focus,
.ac-meeting-minutes-grid textarea:focus {
  outline: 3px solid rgba(23, 107, 91, 0.14);
  border-color: #176b5b;
}

.ac-meeting-minutes-grid input[readonly] {
  background: #f2f6f4;
  color: #63736e;
}

.ac-meeting-minutes-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ac-meeting-minutes-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d7e3df;
  border-radius: 10px;
  background: #f7faf9;
  color: #294840;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ac-meeting-minutes-checks input {
  width: 17px;
  height: 17px;
  accent-color: #176b5b;
}

.ac-meeting-minutes-checks small {
  color: #9a6e0f;
}

.ac-meeting-minutes-roster-preview {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #edf6f2;
  color: #42665c;
  font-size: 13px;
}

.ac-meeting-minutes-roster-preview strong {
  color: #176b5b;
}

.ac-meeting-minutes-agenda {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid #d9e5e1;
  border-radius: 14px;
  background: #f8faf9;
}

.ac-meeting-minutes-agenda:first-child {
  margin-top: 0;
}

.ac-meeting-minutes-agenda-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ac-meeting-minutes-agenda-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #173f38;
  color: #fff;
  font-size: 13px;
}

.ac-meeting-minutes-vote {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr) auto minmax(70px, 1fr) auto;
  gap: 7px;
  align-items: center;
}

.ac-meeting-minutes-vote input {
  min-width: 0;
}

.ac-meeting-minutes-vote span {
  color: #5b6f69;
  font-size: 12px;
  white-space: nowrap;
}

.ac-meeting-minutes-note {
  margin-top: 13px;
  padding: 11px 13px;
  border-left: 4px solid #d9a93e;
  border-radius: 8px;
  background: #fbf7ec;
  color: #6d5b2e;
  font-size: 13px;
}

.ac-meeting-minutes-form > footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 22px;
  border-top: 1px solid #dbe5e2;
  background: rgba(245, 248, 247, 0.97);
}

.ac-meeting-minutes-form > footer .ac-btn {
  min-height: 48px;
  padding: 0 19px;
}

@media (max-width: 760px) {
  .ac-meeting-minutes-overlay {
    padding: 10px;
  }

  .ac-meeting-minutes-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .ac-meeting-minutes-head,
  .ac-meeting-minutes-section-title {
    align-items: flex-start;
  }

  .ac-meeting-minutes-section-title {
    flex-direction: column;
    gap: 8px;
  }

  .ac-meeting-minutes-grid {
    grid-template-columns: 1fr;
  }

  .ac-meeting-minutes-grid label.ac-span-2 {
    grid-column: auto;
  }

  .ac-meeting-minutes-vote {
    grid-template-columns: minmax(55px, 1fr) auto;
  }

  .ac-meeting-minutes-form > footer .ac-btn {
    flex: 1 1 0;
  }
}

.ac-meeting-handout-overlay {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 30, 39, 0.75);
  backdrop-filter: blur(5px);
}

.ac-meeting-handout-modal {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 44px));
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid rgba(213, 168, 75, 0.45);
  border-radius: 22px;
  background: #f5f8f7;
  box-shadow: 0 28px 70px rgba(3, 18, 24, 0.36);
}

.ac-meeting-handout-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 25px 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(213, 168, 75, 0.2), transparent 28%),
    linear-gradient(135deg, #0a2b38, #176b5b);
  color: #fff;
}

.ac-meeting-handout-head span {
  color: #e5c779;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ac-meeting-handout-head h3 {
  margin: 5px 0 6px;
  font-size: 25px;
}

.ac-meeting-handout-head p {
  margin: 0;
  color: #cce0da;
  font-size: 14px;
}

.ac-meeting-handout-head > button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.ac-meeting-handout-form {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.ac-meeting-handout-form > section {
  margin: 18px 22px 0;
  padding: 20px;
  border: 1px solid #dbe7e3;
  border-radius: 16px;
  background: #fff;
}

.ac-meeting-handout-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.ac-meeting-handout-section-title h4 {
  margin: 0;
  color: #173f38;
  font-size: 18px;
}

.ac-meeting-handout-section-title p {
  margin: 4px 0 0;
  color: #74847f;
  font-size: 13px;
}

.ac-meeting-handout-section-title > span {
  padding: 6px 10px;
  border: 1px solid #ead69f;
  border-radius: 999px;
  background: #fff8e6;
  color: #8a6518;
  font-size: 12px;
  font-weight: 900;
}

.ac-meeting-handout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.ac-meeting-handout-grid label {
  display: grid;
  gap: 7px;
  color: #40534d;
  font-size: 13px;
  font-weight: 800;
}

.ac-meeting-handout-grid label.ac-span-2 {
  grid-column: 1 / -1;
}

.ac-meeting-handout-grid input,
.ac-meeting-handout-grid select,
.ac-meeting-handout-grid textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cad9d4;
  border-radius: 10px;
  background: #fff;
  color: #17323a;
  padding: 0 13px;
  font: inherit;
  font-weight: 600;
}

.ac-meeting-handout-grid textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
}

.ac-meeting-handout-grid input:focus,
.ac-meeting-handout-grid select:focus,
.ac-meeting-handout-grid textarea:focus {
  outline: 3px solid rgba(23, 107, 91, 0.14);
  border-color: #176b5b;
}

.ac-meeting-handout-grid input[readonly] {
  background: #f2f6f4;
  color: #63736e;
}

.ac-meeting-handout-checks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ac-meeting-handout-checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d7e3df;
  border-radius: 10px;
  background: #f7faf9;
  color: #294840;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ac-meeting-handout-checks input {
  width: 17px;
  height: 17px;
  accent-color: #176b5b;
}

.ac-meeting-handout-note {
  margin-top: 13px;
  padding: 11px 13px;
  border-left: 4px solid #d9a93e;
  border-radius: 8px;
  background: #fbf7ec;
  color: #6d5b2e;
  font-size: 13px;
}

.ac-meeting-handout-form > footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 22px;
  border-top: 1px solid #dbe5e2;
  background: rgba(245, 248, 247, 0.97);
}

.ac-meeting-handout-form > footer .ac-btn {
  min-height: 48px;
  padding: 0 19px;
}

.ac-handout-render-host {
  position: fixed;
  inset: 0;
  z-index: 10050;
  overflow: auto;
  background: #e8eeeb;
  pointer-events: none;
}

.ac-handout-print-root {
  position: relative;
  width: 210mm;
  margin: 0 auto;
  background: #fff;
  color: #20353d;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.ac-handout-page {
  position: relative;
  box-sizing: border-box;
  width: 210mm;
  min-height: 296mm;
  overflow: hidden;
  padding: 15mm 15mm 18mm;
  background: #fff;
  page-break-after: always;
  break-after: page;
}

.ac-handout-page:last-child {
  page-break-after: auto;
  break-after: auto;
}

.ac-handout-running-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4mm;
  border-bottom: 0.45mm solid #173f38;
  color: #173f38;
  font-size: 10pt;
}

.ac-handout-running-head span {
  color: #7e672e;
  font-weight: 800;
}

.ac-handout-page-body {
  padding-top: 8mm;
}

.ac-handout-page-footer {
  position: absolute;
  left: 15mm;
  right: 15mm;
  bottom: 8mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3mm;
  border-top: 0.25mm solid #c9d5d1;
  color: #82918c;
  font-size: 8pt;
  letter-spacing: 0.06em;
}

.ac-handout-page-footer strong {
  display: grid;
  place-items: center;
  width: 7mm;
  height: 7mm;
  border-radius: 50%;
  background: #173f38;
  color: #fff;
  font-size: 8pt;
}

.ac-handout-section-head {
  margin-bottom: 7mm;
}

.ac-handout-section-head span {
  color: #a17a26;
  font-size: 8pt;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ac-handout-section-head h2 {
  margin: 2mm 0 1.5mm;
  color: #173f38;
  font-size: 21pt;
  line-height: 1.25;
}

.ac-handout-section-head p {
  margin: 0;
  color: #64766f;
  font-size: 9.5pt;
}

.ac-handout-page.is-cover {
  padding: 13mm 15mm 18mm;
  background:
    linear-gradient(158deg, transparent 0 72%, rgba(216, 179, 93, 0.13) 72% 100%),
    #fff;
}

.ac-handout-page.is-cover .ac-handout-running-head {
  border-bottom-color: #d7b65f;
}

.ac-handout-cover {
  display: flex;
  flex-direction: column;
  min-height: 242mm;
  padding-top: 33mm;
}

.ac-handout-cover-kicker {
  color: #a17a26;
  font-size: 9pt;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.ac-handout-cover h1 {
  max-width: 160mm;
  margin: 7mm 0 3mm;
  color: #153b35;
  font-size: 31pt;
  line-height: 1.26;
  word-break: keep-all;
}

.ac-handout-cover-subtitle {
  margin: 0;
  color: #657b73;
  font-size: 13pt;
  font-weight: 700;
}

.ac-handout-cover-rule {
  width: 28mm;
  height: 1.2mm;
  margin: 13mm 0 10mm;
  background: linear-gradient(90deg, #173f38, #d7b65f);
}

.ac-handout-cover dl {
  display: grid;
  gap: 4.5mm;
  width: 124mm;
  margin: 0;
}

.ac-handout-cover dl div {
  display: grid;
  grid-template-columns: 24mm 1fr;
  gap: 5mm;
  align-items: baseline;
}

.ac-handout-cover dt {
  color: #8b6a24;
  font-size: 9.5pt;
  font-weight: 900;
}

.ac-handout-cover dd {
  margin: 0;
  padding-bottom: 2.2mm;
  border-bottom: 0.25mm solid #d7dfdc;
  color: #263f38;
  font-size: 11pt;
  font-weight: 700;
}

.ac-handout-cover-message {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding: 7mm 8mm;
  border: 0.35mm solid #d8b867;
  border-radius: 4mm;
  background: #173f38;
  color: #fff;
}

.ac-handout-cover-message strong {
  color: #f6e7b5;
  font-size: 14pt;
}

.ac-handout-cover-message span {
  font-size: 10pt;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ac-handout-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6mm;
}

.ac-handout-two-column.is-compact {
  margin-top: 7mm;
}

.ac-handout-card {
  min-height: 92mm;
  padding: 6mm;
  border: 0.35mm solid #d5e0dc;
  border-radius: 4mm;
  background: #f6faf8;
}

.ac-handout-card.is-cream {
  border-color: #ead9aa;
  background: #fcf8ec;
}

.ac-handout-card h3,
.ac-handout-subhead {
  margin: 0 0 4mm;
  color: #173f38;
  font-size: 13pt;
}

.ac-handout-agenda-list,
.ac-handout-decision-list {
  display: grid;
  gap: 3.2mm;
  margin: 0;
  padding-left: 6mm;
  color: #344d46;
  font-size: 10pt;
  line-height: 1.45;
}

.ac-handout-agenda-list li::marker {
  color: #176b5b;
  font-weight: 900;
}

.ac-handout-decision-list li::marker {
  color: #b48727;
}

.ac-handout-note-box {
  display: grid;
  gap: 5mm;
  margin-top: 7mm;
  padding: 5mm 6mm;
  border: 0.3mm solid #d8e1de;
  border-radius: 3mm;
}

.ac-handout-note-box strong {
  color: #173f38;
  font-size: 10pt;
}

.ac-handout-note-box span,
.ac-handout-agenda-note div span {
  display: block;
  height: 0;
  border-bottom: 0.25mm solid #ccd6d2;
}

.ac-handout-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3.5mm;
  margin-bottom: 7mm;
}

.ac-handout-metric-grid.is-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ac-handout-metric {
  min-height: 25mm;
  padding: 4.5mm;
  border-top: 1.1mm solid #526963;
  border-radius: 2.5mm;
  background: #f3f6f5;
}

.ac-handout-metric span {
  display: block;
  margin-bottom: 2mm;
  color: #6b7e77;
  font-size: 8pt;
  font-weight: 800;
}

.ac-handout-metric strong {
  display: block;
  color: #213c35;
  font-size: 15pt;
  line-height: 1.15;
  word-break: keep-all;
}

.ac-handout-metric.navy { border-top-color: #173f38; }
.ac-handout-metric.green { border-top-color: #229077; }
.ac-handout-metric.blue { border-top-color: #4c78a7; }
.ac-handout-metric.gold { border-top-color: #d3a23f; }
.ac-handout-metric.red { border-top-color: #c8645a; }
.ac-handout-metric.gray { border-top-color: #82918c; }

.ac-handout-subhead {
  margin-top: 6mm;
  padding-left: 3mm;
  border-left: 1.2mm solid #d2aa4a;
  font-size: 11.5pt;
}

.ac-handout-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #2f4740;
  font-size: 8.5pt;
}

.ac-handout-table th {
  padding: 3mm 2.3mm;
  border: 0.25mm solid #173f38;
  background: #173f38;
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.ac-handout-table td {
  overflow: hidden;
  padding: 2.7mm 2.3mm;
  border: 0.25mm solid #d4ddda;
  background: #fff;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-handout-table tbody tr:nth-child(even) td {
  background: #f5f8f7;
}

.ac-handout-table td.is-income {
  color: #174f9e;
  font-weight: 800;
}

.ac-handout-table td.is-expense {
  color: #b83232;
  font-weight: 800;
}

.ac-handout-empty {
  display: grid;
  place-items: center;
  min-height: 28mm;
  border: 0.3mm dashed #bdcac5;
  border-radius: 3mm;
  background: #f8faf9;
  color: #74867f;
  font-size: 9pt;
}

.ac-handout-insight {
  margin-top: 6mm;
  padding: 4.5mm 5mm;
  border-left: 1.2mm solid #176b5b;
  border-radius: 2mm;
  background: #edf6f2;
}

.ac-handout-insight.is-warning {
  border-left-color: #d0a23e;
  background: #fcf7e9;
}

.ac-handout-insight strong {
  color: #173f38;
  font-size: 9pt;
}

.ac-handout-insight p {
  margin: 1.5mm 0 0;
  color: #526a62;
  font-size: 8.5pt;
  line-height: 1.45;
}

.ac-handout-trend {
  display: flex;
  align-items: stretch;
  gap: 2.5mm;
  height: 35mm;
  padding: 3mm 3mm 0;
  border: 0.25mm solid #d5dfdc;
  border-radius: 3mm;
  background: linear-gradient(to top, #eef3f1 0.25mm, transparent 0.25mm) 0 0 / 100% 8mm;
}

.ac-handout-trend-item {
  display: grid;
  grid-template-rows: 1fr auto;
  flex: 1 1 0;
  min-width: 0;
  gap: 1.3mm;
  text-align: center;
}

.ac-handout-trend-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.7mm;
  min-height: 0;
}

.ac-handout-trend-bars span {
  width: 3.2mm;
  min-height: 0.7mm;
  border-radius: 0.7mm 0.7mm 0 0;
}

.ac-handout-trend-bars .is-income { background: #229077; }
.ac-handout-trend-bars .is-expense { background: #c8645a; }

.ac-handout-trend-item small {
  overflow: hidden;
  color: #71827c;
  font-size: 6.5pt;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Report center document previews */
.ac-document-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 10120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 20, 27, 0.84);
  backdrop-filter: blur(7px);
}

.ac-document-preview-shell {
  display: flex;
  flex-direction: column;
  width: min(1320px, calc(100vw - 40px));
  height: min(940px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid rgba(213, 168, 75, 0.48);
  border-radius: 22px;
  background: #e8eeeb;
  box-shadow: 0 32px 90px rgba(0, 12, 17, 0.5);
}

.ac-document-preview-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(218, 177, 83, 0.2), transparent 32%),
    linear-gradient(135deg, #092b39, #176b5b);
  color: #fff;
}

.ac-document-preview-head span {
  color: #e9cb78;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ac-document-preview-head h3 {
  margin: 5px 0 4px;
  font-size: 22px;
}

.ac-document-preview-head p {
  margin: 0;
  color: #cce0da;
  font-size: 13px;
}

.ac-document-preview-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.ac-document-preview-actions .ac-btn {
  min-height: 44px;
  padding: 0 17px;
}

.ac-document-preview-actions .ac-btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ac-document-preview-viewport {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding: 28px;
  overscroll-behavior: contain;
}

.ac-document-preview-a4 {
  width: max-content;
  min-width: 100%;
}

.ac-document-preview-a4 > .ac-handout-print-root {
  box-shadow: 0 14px 42px rgba(10, 36, 42, 0.2);
}

.ac-document-preview-a4 .ac-handout-page {
  margin-bottom: 24px;
  box-shadow: 0 3px 14px rgba(10, 36, 42, 0.1);
}

.ac-document-preview-a4 .ac-handout-page:last-child {
  margin-bottom: 0;
}

.ac-document-preview-viewport.is-word {
  background: #dfe7e4;
}

.ac-minutes-preview-page {
  box-sizing: border-box;
  width: min(210mm, 100%);
  min-height: 297mm;
  margin: 0 auto;
  padding: 17mm 16mm 19mm;
  background: #fff;
  color: #20353d;
  box-shadow: 0 14px 42px rgba(10, 36, 42, 0.2);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.ac-minutes-preview-brand {
  color: #176b5b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.ac-minutes-preview-page > h1 {
  margin: 8px 0 5px;
  color: #0b3140;
  font-size: 28px;
}

.ac-minutes-preview-subtitle {
  margin: 0 0 20px;
  color: #70817c;
  font-size: 13px;
}

.ac-minutes-preview-meta,
.ac-minutes-preview-section table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ac-minutes-preview-meta th,
.ac-minutes-preview-meta td,
.ac-minutes-preview-section th,
.ac-minutes-preview-section td {
  padding: 8px 9px;
  border: 1px solid #cedbd7;
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

.ac-minutes-preview-meta th,
.ac-minutes-preview-section th {
  background: #edf4f1;
  color: #274b42;
  font-weight: 900;
}

.ac-minutes-preview-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.ac-minutes-preview-summary > div {
  display: grid;
  gap: 4px;
  padding: 11px 10px;
  border: 1px solid #d5e1dd;
  border-radius: 9px;
  background: #f7faf9;
}

.ac-minutes-preview-summary span {
  color: #75857f;
  font-size: 10px;
}

.ac-minutes-preview-summary strong {
  color: #173f38;
  font-size: 15px;
}

.ac-minutes-preview-summary .is-status {
  border-color: #e2c673;
  background: #fbf7eb;
}

.ac-minutes-preview-section {
  margin-top: 20px;
  break-inside: avoid;
}

.ac-minutes-preview-section > h3 {
  margin: 0 0 9px;
  padding-bottom: 7px;
  border-bottom: 2px solid #176b5b;
  color: #0b3140;
  font-size: 17px;
}

.ac-minutes-preview-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.ac-minutes-preview-columns > div,
.ac-minutes-preview-agenda {
  padding: 12px;
  border: 1px solid #dbe5e2;
  border-radius: 9px;
  background: #fafcfb;
}

.ac-minutes-preview-columns h4,
.ac-minutes-preview-agenda h4 {
  margin: 0 0 8px;
  color: #176b5b;
  font-size: 13px;
}

.ac-minutes-preview-page ul {
  margin: 0;
  padding-left: 18px;
}

.ac-minutes-preview-page li,
.ac-minutes-preview-page p {
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.55;
}

.ac-minutes-preview-page .is-empty {
  color: #8a9994;
}

.ac-minutes-preview-agenda {
  margin-top: 9px;
}

.ac-minutes-preview-agenda dl,
.ac-minutes-preview-agenda dd {
  margin: 0;
}

.ac-minutes-preview-agenda dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  border-top: 1px solid #e3eae7;
}

.ac-minutes-preview-agenda dt,
.ac-minutes-preview-agenda dd {
  padding: 8px 5px;
  font-size: 12px;
}

.ac-minutes-preview-agenda dt {
  color: #526a63;
  font-weight: 900;
}

.ac-minutes-preview-agenda dd > span {
  margin-left: 12px;
  color: #71817c;
}

.ac-document-preview-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.ac-minutes-preview-signature {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 13px;
  border-top: 1px solid #b8c7c2;
  color: #4e645d;
  font-size: 12px;
}

.ac-document-preview-viewport.is-slides {
  background:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    #dfe7e4;
}

.ac-slide-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.ac-slide-preview {
  position: relative;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 25px 28px 32px;
  border: 1px solid #d7e2df;
  border-radius: 7px;
  background:
    radial-gradient(circle at 93% 9%, rgba(213, 168, 75, 0.16), transparent 26%),
    #fff;
  color: #18333b;
  box-shadow: 0 10px 28px rgba(10, 36, 42, 0.18);
}

.ac-slide-preview-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 2px solid #176b5b;
  color: #176b5b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ac-slide-preview > h2 {
  max-width: 90%;
  margin: 16px 0 12px;
  color: #0a2b38;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.2;
}

.ac-slide-preview-body {
  font-size: clamp(9px, 1vw, 12px);
}

.ac-slide-preview-body ul {
  margin: 0;
  padding-left: 18px;
}

.ac-slide-preview-body li {
  margin: 6px 0;
  line-height: 1.4;
}

.ac-slide-preview > footer {
  position: absolute;
  right: 28px;
  bottom: 15px;
  color: #758780;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.ac-slide-preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 12px;
}

.ac-slide-preview-metric {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #edf3f1;
}

.ac-slide-preview-metric span {
  overflow: hidden;
  color: #60756e;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-slide-preview-metric strong {
  overflow: hidden;
  color: #123f4a;
  font-size: clamp(10px, 1.2vw, 15px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-slide-preview-metric.is-green strong { color: #176b5b; }
.ac-slide-preview-metric.is-gold strong { color: #9a6b05; }
.ac-slide-preview-metric.is-red strong { color: #c95353; }

.ac-slide-preview-table-wrap {
  overflow: hidden;
  border: 1px solid #b9c9c4;
  border-radius: 5px;
  background: #fff;
}

.ac-slide-preview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(6px, .72vw, 9px);
  line-height: 1.25;
}

.ac-slide-preview-table th,
.ac-slide-preview-table td {
  padding: 5px 4px;
  border-right: 1px solid #c8d4d0;
  border-bottom: 1px solid #c8d4d0;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.ac-slide-preview-table th:last-child,
.ac-slide-preview-table td:last-child {
  border-right: 0;
}

.ac-slide-preview-table tbody tr:last-child td {
  border-bottom: 0;
}

.ac-slide-preview-table th {
  background: #123f4a;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.ac-slide-preview-table td:last-child {
  text-align: right;
  font-weight: 800;
  white-space: nowrap;
}

.ac-slide-preview-table.is-annual-plan th:nth-child(1) { width: 12%; }
.ac-slide-preview-table.is-annual-plan th:nth-child(2) { width: 19%; }
.ac-slide-preview-table.is-annual-plan th:nth-child(3) { width: 39%; }
.ac-slide-preview-table.is-annual-plan th:nth-child(4) { width: 13%; }
.ac-slide-preview-table.is-annual-plan th:nth-child(5) { width: 17%; }

.ac-slide-preview-table.is-budget th:nth-child(1) { width: 25%; }
.ac-slide-preview-table.is-budget th:nth-child(2) { width: 51%; }
.ac-slide-preview-table.is-budget th:nth-child(3) { width: 24%; }

.ac-slide-preview.is-cover,
.ac-slide-preview.is-closing {
  background:
    radial-gradient(circle at 84% 12%, rgba(213, 168, 75, 0.28), transparent 28%),
    linear-gradient(135deg, #092b39, #176b5b);
  color: #fff;
}

.ac-slide-preview.is-cover .ac-slide-preview-top,
.ac-slide-preview.is-closing .ac-slide-preview-top {
  border-color: #d5a84b;
  color: #e7c770;
}

.ac-slide-preview.is-cover > h2,
.ac-slide-preview.is-closing > h2,
.ac-slide-preview.is-cover > footer,
.ac-slide-preview.is-closing > footer {
  color: #fff;
}

.ac-slide-preview-cover,
.ac-slide-preview-closing {
  display: grid;
  gap: 6px;
}

.ac-slide-preview-cover > span,
.ac-slide-preview-closing > strong {
  color: #e8ca76;
  font-weight: 900;
}

.ac-slide-preview-cover > strong {
  font-size: 18px;
}

.ac-slide-preview-cover p,
.ac-slide-preview-cover small,
.ac-slide-preview-closing span {
  margin: 0;
  color: #d5e6e1;
}

@media (max-width: 860px) {
  .ac-document-preview-overlay {
    padding: 8px;
  }

  .ac-document-preview-shell {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    border-radius: 15px;
  }

  .ac-document-preview-head {
    align-items: flex-start;
    padding: 15px;
  }

  .ac-document-preview-head p {
    display: none;
  }

  .ac-document-preview-actions {
    flex-direction: column;
  }

  .ac-document-preview-actions .ac-btn {
    min-height: 38px;
  }

  .ac-document-preview-viewport {
    padding: 14px;
  }

  .ac-slide-preview-grid {
    grid-template-columns: 1fr;
  }

  .ac-minutes-preview-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-minutes-preview-columns {
    grid-template-columns: 1fr;
  }
}

.ac-handout-notes-list {
  display: grid;
  gap: 5mm;
}

.ac-handout-agenda-note {
  padding: 4.5mm 5mm;
  border: 0.3mm solid #d7e0dd;
  border-radius: 3mm;
}

.ac-handout-agenda-note h3 {
  margin: 0 0 3.5mm;
  color: #173f38;
  font-size: 10.5pt;
}

.ac-handout-agenda-note .ac-handout-table td {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
}

.ac-handout-agenda-note div {
  display: grid;
  gap: 3.3mm;
  margin-top: 3mm;
}

.ac-handout-agenda-note div strong {
  color: #8a6921;
  font-size: 8pt;
}

@media (max-width: 850px) {
  .ac-meeting-handout-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ac-meeting-handout-overlay {
    padding: 10px;
  }

  .ac-meeting-handout-modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .ac-meeting-handout-head,
  .ac-meeting-handout-section-title {
    align-items: flex-start;
  }

  .ac-meeting-handout-section-title {
    flex-direction: column;
    gap: 8px;
  }

  .ac-meeting-handout-grid,
  .ac-meeting-handout-checks {
    grid-template-columns: 1fr;
  }

  .ac-meeting-handout-grid label.ac-span-2 {
    grid-column: auto;
  }

  .ac-meeting-handout-form > footer .ac-btn {
    flex: 1 1 0;
  }
}

.ac-report-print-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  overflow: auto;
  overscroll-behavior: contain;
  background: #eef2f7;
}

.ac-report-print-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: #102f3a;
  color: #fff;
  box-shadow: 0 4px 18px rgba(15, 35, 45, 0.2);
}

.ac-report-print-toolbar strong {
  font-size: 16px;
}

.ac-report-print-toolbar span {
  display: block;
  margin-top: 3px;
  color: #d7e5e9;
  font-size: 12px;
}

.ac-report-print-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.ac-report-print-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  background: #fff;
  color: #12343f;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ac-report-print-actions button:last-child {
  background: transparent;
  color: #fff;
}

.ac-report-print-sheet {
  width: min(1180px, calc(100% - 36px));
  margin: 24px auto 48px;
}

@media (max-width: 640px) {
  .ac-report-print-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .ac-report-print-actions {
    width: 100%;
  }

  .ac-report-print-actions button {
    flex: 1;
  }

  .ac-report-print-sheet {
    width: calc(100% - 20px);
    margin-top: 10px;
  }
}

/* Finance preview owns explicit A4 sheets; report-center print rules below stay intact. */
.ac-print-overlay { position: fixed; inset: 0; z-index: var(--ac-layer-modal-max); padding: 8px; background: rgba(0,0,0,.55); }
.ac-print-dialog { height: 100%; display: flex; flex-direction: column; background: #d6d6d6; color: #111; }
.ac-print-toolbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 12px 18px; background: white; flex-shrink: 0; }
.ac-print-toolbar strong { margin-right: auto; }
.ac-print-toolbar button, .ac-print-toolbar select, .ac-print-status button { padding: 8px 12px; border: 1px solid #777; background: white; color: #111; border-radius: 4px; }
.ac-print-toolbar button:disabled { opacity: .45; }
.ac-print-guide { padding: 0 18px 12px; background: white; color: var(--ac-text-muted, #64748b); font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; flex-shrink: 0; }
.ac-print-status { padding: 0 18px; background: white; color: #9b1c1c; }
.ac-print-status:not(:empty) { padding: 12px 18px; }
.ac-print-pages { overflow: auto; flex: 1; padding: 20px; }
.ac-print-sheet { box-sizing: border-box; width: 297mm; height: 210mm; padding: 10mm; margin: 0 auto 20px; background: white; color: black; box-shadow: 0 2px 12px #888; font: 9.5pt "Noto Sans KR", "Malgun Gothic", sans-serif; position: relative; }
.ac-print-sheet[data-orientation="portrait"] { width: 210mm; height: 297mm; }
.ac-print-head { height: 40mm; position: relative; box-sizing: border-box; }
.ac-print-heading { width: calc(100% - 65mm); height: 22mm; }
.ac-print-heading div, .ac-print-heading h2, .ac-print-head p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.ac-print-heading h2 { font-size: 18pt; line-height: 12mm; }
.ac-print-head p { height: 6mm; line-height: 6mm; font-size: 8pt; }
.ac-print-approval { position: absolute; right: 0; top: 0; width: 60mm; border-collapse: collapse; table-layout: fixed; }
.ac-print-approval th, .ac-print-approval td { border: 1px solid black; text-align: center; }
.ac-print-approval th { height: 6mm; }
.ac-print-approval td { height: 15mm; }
.ac-print-section h3 { box-sizing: border-box; height: 7mm; line-height: 7mm; font-size: 9pt; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-print-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9.5pt; }
.ac-print-table th, .ac-print-table td { box-sizing: border-box; border: 1px solid #444; padding: 0 1mm; height: 7mm; }
.ac-print-table th div { height: 6.5mm; line-height: 6.5mm; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-print-table td div { line-height: 7mm; white-space: nowrap; overflow: hidden; }
.ac-print-note { margin: 0; line-height: 7mm; }
.ac-print-toolbar input[data-print-label] { width: 6em; padding: 6px; border: 1px solid #777; }
.ac-print-table th { background: #eee; font-weight: bold; }
.ac-print-table tfoot { font-weight: bold; display: table-row-group; }
.ac-print-table tfoot td { border-top: 2px solid black; }
.ac-print-money-col { width: 30mm; }
.ac-print-table .ac-print-money { text-align: right; font-size: 9.5pt; font-variant-numeric: tabular-nums; }
.ac-print-table .ac-print-number { text-align: right; font-variant-numeric: tabular-nums; }
.ac-print-metrics th:nth-child(odd), .ac-print-metrics td:nth-child(odd) { text-align: left; }
.ac-print-metrics th:nth-child(even), .ac-print-metrics td:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.ac-print-footer { position: absolute; bottom: 10mm; left: 10mm; right: 10mm; display: flex; justify-content: space-between; border-top: 1px solid #444; padding-top: 3mm; font-size: 8pt; }
@media print {
  body.ac-print-open > :not(.ac-print-overlay) { display: none !important; }
  body.ac-print-open, body.ac-print-open .ac-print-overlay, body.ac-print-open .ac-print-dialog, body.ac-print-open .ac-print-pages { display: block !important; position: static !important; height: auto !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; background: white !important; }
  body.ac-print-open .ac-print-guide, body.ac-print-open .ac-print-toolbar, body.ac-print-open .ac-print-status { display: none !important; }
  body.ac-print-open.ac-print-blocked .ac-print-pages { display: none !important; }
  body.ac-print-open .ac-print-sheet { width: 277mm; height: 189mm; padding: 0; margin: 0; box-shadow: none; break-after: page; page-break-after: always; break-inside: avoid; }
  body.ac-print-open .ac-print-sheet[data-orientation="portrait"] { width: 190mm; height: 276mm; }
  body.ac-print-open .ac-print-sheet:last-child { break-after: auto; page-break-after: auto; }
  body.ac-print-open .ac-print-footer { bottom: 0; left: 0; right: 0; }
  body.ac-print-open .ac-print-table tr { break-inside: avoid; page-break-inside: avoid; }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body {
    background: #fff !important;
  }

  .ac-sidebar,
  .ac-header,
  .ac-error-bar,
  .ac-toast,
  .ac-report-page-head,
  .ac-report-catalog,
  .ac-report-filter-panel,
  .ac-report-security-note {
    display: none !important;
  }

  .ac-layout,
  .ac-main-wrap,
  .ac-content,
  .ac-report-center,
  #ac-report-preview {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .ac-report-document {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ac-report-section {
    padding: 14px 16px;
  }

  .ac-report-document-head {
    padding: 18px;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ac-report-metric,
  .ac-report-table th,
  .ac-report-section-head > span {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .ac-report-table-wrap {
    overflow: visible;
  }

  .ac-report-table {
    min-width: 0;
  }

  body.ac-report-printing #ac-report-preview {
    display: none !important;
  }

  body.ac-report-printing .ac-report-print-overlay {
    position: static;
    inset: auto;
    display: block !important;
    overflow: visible;
    background: #fff;
  }

  body.ac-report-printing .ac-report-print-toolbar {
    display: none !important;
  }

  body.ac-report-printing .ac-report-print-sheet {
    width: 100%;
    margin: 0;
  }
}

.ac-integration-page {
  max-width: 920px;
}

.ac-integration-card {
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 18px;
}

.ac-integration-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: #1a1a2e;
}

.ac-integration-card p {
  margin: 8px 0 0;
  color: #4b5563;
  line-height: 1.7;
  word-break: keep-all;
}

.ac-download-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(213, 175, 88, 0.38);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 15%, rgba(213, 175, 88, 0.22), transparent 28%),
    linear-gradient(135deg, #123c36 0%, #1f5b4d 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 60, 54, 0.16);
}

.ac-download-kicker {
  display: block;
  margin-bottom: 7px;
  color: #f0d892;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ac-download-hero h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.ac-download-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.ac-download-hero-stats {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  min-width: 178px;
  padding: 4px 0 4px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  column-gap: 10px;
  row-gap: 3px;
}

.ac-download-hero-stats strong {
  color: #f4d47c;
  font-size: 26px;
  line-height: 1.15;
  text-align: right;
}

.ac-download-hero-stats span {
  align-self: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.ac-download-format-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.ac-download-format-guide > div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 15px 18px;
  border: 1px solid #dce7e2;
  border-radius: 14px;
  background: #fff;
}

.ac-download-format-guide strong {
  color: #173f38;
  font-size: 14px;
}

.ac-download-format-guide span {
  color: #63716d;
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.ac-download-group {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #e1e9e6;
  border-radius: 18px;
  background: #f8faf9;
}

.ac-download-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.ac-download-group-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #dce8e3;
  border-radius: 13px;
  background: #fff;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(27, 71, 62, 0.06);
}

.ac-download-group-head h3 {
  margin: 0;
  color: #173f38;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.ac-download-group-head p {
  margin: 4px 0 0;
  color: #75817d;
  font-size: 12px;
}

.ac-download-group-count {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f0ec;
  color: #2f6257;
  font-size: 11px;
  font-weight: 800;
}

.ac-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.ac-download-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  min-height: 126px;
  background: #fff;
  border: 1px solid #dfe8e4;
  border-radius: 14px;
  padding: 17px;
  box-shadow: 0 4px 12px rgba(20, 57, 49, 0.045);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.ac-download-card:hover {
  border-color: #b9cec5;
  box-shadow: 0 8px 18px rgba(20, 57, 49, 0.08);
  transform: translateY(-1px);
}

.ac-download-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.ac-download-card-title {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px;
}

.ac-download-card h4 {
  margin: 0;
  color: #1d312d;
  font-size: 15px;
  line-height: 1.35;
}

.ac-download-sensitive {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff3e2;
  color: #8b5c12;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.ac-download-card p {
  margin: 8px 0 0;
  color: #6d7975;
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

.ac-download-event-report {
  grid-column: 1 / -1;
  align-items: center;
  min-height: 148px;
  border-color: #c7dcd3;
  background:
    linear-gradient(100deg, rgba(228, 240, 235, 0.68), rgba(255, 255, 255, 0) 52%),
    #fff;
}

.ac-download-event-report .ac-download-card-copy {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.35fr);
  align-items: end;
  gap: 5px 22px;
}

.ac-download-event-report .ac-download-card-title,
.ac-download-event-report > .ac-download-card-copy > p {
  grid-column: 1;
}

.ac-download-event-label {
  grid-column: 2;
  grid-row: 1;
  color: #31584f;
  font-size: 11px;
  font-weight: 800;
}

.ac-download-event-report select {
  grid-column: 2;
  grid-row: 2 / span 2;
  width: 100%;
  min-height: 42px;
  background-color: #fff;
}

.ac-download-event-report .ac-download-actions {
  flex-basis: 160px;
}

.ac-download-actions {
  display: flex;
  flex: 0 0 132px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.ac-download-actions .ac-btn {
  width: 100%;
  min-height: 34px;
  padding-inline: 10px;
  font-size: 11px;
  white-space: nowrap;
}

.ac-download-security-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid #eadbb6;
  border-radius: 14px;
  background: #fffaf0;
  color: #715b28;
}

.ac-download-security-note strong {
  flex: 0 0 auto;
  font-size: 13px;
}

.ac-download-security-note span {
  font-size: 12px;
  line-height: 1.55;
  word-break: keep-all;
}

@media (max-width: 900px) {
  .ac-download-hero {
    flex-direction: column;
  }

  .ac-download-hero-stats {
    grid-template-columns: auto 1fr auto 1fr;
    min-width: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .ac-download-hero-stats strong {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .ac-download-hero {
    padding: 22px;
  }

  .ac-download-format-guide {
    grid-template-columns: 1fr;
  }

  .ac-download-group {
    padding: 14px;
  }

  .ac-download-grid {
    grid-template-columns: 1fr;
  }

  .ac-download-card {
    flex-direction: column;
    min-height: 0;
  }

  .ac-download-event-report .ac-download-card-copy {
    grid-template-columns: 1fr;
  }

  .ac-download-event-label,
  .ac-download-event-report select,
  .ac-download-event-report .ac-download-card-title,
  .ac-download-event-report > .ac-download-card-copy > p {
    grid-column: 1;
    grid-row: auto;
  }

  .ac-download-actions {
    flex-basis: auto;
    flex-direction: row;
  }
}

/* ── 토스트 ──────────────────────────────────────────────────── */
.ac-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #1e2a4a;
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  z-index: var(--ac-layer-toast);
  max-width: 380px;
  word-break: keep-all;
  transition: opacity 0.3s;
}

.ac-toast[hidden] {
  display: none;
}

.ac-toast.success {
  background: #15803d;
}

.ac-toast.error {
  background: #b91c1c;
}


/* ══════════════════════════════════════════════════════════
   목록 페이지 공통 레이아웃
══════════════════════════════════════════════════════════ */

/* 목록 페이지 헤더 */
.ac-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ac-list-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ac-list-head-left h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.ac-list-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ac-info-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.ac-info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1e3a8a;
}

.ac-info-card p {
  margin: 5px 0;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

/* 건수 뱃지 */
.ac-count-badge {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── 필터 바 ─────────────────────────────────────────────── */
.ac-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ac-filter-input {
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  color: #1a1a2e;
  background: #f8fafc;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 160px;
}

.ac-filter-input.ac-filter-wide {
  min-width: 200px;
  flex: 1;
}

.ac-filter-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background: #fff;
}

.ac-filter-select {
  min-height: 44px;
  padding: 0 32px 0 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  color: #1a1a2e;
  background: #f8fafc;
  cursor: pointer;
  min-width: 140px;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.ac-filter-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
  background-color: #fff;
}

.ac-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ac-col-actions {
  white-space: nowrap;
}

.ac-import-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ac-import-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ac-import-actions .ac-form-input {
  flex: 1;
  min-width: 260px;
}

.ac-import-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ac-import-summary {
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}

.ac-import-table {
  min-width: 860px;
}

/* ── 테이블 공통 ─────────────────────────────────────────── */
.ac-table-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e5eaf3;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow-x: auto;
}

.ac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 760px;
}

.ac-table thead {
  background: #f1f5fd;
  border-bottom: 2px solid #e5eaf3;
}

.ac-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.4px;
  white-space: nowrap;
  user-select: none;
}

.ac-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  color: #1a1a2e;
  line-height: 1.5;
}

.ac-table tbody tr:last-child td {
  border-bottom: none;
}

.ac-table tbody tr:hover td {
  background: #f8fafc;
}

/* 비활성 행 */
.ac-row-inactive td {
  color: #9ca3af;
  background: #fafafa;
}

.ac-row-inactive:hover td {
  background: #f3f4f6;
}

/* 숨김 처리된 공지·일정 */
.ac-row-hidden td {
  color: #94a3b8;
  background: #f8fafc;
}

.ac-row-hidden .ac-fw-bold {
  color: #64748b;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(100, 116, 139, 0.5);
}

.ac-row-hidden.ac-row-clickable:hover {
  background-color: #f1f5f9 !important;
  box-shadow: inset 3px 0 0 #94a3b8;
}

/* 테이블 로딩/빈/오류 상태 */
.ac-table-loading {
  text-align: center;
  padding: 48px 24px !important;
  font-size: 16px;
  color: #6b7a99;
}

.ac-table-empty {
  text-align: center;
  padding: 48px 24px !important;
  font-size: 16px;
  color: #6b7a99;
}

.ac-table-error {
  text-align: center;
  padding: 48px 24px !important;
  font-size: 16px;
  color: #b91c1c;
  background: #fef2f2;
}

/* 작은 스피너 */
.ac-spinner-sm {
  display: inline-block;
  width: 20px !important;
  height: 20px !important;
  border-width: 3px !important;
  border: 3px solid #dde3f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: ac-spin 0.8s linear infinite;
  margin: 0 !important;
  vertical-align: middle;
}

/* ── 테이블 컬럼 너비 (회원) ─────────────────────────────── */
.ac-col-name     { min-width: 90px;  max-width: 130px; }
.ac-col-phone    { min-width: 120px; max-width: 150px; }
.ac-col-branch   { min-width: 70px;  max-width: 100px; }
.ac-col-position { min-width: 100px; max-width: 160px; }
.ac-col-assoc    { min-width: 140px; }
.ac-col-role     { min-width: 90px;  max-width: 110px; }
.ac-col-status   { min-width: 70px;  max-width: 90px; white-space: nowrap; }

/* ── 테이블 컬럼 너비 (임원 추가) ───────────────────────── */
.ac-col-group  { min-width: 110px; max-width: 160px; }
.ac-col-title  { min-width: 110px; max-width: 180px; }
.ac-col-type   { min-width: 90px;  max-width: 140px; }
.ac-col-sort   { min-width: 60px;  max-width: 70px;  text-align: center; }

/* ── 뱃지 시스템 ─────────────────────────────────────────── */
.ac-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.4;
}

/* 활성 상태 뱃지 */
.ac-badge.active   { background: #dcfce7; color: #15803d; }
.ac-badge.inactive { background: #fee2e2; color: #b91c1c; }
.ac-badge.hidden   { background: #e2e8f0; color: #475569; }

/* role 뱃지 */
.ac-badge.role-admin     { background: #fef3c7; color: #92400e; }
.ac-badge.role-subadmin  { background: #ede9fe; color: #5b21b6; }
.ac-badge.role-secretary { background: #dbeafe; color: #1e40af; }
.ac-badge.role-officer   { background: #d1fae5; color: #065f46; }
.ac-badge.role-member    { background: #f3f4f6; color: #374151; }

/* 임원 구분 뱃지 */
.ac-badge.manual { background: #fff7ed; color: #c2410c; }
.ac-badge.linked { background: #eff6ff; color: #1d4ed8; }

/* ── 텍스트 유틸 ─────────────────────────────────────────── */
.ac-fw-bold     { font-weight: 700; }
.ac-mono        { font-family: 'D2Coding', 'Consolas', monospace; font-size: 14px; letter-spacing: 0.3px; }
.ac-text-muted  { color: #9ca3af; font-size: 13px; }
.ac-text-center { text-align: center; }

.ac-inline-muted {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

.ac-hidden-date {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.3;
}

/* ── 연합회 직책 칩 ──────────────────────────────────────── */
.ac-pos-chip {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px 2px 2px 0;
  white-space: nowrap;
}

/* ── 임원 그룹 칩 ────────────────────────────────────────── */
.ac-group-chip {
  display: inline-block;
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── 반응형 (소형 PC / 태블릿) ─────────────────────────────── */
@media (max-width: 900px) {
  .ac-hamburger {
    display: flex;
  }

  .ac-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 300;
    box-shadow: 4px 0 16px rgba(0,0,0,0.18);
  }

  .ac-sidebar.ac-sidebar-open {
    transform: translateX(0);
  }

  .ac-main-wrap {
    width: 100%;
  }

  .ac-header {
    padding: 0 16px;
  }

  .ac-content {
    padding: 20px 16px;
  }

  .ac-header-user {
    display: none;
  }
}

@media (max-width: 640px) {
  .ac-finance-grid {
    grid-template-columns: 1fr;
  }

  .ac-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ac-recent-grid {
    grid-template-columns: 1fr;
  }

  .ac-btn-sm {
    font-size: 13px;
    padding: 0 10px;
  }
}

@media (max-width: 380px) {
  .ac-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 사이드바 오버레이 (소형 화면) ─────────────────────────── */
.ac-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 250;
}

.ac-sidebar-overlay.ac-visible {
  display: block;
}

/* ══════════════════════════════════════════════════════
   공지·일정 전용 스타일
   탭바 / 페이지네이션 / 금액 / 회비 요약 / 활동로그
══════════════════════════════════════════════════════ */

/* ── 탭바 ─────────────────────────────────────────── */
.ac-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.ac-tab {
  position: relative;
  min-height: 44px;
  padding: 0 28px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-size: 15px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border-radius: 0;
  outline: none;
}

.ac-tab:hover {
  color: #1e40af;
  background: #f1f5f9;
}

.ac-tab-active,
.ac-tab[aria-selected="true"] {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
  font-weight: 700;
}

.ac-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.ac-tab-active .ac-tab-count {
  background: #dbeafe;
  color: #1d4ed8;
}

/* ── 페이지네이션 ──────────────────────────────────── */
.ac-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 24px;
  padding: 8px 0;
}

.ac-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.ac-page-btn:hover:not(:disabled):not(.ac-page-active) {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #1e40af;
}

.ac-page-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: #f8fafc;
}

.ac-page-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.ac-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 40px;
  color: #94a3b8;
  font-size: 15px;
  user-select: none;
}

/* ── 금액 표시 ────────────────────────────────────── */
.ac-amount {
  font-family: 'Pretendard', 'Noto Sans KR', monospace, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.ac-amount-negative {
  color: #b91c1c;
}

.ac-amount-positive {
  color: #15803d;
}

.ac-text-right {
  text-align: right !important;
}

/* ── 회비 요약 그리드 ─────────────────────────────── */
.ac-pay-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ac-pay-summary-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  min-width: 0;
}

.ac-pay-summary-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-pay-summary-value {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-pay-summary-value.is-negative {
  color: #b91c1c;
}

.ac-pay-summary-value.is-positive {
  color: #15803d;
}

.ac-pay-summary-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ── 회비 필터 합계 바 ───────────────────────────── */
.ac-pay-filter-sum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #374151;
}

.ac-pay-filter-sum-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.ac-pay-filter-sum-value {
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ac-pay-filter-sum-sep {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1;
}

/* ── 뱃지 추가 클래스 ───────────────────── */
/* 회비 상태 뱃지 */
.ac-badge.complete {
  background: #d1fae5;
  color: #065f46;
}

.ac-badge.warning {
  background: #fef3c7;
  color: #92400e;
}

.ac-badge.danger {
  background: #fee2e2;
  color: #991b1b;
}

.ac-badge.info {
  background: #dbeafe;
  color: #1e40af;
}

.ac-badge.neutral {
  background: #f1f5f9;
  color: #475569;
}

/* 공지 중요 뱃지 */
.ac-badge.important {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* 활동로그 action 뱃지 */
.ac-badge.log-create   { background: #d1fae5; color: #065f46; }
.ac-badge.log-update   { background: #dbeafe; color: #1e40af; }
.ac-badge.log-delete   { background: #fee2e2; color: #991b1b; }
.ac-badge.log-deactivate { background: #fef3c7; color: #92400e; }
.ac-badge.log-role     { background: #ede9fe; color: #5b21b6; }
.ac-badge.log-pin      { background: #fce7f3; color: #9d174d; }
.ac-badge.log-status   { background: #e0f2fe; color: #0369a1; }

/* ── 공지·일정 카드 ───────────────────────────────── */
.ac-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.ac-notice-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.15s;
  min-width: 0;
}

.ac-notice-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ac-notice-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ac-notice-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.ac-notice-card-views {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #94a3b8;
}

/* ── 일정 테이블 날짜 강조 ───────────────────────── */
.ac-schedule-date {
  font-weight: 600;
  color: #1d4ed8;
  white-space: nowrap;
}

.ac-schedule-time {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

/* ── 필터 날짜 입력 ───────────────────────────────── */
.ac-filter-date {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.ac-filter-date:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

/* 기간 필터 구분자 (~) */
.ac-filter-date-sep {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 14px;
  padding: 0 2px;
  user-select: none;
  flex-shrink: 0;
}

/* ── 로딩/빈상태/에러 공통 (테이블 외 영역) ─────── */
.ac-section-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  color: #64748b;
  font-size: 15px;
}

.ac-section-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 20px;
  color: #94a3b8;
  font-size: 15px;
  text-align: center;
}

.ac-section-empty .ac-section-empty-icon {
  font-size: 32px;
  opacity: 0.5;
}

.ac-section-error {
  padding: 16px 18px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  color: #991b1b;
  font-size: 14px;
  margin-bottom: 12px;
}

/* ── 활동로그 요약 텍스트 ─────────────────────────── */
.ac-log-summary {
  font-size: 13px;
  color: #475569;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-log-ip {
  font-size: 12px;
  color: #94a3b8;
  font-family: monospace;
  white-space: nowrap;
}

/* ── 반응형 ──────────────────────────────── */
@media (max-width: 900px) {
  .ac-pay-summary-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .ac-notice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ac-tab {
    padding: 0 16px;
    font-size: 14px;
  }

  .ac-pay-summary-value {
    font-size: 17px;
  }

  .ac-page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .ac-pay-filter-sum {
    gap: 6px 12px;
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ════════════════════════════════════════
   2차-A: 행 클릭 UX
════════════════════════════════════════ */
.ac-row-clickable {
  cursor: pointer;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
  outline: none;
}

.ac-row-clickable:hover {
  background-color: #eff6ff !important;
  box-shadow: inset 3px 0 0 #3b82f6;
}

.ac-row-clickable:focus-visible {
  background-color: #dbeafe !important;
  box-shadow: inset 3px 0 0 #2563eb;
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.ac-row-clickable:active {
  background-color: #dbeafe !important;
}

/* 비활성 행 + 클릭 가능 혼합 */
.ac-row-inactive.ac-row-clickable:hover {
  background-color: #f3f4f6 !important;
  box-shadow: inset 3px 0 0 #9ca3af;
}

/* ════════════════════════════════════════
   2차-A: 상세 보기 모달 오버레이
════════════════════════════════════════ */
.ac-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  /* display: none 로 기본 숨김 — JS로 'flex' 전환 */
}

/* ════════════════════════════════════════
   2차-A: 모달 컨테이너
════════════════════════════════════════ */
.ac-modal {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ac-modal-in 0.18s ease-out;
}

@keyframes ac-modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);   }
}

/* ─── 모달 헤더 ──────────────────────── */
.ac-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #f8fafc;
  border-radius: 12px 12px 0 0;
}

.ac-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
}

.ac-modal-close {
  width: 36px;
  height: 36px;
  min-height: 44px;
  min-width: 44px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.12s, color 0.12s;
  flex-shrink: 0;
}

.ac-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

.ac-modal-close:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* ─── 모달 본문 ──────────────────────── */
.ac-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* ─── 사진 영역 ──────────────────────── */
.ac-detail-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.ac-detail-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* ─── 정보 그리드 (2열) ──────────────── */
.ac-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.ac-detail-row {
  display: contents;
}

.ac-detail-label,
.ac-detail-value {
  padding: 11px 14px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  word-break: break-all;
}

.ac-detail-label {
  background: #f8fafc;
  color: #64748b;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid #e5e7eb;
}

.ac-detail-value {
  background: #ffffff;
  color: #1e293b;
  font-size: 15px;
}

/* 마지막 행 하단 테두리 제거 */
.ac-detail-grid .ac-detail-row:last-child .ac-detail-label,
.ac-detail-grid .ac-detail-row:last-child .ac-detail-value {
  border-bottom: none;
}

/* ─── 읽기 전용 안내 문구 ─────────────── */
.ac-detail-readonly-notice {
  margin: 0;
  padding: 12px 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  color: #92400e;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* ════════════════════════════════════════
   2차-B: 공지·일정 상세/작성 모달
════════════════════════════════════════ */
.ac-modal-wide {
  max-width: 760px;
}

.ac-business-product-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ac-business-product-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.ac-detail-value-preline {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.65;
}

.ac-admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ac-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ac-form-field,
.ac-form-check {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.ac-form-field-full {
  grid-column: 1 / -1;
}

.ac-form-input,
.ac-form-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.45;
  color: #0f172a;
  background: #ffffff;
  box-sizing: border-box;
}

.ac-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.ac-form-input:focus,
.ac-form-textarea:focus {
  outline: 2px solid #bfdbfe;
  border-color: #3b82f6;
}

.ac-form-check {
  flex-direction: row;
  align-items: center;
  font-weight: 600;
}

.ac-form-check input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.ac-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.ac-image-uploader {
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f8fbff;
}

.ac-image-input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ac-image-file-box,
.ac-image-url-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ac-image-file-label {
  font-size: 13px;
  color: #475569;
  font-weight: 700;
}

.ac-image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
}

.ac-image-preview img {
  width: 120px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.ac-image-help {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

/* ─── 로딩 모달 ──────────────────────── */
.ac-modal-loading {
  max-width: 400px;
}

.ac-modal-body-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
}

.ac-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: ac-spin 0.7s linear infinite;
}

@keyframes ac-spin {
  to { transform: rotate(360deg); }
}

/* ─── 모바일 반응형 ──────────────────── */
@media (max-width: 640px) {
  .ac-modal {
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    align-self: flex-end;
    max-height: 92vh;
  }

  .ac-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .ac-detail-grid {
    grid-template-columns: 1fr;
  }

  .ac-detail-label {
    border-right: none;
    border-bottom: none;
    padding-bottom: 4px;
    color: #3b82f6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .ac-detail-value {
    padding-top: 4px;
    border-bottom: 1px solid #f1f5f9;
  }

  .ac-modal-header {
    padding: 16px 18px;
  }

  .ac-modal-body {
    padding: 16px 18px;
  }

  .ac-modal-title {
    font-size: 16px;
  }

  .ac-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ac-image-input-grid,
  .ac-image-preview {
    grid-template-columns: 1fr;
  }

  .ac-image-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .ac-image-preview img {
    width: 100%;
    height: 150px;
  }

  .ac-modal-actions {
    position: sticky;
    bottom: 0;
    margin: 0 -18px -16px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
  }

  .ac-modal-actions .ac-btn {
    flex: 1;
    min-height: 44px;
  }
}
/* 다중 콘텐츠 이미지 첨부 */
.ac-multi-image-uploader {
  gap: 10px;
}

.ac-multi-image-uploader > span small {
  display: block;
  margin-top: 4px;
  color: #7b8494;
  font-weight: 500;
}

.ac-multi-image-slot {
  padding: 12px;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  background: #fafbfc;
}

.ac-multi-image-title {
  margin-bottom: 8px;
  color: #2f3948;
  font-size: 13px;
  font-weight: 800;
}

.ac-content-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ac-content-image-grid img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e6eaf0;
  background: #f5f7fa;
}

/* 갤러리 관리 */
.ac-gallery-info-card {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ac-gallery-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.ac-gallery-thumb-empty,
.ac-gallery-thumb-broken {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
}

.ac-gallery-desc {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.ac-break-all {
  word-break: break-all;
}

.ac-donation-management {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.ac-donation-page-head {
  padding: 4px 2px 2px;
}

.ac-donation-page-head .ac-list-head-left {
  align-items: flex-start;
  flex-wrap: nowrap;
}

.ac-donation-page-head .ac-list-head-left p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.ac-donation-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  background: linear-gradient(145deg, #fff1f2, #ffe4e6);
  color: #be123c;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px #fecdd3;
}

.ac-donation-empty {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.ac-donation-empty h3 {
  color: #166534;
}

.ac-donation-form {
  gap: 20px;
}

.ac-donation-panel {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.055);
}

.ac-donation-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
}

.ac-donation-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 20px;
  font-weight: 900;
}

.ac-donation-section-head h3,
.ac-donation-qr-card-head h4 {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
}

.ac-donation-section-head h3 {
  font-size: 18px;
}

.ac-donation-section-head p,
.ac-donation-qr-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  line-height: 1.45;
}

.ac-donation-section-head p {
  font-size: 13px;
}

.ac-donation-account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ac-donation-qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ac-donation-qr-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe4ef;
  border-radius: 15px;
  background: #f8fafc;
}

.ac-donation-qr-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  margin-bottom: 15px;
}

.ac-donation-qr-card-head h4 {
  font-size: 16px;
}

.ac-donation-qr-card-head p {
  font-size: 12px;
}

.ac-donation-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  font-size: 17px;
  font-weight: 950;
}

.ac-donation-method-icon.bank {
  background: #dbeafe;
  color: #1d4ed8;
}

.ac-donation-method-icon.kakao {
  background: #fee500;
  color: #191919;
}

.ac-donation-method-icon.toss {
  background: #e8f3ff;
  color: #0064ff;
}

.ac-donation-qr-card > .ac-form-field {
  margin-bottom: 14px;
}

.ac-donation-qr-card .ac-image-uploader {
  margin: 0;
  padding: 13px;
  border-color: #dbe4ef;
  background: #ffffff;
}

.ac-donation-qr-card .ac-image-input-grid {
  grid-template-columns: 1fr;
}

.ac-donation-qr-card .ac-image-preview {
  align-items: flex-start;
  flex-direction: column;
}

.ac-donation-qr-card .ac-image-preview img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.ac-donation-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
}

.ac-donation-save-bar p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.ac-donation-save-bar .ac-btn {
  min-width: 170px;
}

@media (max-width: 1120px) {
  .ac-donation-account-grid,
  .ac-donation-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ac-donation-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .ac-donation-account-grid,
  .ac-donation-qr-grid {
    grid-template-columns: 1fr;
  }

  .ac-donation-save-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .ac-donation-save-bar .ac-btn {
    width: 100%;
  }
}

/* 향우업체 관리 */
.ac-business-thumb,
.ac-business-thumb-empty {
  width: 58px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
}

.ac-business-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ac-business-detail-photo-wrap {
  width: 100%;
  max-height: 240px;
  margin-bottom: 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-business-detail-photo {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}

.ac-business-detail-photo-wrap.is-empty {
  min-height: 120px;
}

.ac-business-owner-box {
  border: 1px solid #dbeafe;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
}

.ac-business-owner-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0f172a;
}

.ac-business-owner-head p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13px;
}

.ac-business-owner-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ac-business-owner-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  color: #64748b;
  font-size: 13px;
}

.ac-business-owner-result {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  color: #334155;
}

.ac-business-owner-result:hover,
.ac-business-owner-result:focus-visible {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ac-business-owner-name {
  font-weight: 800;
  color: #0f172a;
}

.ac-business-owner-empty {
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
}

.ac-business-owner-selected {
  margin-top: 10px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
}

.ac-business-owner-selected.is-empty {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #64748b;
}

.ac-business-owner-selected-label {
  font-size: 12px;
  font-weight: 800;
}

.ac-business-create-preview {
  width: 100%;
  min-height: 150px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ac-business-create-preview img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.ac-form-message {
  min-height: 20px;
  color: #475569;
  font-size: 14px;
}

.ac-form-message.is-error {
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 720px) {
  .ac-business-owner-search,
  .ac-business-owner-result {
    grid-template-columns: 1fr;
  }
}

/* 제품판매 문의 관리 */
.ac-bp-inquiries-admin{display:flex;flex-direction:column;gap:12px;margin:8px 0 18px}.ac-bp-inquiry-admin,.ac-bp-answer-admin{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:12px;overflow-wrap:anywhere;word-break:break-word}.ac-bp-inquiry-admin.is-hidden,.ac-bp-answer-admin.is-hidden{background:#fff7ed;border-color:#fed7aa}.ac-bp-inquiry-admin-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.ac-bp-inquiry-admin-head strong{font-size:14px}.ac-bp-inquiry-admin-head span,.ac-bp-inquiry-status,.ac-bp-inquiry-admin small{color:#64748b;font-size:12px}.ac-bp-inquiry-admin p,.ac-bp-answer-admin p{line-height:1.55;white-space:normal}.ac-bp-answer-admin{margin-top:10px;background:#f8fafc}.ac-bp-inquiry-admin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ac-bp-hide-box{margin-top:10px;display:flex;flex-direction:column;gap:8px}.ac-empty-box{border:1px dashed #d1d5db;border-radius:10px;padding:16px;text-align:center;color:#64748b;background:#f8fafc}@media(max-width:640px){.ac-bp-inquiry-admin-actions .ac-btn,.ac-bp-hide-box .ac-btn{width:100%;justify-content:center}}

/* 공동구매 관리자 */
.ac-gb-filter-bar{align-items:stretch}.ac-gb-filter-bar .ac-filter-input{min-width:260px}.ac-gb-table td{vertical-align:middle}.ac-gb-thumb{width:56px;height:56px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#64748b;font-weight:800}.ac-gb-thumb img{width:100%;height:100%;object-fit:cover;display:block}.ac-gb-thumb.has-image .ac-gb-thumb-fallback{display:none}.ac-gb-more-row{display:flex;justify-content:center;margin-top:14px}.ac-page-help{margin:0 0 14px;color:#64748b;font-size:14px}.ac-gb-modal-overlay{z-index:1000}.ac-gb-detail-modal{max-width:980px}.ac-gb-detail-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-bottom:16px}.ac-gb-detail-image{min-height:120px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#64748b;font-weight:800}.ac-gb-detail-image img{width:100%;height:100%;min-height:120px;object-fit:cover;display:block}.ac-gb-detail-image.has-image .ac-gb-thumb-fallback{display:none}.ac-gb-detail-grid .ac-detail-field strong{overflow-wrap:anywhere;word-break:break-word}.ac-gb-detail-text{line-height:1.65;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.ac-gb-participants-table-wrap{margin-top:10px;overflow-x:auto}.ac-gb-participants-table th,.ac-gb-participants-table td{white-space:nowrap}.ac-gb-participants-table tr.is-cancelled{opacity:.7}.ac-gb-reason-panel{border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;padding:14px;margin-top:16px;display:flex;flex-direction:column;gap:10px}.ac-gb-reason-panel[hidden]{display:none}.ac-gb-reason-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}@media(max-width:760px){.ac-gb-filter-bar .ac-filter-input,.ac-gb-filter-bar .ac-filter-select,.ac-gb-filter-bar .ac-btn{width:100%;min-width:0}.ac-gb-detail-modal{max-width:calc(100vw - 24px)}.ac-gb-detail-images{grid-template-columns:1fr 1fr}.ac-gb-reason-actions .ac-btn{flex:1 1 140px}}
.ac-gb-create-form{display:grid;gap:14px}.ac-gb-create-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.ac-gb-create-preview{position:relative;min-height:112px;border:1px solid #d7dde5;border-radius:10px;overflow:hidden;background:#f8fafc}.ac-gb-create-preview img{width:100%;height:86px;object-fit:cover;display:block}.ac-gb-create-preview span{display:block;padding:6px 8px;font-size:12px;font-weight:700;color:#334155}.ac-gb-create-preview button{position:absolute;top:6px;right:6px;width:28px;height:28px;border:0;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;cursor:pointer}.ac-gb-comments-table td{vertical-align:top;white-space:normal}

/* 구인·구직·소개 관리 */
.ac-jobs-settings{align-items:center}.ac-jobs-settings label,.ac-check-row{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:#334155}.ac-jobs-filter-bar{display:flex;align-items:center;gap:12px}.ac-jobs-filter-bar .ac-input{min-height:48px;border-radius:10px;padding:0 15px;font-size:16px}.ac-jobs-filter-bar input[type=search]{flex:1 1 360px;min-width:260px}.ac-jobs-filter-bar select{flex:0 0 180px}.ac-jobs-filter-bar .ac-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.14);outline:0}.ac-admin-create-modal{width:min(820px,calc(100vw - 32px));max-width:820px;max-height:calc(100vh - 48px);overflow:hidden}.ac-admin-create-modal .ac-modal-header{border-bottom:1px solid #e5e7eb}.ac-admin-create-form{display:flex;flex-direction:column;min-height:0;max-height:calc(100vh - 48px)}.ac-admin-create-body{padding:18px;display:flex;flex-direction:column;gap:16px;overflow-y:auto}.ac-admin-create-section{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:14px}.ac-admin-create-section h3{margin:0;color:#0f172a;font-size:16px;font-weight:800}.ac-admin-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}.ac-admin-create-field{display:flex;flex-direction:column;gap:8px;color:#334155;font-size:15px;font-weight:800}.ac-admin-create-field[hidden]{display:none}.ac-admin-create-field-wide{grid-column:1/-1}.ac-admin-create-field .ac-input:not([type=checkbox]):not([type=radio]),.ac-admin-create-field input:not([type=checkbox]):not([type=radio]),.ac-admin-create-field select,.ac-admin-create-field textarea{width:100%;min-height:48px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font-size:16px;padding:0 14px}.ac-admin-create-field select{appearance:auto;line-height:1.2}.ac-admin-create-field textarea{min-height:150px;padding:14px;line-height:1.55;resize:vertical}.ac-admin-create-field .ac-input:focus,.ac-admin-create-field input:focus,.ac-admin-create-field select:focus,.ac-admin-create-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.14);outline:0}.ac-admin-file-box{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 12px}.ac-admin-file-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ac-admin-file-button{min-height:48px;padding:0 18px;border-radius:10px;border:1px solid #2563eb;background:#eff6ff;color:#1d4ed8;font-size:16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.ac-admin-file-button:focus-within,.ac-admin-file-input:focus+.ac-admin-file-button{outline:3px solid rgba(37,99,235,.16);outline-offset:2px}.ac-admin-file-status{min-width:0;color:#334155;font-size:15px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ac-admin-file-box small{grid-column:1/-1;color:#64748b;font-size:13px}.ac-admin-consent-box{border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;padding:14px 15px;display:flex;align-items:flex-start;gap:11px;color:#1e3a8a;font-size:15px;font-weight:800;line-height:1.45;cursor:pointer}.ac-admin-consent-box input{width:18px;height:18px;margin-top:2px;flex:0 0 auto}.ac-admin-create-actions{border-top:1px solid #e5e7eb;background:#f8fafc;padding:14px 18px;margin:0;justify-content:flex-end;gap:10px}.ac-admin-create-actions .ac-btn{min-height:48px;font-size:16px;border-radius:10px;padding:0 18px}.ac-image-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-bottom:12px}.ac-image-strip img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc}
@media(max-width:900px){.ac-jobs-filter-bar{flex-wrap:wrap}.ac-jobs-filter-bar input[type=search]{flex:1 1 100%;min-width:0}.ac-jobs-filter-bar select{flex:1 1 180px}}
@media(max-width:760px){.ac-admin-create-modal{width:calc(100vw - 28px);max-height:calc(100vh - 28px)}.ac-admin-create-form{max-height:calc(100vh - 28px)}.ac-admin-create-body{padding:14px}.ac-admin-create-section{padding:14px}.ac-admin-create-grid{grid-template-columns:1fr}.ac-admin-create-field-wide{grid-column:auto}.ac-admin-create-actions{padding:12px 14px}.ac-admin-create-actions .ac-btn{flex:1 1 0}.ac-admin-file-box{grid-template-columns:1fr}.ac-admin-file-button{width:100%}.ac-admin-file-status{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:430px){.ac-jobs-filter-bar .ac-input,.ac-jobs-filter-bar select{width:100%;flex-basis:100%;min-width:0}.ac-admin-create-section h3{font-size:15px}.ac-admin-create-field,.ac-admin-consent-box{font-size:15px}}

/* 정책문서 관리 */
.ac-policy-form #ac-policy-body{min-height:320px}
.ac-policy-meta{font-size:14px;font-weight:700;color:#475569}

/* FAQ/브리핑 독 관리 */
.ac-faq-briefing-management .ac-list-head{align-items:flex-start}.ac-fb-tabs{display:flex;gap:8px;margin:14px 0}.ac-fb-tab{min-height:42px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-size:15px;font-weight:800;padding:0 16px;cursor:pointer}.ac-fb-tab.is-active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.ac-fb-filter-bar{margin-bottom:14px}.ac-fb-summary{margin:8px 0 12px;color:#475569;font-size:14px;font-weight:800}.ac-fb-list{display:flex;flex-direction:column;gap:10px}.ac-fb-card{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:14px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center}.ac-fb-card-title{color:#0f172a;font-size:16px;font-weight:900;line-height:1.4;overflow-wrap:anywhere}.ac-fb-card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;color:#64748b;font-size:13px;font-weight:700}.ac-fb-card-meta span{border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;padding:3px 8px}.ac-fb-card-order label{display:flex;align-items:center;gap:7px;color:#475569;font-size:13px;font-weight:800}.ac-fb-card-order input{width:86px;min-height:38px;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px;font-size:15px}.ac-fb-card-actions{display:flex;gap:8px;justify-content:flex-end}.ac-fb-form textarea#acFbBody{min-height:300px}.ac-fb-form #acFbTitle{min-height:48px}@media(max-width:900px){.ac-fb-card{grid-template-columns:1fr}.ac-fb-card-order,.ac-fb-card-actions{justify-content:flex-start}.ac-fb-card-actions .ac-btn{flex:1 1 0}.ac-fb-card-order label{flex:1}.ac-fb-card-order input{flex:1;min-width:0}}
/* 참석·QR출석 관리 */
.ac-attendance-page{display:grid;gap:20px}
.ac-attendance-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 2px}
.ac-attendance-header h2{margin:4px 0 8px;font-size:28px;color:#173f30}
.ac-attendance-header p{margin:0;color:#66736d}
.ac-eyebrow{margin:0!important;font-size:11px!important;font-weight:800;letter-spacing:.14em;color:#2b7a58!important}
.ac-attendance-filter-card{padding:20px}
.ac-attendance-filter-card .ac-filter-row{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(4,minmax(140px,1fr)) auto;align-items:end;gap:12px}
.ac-attendance-filter-card label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#40534b}
.ac-attendance-filter-card .ac-filter-actions{display:flex;gap:8px}
.ac-attendance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ac-attendance-stat{position:relative;overflow:hidden;display:grid;gap:5px;padding:20px 22px;border:1px solid #dfe9e3;border-radius:18px;background:linear-gradient(145deg,#fff,#f7fbf8);box-shadow:0 8px 24px rgba(27,76,55,.06)}
.ac-attendance-stat:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#64766e}
.ac-attendance-stat.is-blue:before{background:#3778c2}.ac-attendance-stat.is-green:before{background:#279665}.ac-attendance-stat.is-amber:before{background:#d9972b}
.ac-attendance-stat span{font-size:12px;font-weight:800;color:#5f7069}.ac-attendance-stat strong{font-size:28px;line-height:1;color:#173f30}.ac-attendance-stat small{font-size:12px;color:#87938e}
.ac-attendance-table-card{overflow:hidden}.ac-attendance-table-card .ac-table-header{padding:20px 22px 14px}.ac-attendance-table-card h3{margin:0 0 5px}.ac-attendance-table-card p{margin:0;color:#7b8983;font-size:13px}
.ac-attendance-table td{vertical-align:middle}.ac-attendance-table td strong,.ac-attendance-table td small{display:block}.ac-attendance-table td small{margin-top:4px;color:#7f8b86}
.ac-attendance-rate{width:90px;height:7px;overflow:hidden;border-radius:999px;background:#e7eeea}.ac-attendance-rate span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d8d62,#51b486)}
.ac-attendance-modal{display:flex;flex-direction:column;width:min(1440px,calc(100vw - 48px));max-width:1440px;max-height:calc(100vh - 42px)}
.ac-attendance-modal-header{align-items:flex-start}.ac-attendance-modal-header>div{min-width:0}.ac-attendance-modal-header h2{margin:3px 0 7px}.ac-attendance-modal-header p{margin:0;color:#718078}
.ac-attendance-detail-body{display:grid;grid-auto-rows:max-content;align-content:start;gap:18px;min-height:0;overflow:auto;background:#f5f8f6}
.ac-attendance-modal .ac-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto}
.ac-attendance-summary.is-detail{grid-template-columns:repeat(4,minmax(0,1fr))}
.ac-attendance-manual{display:grid;grid-template-columns:minmax(240px,1fr) minmax(360px,1.4fr);gap:18px;align-items:center;padding:20px}
.ac-attendance-manual h3,.ac-attendance-detail-toolbar h3{margin:0 0 5px;color:#183e30}.ac-attendance-manual p,.ac-attendance-detail-toolbar p{margin:0;color:#748079;font-size:13px}
.ac-attendance-member-search{display:grid;grid-template-columns:1fr auto;gap:8px}
.ac-attendance-search-results{grid-column:1/-1;display:grid;gap:8px}
.ac-attendance-search-member{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #dce7e1;border-radius:12px;background:#fff}
.ac-attendance-search-member strong,.ac-attendance-search-member span{display:block}.ac-attendance-search-member span{margin-top:3px;font-size:12px;color:#76827c}
.ac-attendance-detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}.ac-attendance-detail-toolbar>div:last-child{display:flex;gap:8px}
.ac-attendance-roster-table td strong,.ac-attendance-roster-table td small{display:block}.ac-attendance-roster-table td small{margin-top:4px;color:#7c8983}
.ac-attendance-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:4px 2px}
.ac-attendance-pagination-info{color:#52625b;font-size:13px}.ac-attendance-pagination-info strong{color:#173f30}
.ac-attendance-pagination-buttons{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.ac-attendance-pagination .ac-btn[disabled]{opacity:.45;cursor:not-allowed}
.ac-success-text{color:#1c8256!important}.ac-muted{color:#7d8984}.ac-empty-state.is-error{color:#b33a3a}
@media(max-width:1100px){
  .ac-attendance-filter-card .ac-filter-row{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ac-attendance-filter-card .ac-filter-actions{grid-column:auto}
  .ac-attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ac-attendance-pagination{justify-content:center}.ac-attendance-pagination-info{width:100%;text-align:center}
}

/* 행사 등록·수정 전용 폼 */
.ac-event-form-modal{
  width:min(1000px,calc(100vw - 48px));
  max-width:1000px;
  max-height:calc(100vh - 36px);
  border:1px solid rgba(20,77,58,.16);
  border-radius:22px;
  box-shadow:0 28px 70px rgba(15,48,38,.24);
}
.ac-event-form-modal .ac-modal-header{
  min-height:82px;
  padding:17px 22px;
  border-bottom:3px solid #d8b35d;
  background:linear-gradient(120deg,#123f35 0%,#1d5b48 62%,#236d51 100%);
}
.ac-event-modal-heading{display:flex;align-items:center;gap:14px;min-width:0}
.ac-event-modal-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:15px;
  background:rgba(255,255,255,.12);
  font-size:23px;
}
.ac-event-modal-heading .ac-modal-title{margin:0;color:#fff;font-size:22px;letter-spacing:-.02em}
.ac-event-modal-heading p{margin:5px 0 0;color:rgba(255,255,255,.74);font-size:13px;font-weight:650}
.ac-event-form-modal .ac-modal-close{
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.1);
  color:#fff;
}
.ac-event-form-modal .ac-modal-close:hover{background:rgba(255,255,255,.2)}
.ac-event-form-modal .ac-admin-create-form{max-height:calc(100vh - 36px)}
.ac-event-form-modal .ac-admin-create-body{
  gap:18px;
  padding:22px;
  background:#f3f7f5;
  scrollbar-color:#8da69c transparent;
  scrollbar-width:thin;
}
.ac-event-form-modal .ac-admin-create-section{
  gap:18px;
  padding:22px;
  border-color:#dce7e1;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(29,86,66,.055);
}
.ac-event-section-head{
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding-bottom:15px;
  border-bottom:1px solid #e4ece8;
}
.ac-event-section-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:12px;
  background:#e8f3ed;
  color:#1b694b;
  font-size:13px;
  font-weight:900;
}
.ac-event-section-head h3{margin:0!important;color:#173f30!important;font-size:17px!important}
.ac-event-section-head p{margin:5px 0 0;color:#718078;font-size:13px;line-height:1.45}
.ac-event-form-modal .ac-admin-create-grid{gap:17px 18px}
.ac-event-form-modal .ac-admin-create-field{gap:9px;color:#344b42;font-size:14px}
.ac-event-form-modal .ac-admin-create-field b{color:#c24135}
.ac-event-form-modal .ac-admin-create-field .ac-form-input,
.ac-event-form-modal .ac-admin-create-field input:not([type=checkbox]),
.ac-event-form-modal .ac-admin-create-field select,
.ac-event-form-modal .ac-admin-create-field textarea{
  border-color:#cbdad3;
  border-radius:12px;
  background:#fbfdfc;
}
.ac-event-form-modal .ac-admin-create-field .ac-form-input:focus,
.ac-event-form-modal .ac-admin-create-field input:not([type=checkbox]):focus,
.ac-event-form-modal .ac-admin-create-field select:focus,
.ac-event-form-modal .ac-admin-create-field textarea:focus{
  border-color:#2b8060;
  box-shadow:0 0 0 3px rgba(43,128,96,.14);
}
.ac-event-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ac-event-single-toggle{max-width:540px}
.ac-event-toggle{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:86px;
  padding:15px 16px;
  border:1px solid #d7e4de;
  border-radius:15px;
  background:linear-gradient(145deg,#fff,#f8fbf9);
  cursor:pointer;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.ac-event-toggle:hover{border-color:#8db9a5;box-shadow:0 8px 18px rgba(30,100,73,.08);transform:translateY(-1px)}
.ac-event-toggle:has(>input:checked){border-color:#6ea88d;background:linear-gradient(145deg,#f7fcf9,#eef8f2)}
.ac-event-form-modal .ac-event-toggle>input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden;
  clip:rect(0 0 0 0);
  opacity:0;
}
.ac-event-toggle-control{
  position:relative;
  grid-column:2;
  grid-row:1;
  width:48px;
  height:27px;
  border:1px solid #b9c8c1;
  border-radius:999px;
  background:#dfe7e3;
  transition:background .18s ease,border-color .18s ease;
}
.ac-event-toggle-control::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:19px;
  height:19px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(15,49,38,.25);
  transition:transform .18s ease;
}
.ac-event-toggle>input:checked+.ac-event-toggle-control{border-color:#1f7554;background:#1f7554}
.ac-event-toggle>input:checked+.ac-event-toggle-control::after{transform:translateX(21px)}
.ac-event-toggle>input:focus-visible+.ac-event-toggle-control{outline:3px solid rgba(43,128,96,.2);outline-offset:3px}
.ac-event-toggle-copy{display:flex;align-items:center;gap:12px;min-width:0;grid-column:1;grid-row:1}
.ac-event-toggle-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:11px;
  background:#eef3f0;
  font-size:18px;
}
.ac-event-toggle-copy strong,.ac-event-toggle-copy small{display:block}
.ac-event-toggle-copy strong{color:#24473a;font-size:14px;font-weight:900}
.ac-event-toggle-copy small{margin-top:4px;color:#74827c;font-size:12px;font-weight:650;line-height:1.4}
.ac-event-toggle>input:checked~.ac-event-toggle-copy .ac-event-toggle-icon{background:#d8eee2}
.ac-event-optional-section{background:linear-gradient(180deg,#fff,#fcfdfc)!important}
.ac-event-repeat-row{
  margin-top:12px;
  padding:17px;
  border:1px solid #dce7e1;
  border-radius:14px;
  background:#f8fbf9;
}
.ac-event-repeat-row>.ac-admin-create-actions{
  grid-column:1/-1;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
}
.ac-event-repeat-row>.ac-admin-create-actions .ac-event-remove-btn{
  min-height:38px;
  padding:0 13px;
  border-color:#e8b7b4;
  background:#fff;
  color:#b33b35;
  font-size:13px;
}
.ac-event-add-actions{display:flex;justify-content:flex-start;padding-top:2px}
.ac-event-add-actions .ac-btn{
  min-height:42px;
  border-color:#80ab98;
  border-radius:11px;
  background:#f6fbf8;
  color:#206849;
  font-weight:850;
}
.ac-event-form-modal>.ac-admin-create-form>.ac-modal-actions{
  flex:0 0 auto;
  padding:15px 22px;
  border-top:1px solid #dce6e1;
  background:#fff;
  box-shadow:0 -10px 24px rgba(23,63,48,.055);
}
.ac-event-form-modal .ac-btn-primary{border-color:#1f6e50;background:#1f6e50;color:#fff}
.ac-event-form-modal .ac-btn-primary:hover{border-color:#18583f;background:#18583f}
.ac-event-form-modal>.ac-admin-create-form>.ac-modal-actions .ac-btn{min-width:112px}
@media(max-width:760px){
  .ac-event-form-modal{width:calc(100vw - 22px);max-height:calc(100vh - 22px);border-radius:17px}
  .ac-event-form-modal .ac-modal-header{min-height:72px;padding:13px 15px}
  .ac-event-modal-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .ac-event-modal-heading .ac-modal-title{font-size:19px}
  .ac-event-modal-heading p{display:none}
  .ac-event-form-modal .ac-admin-create-body{padding:13px}
  .ac-event-form-modal .ac-admin-create-section{padding:16px}
  .ac-event-toggle-grid{grid-template-columns:1fr}
  .ac-event-single-toggle{max-width:none}
  .ac-event-toggle{min-height:78px;padding:13px}
  .ac-event-form-modal>.ac-admin-create-form>.ac-modal-actions{padding:12px 14px}
}

/* ═══════════════════════════════════════════════════════════
   고향콘텐츠 관리
   ═══════════════════════════════════════════════════════════ */
.ac-hometown-admin{display:grid;gap:18px}
.ac-hometown-admin-head{align-items:center;padding:22px;border:1px solid #dbe8e1;border-radius:18px;background:linear-gradient(135deg,#fff,#f3faf6)}
.ac-hometown-admin-head .ac-list-head-left{display:flex;align-items:center;gap:14px}
.ac-hometown-title-icon,.ac-hometown-modal-icon{width:50px;height:50px;display:grid;place-items:center;flex:none;border-radius:15px;background:linear-gradient(145deg,#155f47,#1f7958);color:#fff;font-size:23px;box-shadow:0 9px 20px rgba(21,95,71,.2)}
.ac-hometown-admin-head h2{margin:0 0 5px;color:#173b31;font-size:24px}
.ac-hometown-admin-head p{margin:0;color:#718078;line-height:1.5}
.ac-hometown-head-actions{display:flex;gap:9px}
.ac-hometown-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ac-hometown-summary-grid article{padding:18px;border:1px solid #dbe8e1;border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(22,82,62,.06)}
.ac-hometown-summary-grid span,.ac-hometown-summary-grid small{display:block;color:#7b8983;font-size:12px}
.ac-hometown-summary-grid strong{display:block;margin:7px 0 5px;color:#185a43;font-size:29px}
.ac-hometown-summary-grid small{font-size:11px}
.ac-hometown-sync-card{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(300px,1fr) auto;align-items:center;gap:18px;padding:18px 20px;border:1px solid #cfe3d8;background:linear-gradient(135deg,#f1faf5,#fff)}
.ac-hometown-sync-card.is-unconfigured{border-color:#eadfbe;background:linear-gradient(135deg,#fff9e9,#fff)}
.ac-hometown-sync-main{display:flex;align-items:center;gap:13px;min-width:0}
.ac-hometown-sync-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:13px;background:#e0f1e8;font-size:21px}
.ac-hometown-sync-card.is-unconfigured .ac-hometown-sync-icon{background:#f7edce}
.ac-hometown-sync-main h3{margin:0 0 5px;color:#214b3b;font-size:15px}
.ac-hometown-sync-main p{margin:0;color:#6d7e76;font-size:12px;line-height:1.5}
.ac-hometown-sync-meta{display:flex;flex-wrap:wrap;gap:7px 16px;color:#74827b;font-size:11px}
.ac-hometown-sync-meta span{white-space:nowrap}
.ac-hometown-sync-meta strong{color:#31574a}
.ac-hometown-sync-meta .is-error{flex-basis:100%;color:#a44747;white-space:normal}
.ac-hometown-feed-status{display:flex;flex-direction:column;gap:4px;grid-column:2;color:#6e7d76;font-size:11px;line-height:1.45}
.ac-hometown-feed-status span{padding-left:9px;border-left:2px solid #9ac8b4}
.ac-hometown-feed-status span.is-error{border-left-color:#d78b82;color:#a44747}
.ac-hometown-sync-card .ac-btn:disabled{cursor:not-allowed;opacity:.55}
.ac-hometown-view-tabs{display:flex;gap:7px;padding:5px;border-radius:13px;background:#eaf2ed;width:max-content}
.ac-hometown-view-tabs button{min-height:40px;padding:0 18px;border:0;border-radius:10px;background:transparent;color:#607169;font-weight:800}
.ac-hometown-view-tabs button.is-active{background:#fff;color:#185e45;box-shadow:0 4px 12px rgba(24,94,69,.12)}
.ac-hometown-filter-card{padding:16px}
.ac-hometown-filters{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,.9fr) minmax(150px,.7fr) auto auto;gap:9px}
.ac-hometown-filters input,.ac-hometown-filters select{min-height:44px;padding:0 12px;border:1px solid #cedbd4;border-radius:10px;background:#fff}
.ac-hometown-list-card{overflow:hidden;padding:0}
.ac-hometown-table td strong{display:block;max-width:360px;overflow:hidden;color:#243c33;text-overflow:ellipsis;white-space:nowrap}
.ac-hometown-table td small{display:block;max-width:420px;margin-top:5px;overflow:hidden;color:#7e8b85;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.ac-hometown-category{display:inline-flex;padding:5px 9px;border-radius:10px;background:#edf3ef;color:#426257;font-size:11px;font-weight:800;white-space:nowrap}
.ac-hometown-category.is-restaurant{background:#fff2d7;color:#95651a}
.ac-hometown-category.is-festival{background:#f3e9ff;color:#7042a1}
.ac-hometown-category.is-event{background:#e4f2ff;color:#28678e}
.ac-hometown-category.is-stay{background:#e8f0ff;color:#355f9a}
.ac-hometown-category.is-news{background:#e7f5ed;color:#25724f}
.ac-hometown-featured{display:inline-flex;margin-left:5px;padding:4px 7px;border-radius:9px;background:#fff2bf;color:#8c6411;font-size:10px;font-weight:800}
.ac-hometown-row-actions{display:flex;gap:6px;white-space:nowrap}
.ac-hometown-region-guide{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-color:#d6e6dd;background:linear-gradient(135deg,#f4fbf7,#fff)}
.ac-hometown-region-guide h3{margin:0 0 6px;color:#20503f}
.ac-hometown-region-guide p{margin:0;color:#708078}
.ac-hometown-region-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.ac-hometown-region-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid #dbe7e1;border-radius:14px;background:#fff}
.ac-hometown-region-card.is-inactive{opacity:.62;background:#f5f6f5}
.ac-hometown-region-card>div:first-child{min-width:0}
.ac-hometown-region-card span{color:#88968f;font-size:10px;font-weight:700}
.ac-hometown-region-card h3{margin:4px 0;color:#263d34;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-hometown-region-card p{margin:0;color:#8b9892;font-size:10px}
.ac-hometown-region-card>div:last-child{display:grid;justify-items:end;gap:8px}
.ac-hometown-modal-overlay{position:fixed;inset:0;z-index:10020;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:24px;overflow:auto;background:rgba(15,35,29,.58);backdrop-filter:blur(4px)}
.ac-hometown-modal{width:min(940px,calc(100vw - 40px));max-height:94vh;overflow:hidden;border-radius:20px}
.ac-hometown-region-modal{width:min(680px,calc(100vw - 40px));border-radius:20px}
.ac-hometown-modal .ac-admin-create-header,.ac-hometown-region-modal .ac-admin-create-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:3px solid #c49a36;background:linear-gradient(135deg,#124b3c,#1a6a4c);color:#fff}
.ac-hometown-modal .ac-admin-create-header>div,.ac-hometown-region-modal .ac-admin-create-header>div{display:flex;align-items:center;gap:13px}
.ac-hometown-modal .ac-admin-create-header h2,.ac-hometown-region-modal .ac-admin-create-header h2{margin:0;font-size:21px}
.ac-hometown-modal .ac-admin-create-header p,.ac-hometown-region-modal .ac-admin-create-header p{margin:4px 0 0;color:rgba(255,255,255,.72);font-size:12px}
.ac-hometown-modal-icon{width:43px;height:43px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);box-shadow:none}
.ac-hometown-modal .ac-admin-create-close,.ac-hometown-region-modal .ac-admin-create-close{color:#fff;background:rgba(255,255,255,.1)}
.ac-hometown-form,.ac-hometown-region-modal .ac-admin-create-form{display:flex;flex-direction:column;max-height:calc(94vh - 82px)}
.ac-hometown-form .ac-admin-create-body,.ac-hometown-region-modal .ac-admin-create-body{overflow-y:auto;padding:18px;background:#f3f7f5}

/* 공지·일정 작성창: 행사등록과 동일한 관리자 폼 체계 */
.ac-notice-schedule-form-modal .ac-admin-create-body{background:#f3f7f5}
.ac-notice-schedule-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ac-notice-schedule-toggle-grid .ac-form-check{min-height:92px;padding:16px;border:1px solid #d6e2dc;border-radius:15px;background:#fff;align-items:flex-start}
.ac-notice-schedule-toggle-grid .ac-form-check span{display:flex;flex-direction:column;gap:4px}
.ac-notice-schedule-toggle-grid .ac-form-check strong{color:#183f32;font-size:15px}
.ac-notice-schedule-toggle-grid .ac-form-check small{color:#687b73;font-size:13px;line-height:1.45}
@media(max-width:760px){.ac-notice-schedule-toggle-grid{grid-template-columns:1fr}}
.ac-hometown-form .ac-admin-create-section{padding:18px;border:1px solid #dde8e2;border-radius:15px;background:#fff}
.ac-hometown-form .ac-admin-create-section+ .ac-admin-create-section{margin-top:13px}
.ac-hometown-form .ac-admin-create-section h3{margin:0 0 14px;color:#1f4c3b;font-size:16px}
.ac-hometown-publish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ac-hometown-publish-grid label{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #d8e5df;border-radius:13px;background:#f8fbf9}
.ac-hometown-publish-grid input{width:20px;height:20px;accent-color:#1e7655}
.ac-hometown-publish-grid span{display:grid;gap:3px}
.ac-hometown-publish-grid strong{color:#29483c}
.ac-hometown-publish-grid small{color:#7a8982}
.ac-hometown-modal .ac-admin-create-actions,.ac-hometown-region-modal .ac-admin-create-actions{flex:none;padding:14px 20px;border-top:1px solid #dbe6e0;background:#fff}
@media(max-width:1000px){
  .ac-hometown-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ac-hometown-sync-card{grid-template-columns:1fr auto}
  .ac-hometown-sync-meta{grid-column:1/-1;grid-row:2}
  .ac-hometown-feed-status{grid-column:1/-1}
  .ac-hometown-region-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ac-hometown-filters{grid-template-columns:1fr 1fr 1fr;}
}
@media(max-width:720px){
  .ac-hometown-admin-head{align-items:flex-start;flex-direction:column}
  .ac-hometown-head-actions{width:100%}
  .ac-hometown-head-actions .ac-btn{flex:1}
  .ac-hometown-summary-grid,.ac-hometown-region-grid,.ac-hometown-publish-grid{grid-template-columns:1fr}
  .ac-hometown-sync-card{grid-template-columns:1fr}
  .ac-hometown-sync-meta{grid-column:auto;grid-row:auto}
  .ac-hometown-feed-status{grid-column:auto}
  .ac-hometown-sync-card .ac-btn{width:100%}
  .ac-hometown-filters{grid-template-columns:1fr}
  .ac-hometown-region-guide{align-items:flex-start;flex-direction:column}
  .ac-hometown-modal,.ac-hometown-region-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}
}
.ac-system-readonly-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-bottom: 1px solid #d7bd75;
  background: #fff8df;
  color: #654d12;
  font-size: 13px;
}

.ac-system-readonly-banner strong {
  flex: 0 0 auto;
  color: #3e5d52;
}

.ac-system-readonly-banner[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .ac-system-readonly-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 9px 14px;
  }
}

/* ════════════════════════════════════════
   관리자센터 사용가이드
════════════════════════════════════════ */
.ac-guide-page {
  --guide-navy: #0c3048;
  --guide-green: #176a56;
  --guide-gold: #b2872c;
  display: grid;
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
  color: #172b39;
}

.ac-guide-page > * {
  min-width: 0;
}

.ac-guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 30px;
  align-items: center;
  min-height: 310px;
  padding: 38px 42px;
  overflow: hidden;
  border: 1px solid rgba(18, 87, 70, .2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 8%, rgba(215, 181, 91, .2), transparent 32%),
    linear-gradient(135deg, #f8fbfa 0%, #edf5f2 58%, #fff8e4 100%);
  box-shadow: 0 18px 44px rgba(20, 55, 65, .11);
}

.ac-guide-hero-copy {
  position: relative;
  z-index: 1;
}

.ac-guide-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--guide-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.ac-guide-hero h2 {
  margin: 0;
  color: var(--guide-navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.ac-guide-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #506673;
  font-size: 17px;
  line-height: 1.75;
}

.ac-guide-version {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ac-guide-version span {
  padding: 7px 11px;
  border: 1px solid rgba(23, 106, 86, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #47616b;
  font-size: 12px;
  font-weight: 700;
}

.ac-guide-hero-image {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(12, 48, 72, .13);
}

.ac-guide-search-wrap,
.ac-guide-quick,
.ac-guide-basics,
.ac-guide-media,
.ac-guide-library {
  padding: 28px;
  border: 1px solid #dce6e2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 55, 65, .06);
}

.ac-guide-search-wrap > label {
  display: block;
  margin-bottom: 12px;
  color: var(--guide-navy);
  font-size: 20px;
  font-weight: 900;
}

.ac-guide-search-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 2px solid #c9dbd5;
  border-radius: 15px;
  background: #f9fcfb;
}

.ac-guide-search-row:focus-within {
  border-color: var(--guide-green);
  box-shadow: 0 0 0 4px rgba(23, 106, 86, .1);
}

.ac-guide-search-row > span {
  font-size: 20px;
}

.ac-guide-search-row input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #173549;
  font: inherit;
  font-size: 16px;
}

.ac-guide-search-clear {
  border: 0;
  background: transparent;
  color: #58707a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ac-guide-search-wrap > p {
  margin: 11px 2px 0;
  color: #72838a;
  font-size: 13px;
}

.ac-guide-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ac-guide-section-heading span {
  color: var(--guide-gold);
  font-size: 12px;
  font-weight: 900;
}

.ac-guide-section-heading h3 {
  margin: 6px 0 0;
  color: var(--guide-navy);
  font-size: 24px;
  letter-spacing: -.025em;
}

.ac-guide-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ac-guide-quick-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid #d8e4e0;
  border-radius: 16px;
  background: #f8fbfa;
  color: #173549;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ac-guide-quick-card:hover,
.ac-guide-quick-card:focus-visible {
  border-color: #77a99b;
  outline: 0;
  box-shadow: 0 10px 22px rgba(23, 106, 86, .1);
  transform: translateY(-2px);
}

.ac-guide-quick-card > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: #e6f1ed;
  font-size: 22px;
}

.ac-guide-quick-card strong {
  font-size: 15px;
}

.ac-guide-quick-card small {
  color: #6e7f86;
  font-size: 12px;
}

.ac-guide-basics-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ac-guide-basics-flow > div {
  position: relative;
  min-width: 0;
  padding: 18px 14px 16px;
  border-radius: 15px;
  background: linear-gradient(145deg, #f5faf8, #edf4f2);
}

.ac-guide-basics-flow b {
  display: grid;
  width: 28px;
  height: 28px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 50%;
  background: var(--guide-green);
  color: #fff;
  font-size: 13px;
}

.ac-guide-basics-flow strong,
.ac-guide-basics-flow span {
  display: block;
}

.ac-guide-basics-flow strong {
  color: #173549;
  font-size: 15px;
}

.ac-guide-basics-flow span {
  margin-top: 7px;
  color: #697a82;
  font-size: 12px;
  line-height: 1.55;
}

.ac-guide-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(178, 135, 44, .12), transparent 34%),
    #fff;
}

.ac-guide-media-heading {
  align-items: flex-start;
}

.ac-guide-media-heading > p {
  max-width: 520px;
  margin: 3px 0 0;
  color: #61747d;
  font-size: 13px;
  line-height: 1.65;
  text-align: right;
}

.ac-guide-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ac-guide-media-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #d8e5e1;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfdfc, #f2f7f5);
}

.ac-guide-media-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--guide-navy), var(--guide-green));
  color: #fff;
  font-size: 29px;
  box-shadow: 0 10px 22px rgba(12, 48, 72, .16);
}

.ac-guide-media-copy {
  min-width: 0;
}

.ac-guide-media-copy > span {
  color: var(--guide-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}

.ac-guide-media-copy h4 {
  margin: 7px 0 8px;
  color: var(--guide-navy);
  font-size: 19px;
  letter-spacing: -.025em;
}

.ac-guide-media-copy p {
  margin: 0;
  color: #5d7079;
  font-size: 13px;
  line-height: 1.65;
}

.ac-guide-media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.ac-guide-media-meta span {
  padding: 5px 8px;
  border: 1px solid #d7e3df;
  border-radius: 999px;
  background: #fff;
  color: #536b73;
  font-size: 10px;
  font-weight: 800;
}

.ac-guide-media-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ac-guide-media-actions .ac-btn {
  justify-content: center;
  min-height: 46px;
}

.ac-guide-media-actions .ac-btn[disabled] {
  cursor: wait;
  opacity: .7;
}

.ac-guide-media-security {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 13px;
  background: #eef5f3;
  color: #4f686f;
}

.ac-guide-media-security p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.ac-guide-media-security strong {
  color: #285b4e;
}

.ac-guide-library-heading > strong {
  color: var(--guide-green);
  font-size: 14px;
}

.ac-guide-category-list {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding-bottom: 17px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ac-guide-category-list button {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid #d4e1dd;
  border-radius: 999px;
  background: #fff;
  color: #526770;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.ac-guide-category-list button.is-active,
.ac-guide-category-list button:hover,
.ac-guide-category-list button:focus-visible {
  border-color: var(--guide-green);
  outline: 0;
  background: var(--guide-green);
  color: #fff;
}

.ac-guide-list {
  display: grid;
  gap: 10px;
}

.ac-guide-item {
  border: 1px solid #dce5e2;
  border-radius: 16px;
  overflow: clip;
  background: #fff;
}

.ac-guide-item[hidden] {
  display: none;
}

.ac-guide-item[open] {
  border-color: #94b8ad;
  box-shadow: 0 12px 28px rgba(18, 72, 61, .08);
}

.ac-guide-item-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 22px;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
}

.ac-guide-item-summary::-webkit-details-marker {
  display: none;
}

.ac-guide-item-summary:focus-visible {
  outline: 3px solid rgba(23, 106, 86, .22);
  outline-offset: -3px;
}

.ac-guide-item-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: #edf5f2;
  font-size: 22px;
}

.ac-guide-item-heading {
  min-width: 0;
}

.ac-guide-item-heading strong,
.ac-guide-item-heading span {
  display: block;
}

.ac-guide-item-heading strong {
  color: #173549;
  font-size: 16px;
}

.ac-guide-item-heading span {
  margin-top: 5px;
  overflow: hidden;
  color: #6a7b82;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ac-guide-item-audience {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff5d9;
  color: #86651e;
  font-size: 11px;
  font-weight: 800;
}

.ac-guide-item-caret {
  color: #668078;
  font-size: 22px;
  transition: transform .18s ease;
}

.ac-guide-item[open] .ac-guide-item-caret {
  transform: rotate(180deg);
}

.ac-guide-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 24px;
  padding: 8px 22px 24px 82px;
  border-top: 1px solid #edf1ef;
}

.ac-guide-detail-copy h4 {
  margin: 20px 0 12px;
  color: var(--guide-navy);
  font-size: 16px;
}

.ac-guide-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: #3e5561;
  line-height: 1.65;
}

.ac-guide-steps li::marker {
  color: var(--guide-green);
  font-weight: 900;
}

.ac-guide-result,
.ac-guide-caution {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 14px 15px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.58;
}

.ac-guide-result {
  background: #eaf4f1;
  color: #285b4e;
}

.ac-guide-caution {
  background: #fff5df;
  color: #795d24;
}

.ac-guide-open-menu {
  margin-top: 17px;
}

.ac-guide-figure {
  align-self: start;
  margin: 20px 0 0;
}

.ac-guide-figure img {
  display: block;
  width: 100%;
  border: 1px solid #dce6e2;
  border-radius: 15px;
  background: #f2f6f5;
}

.ac-guide-figure figcaption {
  margin-top: 8px;
  color: #7a898f;
  font-size: 11px;
  text-align: center;
}

.ac-guide-empty {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 50px 20px;
  color: #677980;
  text-align: center;
}

.ac-guide-empty[hidden] {
  display: none;
}

.ac-guide-empty strong {
  color: #173549;
  font-size: 18px;
}

.ac-guide-safety {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 23px 26px;
  border: 1px solid #ead8a2;
  border-radius: 18px;
  background: #fff9e9;
}

.ac-guide-safety > div:first-child {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 14px;
  background: #f2dfaa;
  font-size: 24px;
}

.ac-guide-safety strong {
  color: #594316;
  font-size: 16px;
}

.ac-guide-safety p {
  margin: 7px 0 0;
  color: #775f2c;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .ac-guide-hero {
    grid-template-columns: 1fr;
  }

  .ac-guide-hero-image {
    max-width: 620px;
  }

  .ac-guide-basics-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ac-guide-item-body {
    grid-template-columns: 1fr;
  }

  .ac-guide-figure {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .ac-header-guide-btn {
    display: none;
  }

  .ac-guide-page {
    gap: 16px;
  }

  .ac-guide-hero,
  .ac-guide-search-wrap,
  .ac-guide-quick,
  .ac-guide-basics,
  .ac-guide-media,
  .ac-guide-library {
    padding: 20px;
    border-radius: 18px;
  }

  .ac-guide-hero {
    min-height: 0;
  }

  .ac-guide-hero p {
    font-size: 15px;
  }

  .ac-guide-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-guide-basics-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ac-guide-media-heading > p {
    max-width: none;
    text-align: left;
  }

  .ac-guide-media-grid {
    grid-template-columns: 1fr;
  }

  .ac-guide-item-summary {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    padding: 13px;
  }

  .ac-guide-item-icon {
    width: 42px;
    height: 42px;
  }

  .ac-guide-item-audience {
    display: none;
  }

  .ac-guide-item-heading span {
    white-space: normal;
  }

  .ac-guide-item-body {
    padding: 6px 15px 20px;
  }

  .ac-guide-result,
  .ac-guide-caution {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .ac-guide-quick-grid,
  .ac-guide-basics-flow {
    grid-template-columns: 1fr;
  }

  .ac-guide-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ac-guide-media-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
  }

  .ac-guide-media-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 24px;
  }

  .ac-guide-media-actions {
    grid-template-columns: 1fr;
  }
}

/* 투표 관리 */
.ac-polls-page { display:grid;gap:20px; }
.ac-polls-header {
  display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  padding:24px 26px;border:1px solid #d9e2f3;border-radius:18px;
  background:linear-gradient(135deg,#fff,#eef4ff);
}
.ac-polls-header h2 { margin:4px 0 6px;color:#18315f;font-size:27px; }
.ac-polls-header p:last-child { margin:0;color:#62708a; }
.ac-poll-summary { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px; }
.ac-poll-summary > div {
  display:flex;align-items:center;justify-content:space-between;min-height:76px;
  padding:16px 18px;border:1px solid #dfe5ee;border-radius:14px;background:#fff;
  box-shadow:0 5px 15px rgba(27,49,79,.05);
}
.ac-poll-summary span { color:#637083;font-weight:750; }
.ac-poll-summary strong { color:#173766;font-size:27px; }
.ac-poll-table td { vertical-align:middle; }
.ac-poll-table td > strong,.ac-poll-table td > small { display:block; }
.ac-poll-table td > small { max-width:300px;margin-top:5px;color:#687386;line-height:1.4; }
.ac-poll-status { display:inline-flex;padding:6px 10px;border-radius:999px;color:#fff;font-size:12px;font-weight:850;background:#718096; }
.ac-poll-status.draft { background:#8b6d28; }
.ac-poll-status.open { background:#137657; }
.ac-poll-status.closed { background:#687386; }
.ac-poll-form-modal { width:min(980px,calc(100vw - 48px)); }
.ac-poll-target-choices {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;
  max-height:240px;margin-top:12px;padding:14px;overflow:auto;
  border:1px solid #dde4ef;border-radius:13px;background:#f8fafc;
}
.ac-poll-target-choices[data-poll-target-panel="branches"] {
  grid-template-columns:repeat(4,minmax(0,1fr));
  max-height:none;
  overflow:visible;
}
.ac-poll-target-choices[hidden] { display:none; }
.ac-poll-target-choices label {
  display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 11px;
  border:1px solid #e0e6ef;border-radius:10px;background:#fff;cursor:pointer;
}
.ac-poll-target-choices label:has(input:checked) { border-color:#2d66c3;background:#edf4ff; }
.ac-poll-target-choices input { width:18px;height:18px;accent-color:#2d66c3; }
.ac-poll-target-choices label span { display:grid;gap:2px; }
.ac-poll-target-choices label small { color:#758094;font-size:11px; }
.ac-poll-option-row {
  display:grid;grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;gap:9px;margin-bottom:9px;
}
.ac-poll-option-row > span {
  display:grid;width:32px;height:32px;place-items:center;border-radius:9px;
  color:#fff;font-weight:850;background:#234f95;
}
.ac-poll-result-modal { width:min(1040px,calc(100vw - 48px)); }
.ac-poll-result-summary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px; }
.ac-poll-result-summary > div { padding:15px;border-radius:12px;background:#eef4ff; }
.ac-poll-result-summary span,.ac-poll-result-summary strong { display:block; }
.ac-poll-result-summary span { color:#637083;font-size:12px; }
.ac-poll-result-summary strong { margin-top:5px;color:#173766;font-size:23px; }
.ac-poll-result-list { display:grid;gap:14px;margin-top:14px; }
.ac-poll-result-row > div:first-child { display:flex;justify-content:space-between;gap:15px;margin-bottom:7px; }
.ac-poll-result-row > div:last-child { overflow:hidden;height:11px;border-radius:999px;background:#e5eaf1; }
.ac-poll-result-row > div:last-child span { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d66c3,#168260); }
.ac-poll-anonymous-note { margin-top:15px;padding:15px;border-left:4px solid #2d66c3;border-radius:10px;color:#415270;background:#eef4ff; }
@media (max-width:900px) {
  .ac-poll-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ac-poll-target-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ac-poll-target-choices[data-poll-target-panel="branches"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* 문의·신고 관리 */
.ac-support-page { display:grid; gap:16px; }
.ac-support-hero {
  display:flex; align-items:center; justify-content:space-between; gap:20px; padding:25px 28px;
  border:1px solid #d9e6e0; border-radius:18px; color:#173d31;
  background:linear-gradient(135deg,#f4fbf8,#edf4ff); box-shadow:0 8px 24px rgba(26,64,51,.07);
}
.ac-support-hero span { color:#28745b; font-size:11px; font-weight:900; letter-spacing:.14em; }
.ac-support-hero h2 { margin:5px 0 6px; font-size:27px; }
.ac-support-hero p { margin:0; color:#62736d; font-size:14px; }
.ac-support-filter {
  display:grid; grid-template-columns:180px 220px minmax(260px,1fr) auto auto; gap:9px;
  padding:16px; border:1px solid #e1e6e4; border-radius:14px; background:#fff;
}
.ac-support-filter select,.ac-support-filter input,.ac-support-form select,.ac-support-form textarea {
  width:100%; border:1px solid #ccd8d3; border-radius:9px; color:#263b34; background:#fff;
  font:inherit; outline:none;
}
.ac-support-filter select,.ac-support-filter input { min-height:42px; padding:8px 11px; }
.ac-support-filter select:focus,.ac-support-filter input:focus,.ac-support-form select:focus,.ac-support-form textarea:focus {
  border-color:#27765c; box-shadow:0 0 0 3px rgba(39,118,92,.12);
}
.ac-support-toolbar { display:flex; align-items:center; justify-content:space-between; gap:15px; color:#66756f; font-size:13px; }
.ac-support-toolbar strong { color:#1c4e3d; font-size:15px; }
.ac-support-list { overflow:hidden; border:1px solid #dce4e1; border-radius:14px; background:#fff; }
.ac-support-row {
  display:grid; grid-template-columns:minmax(0,1fr) 120px 24px; align-items:center; gap:14px;
  width:100%; padding:16px 18px; border:0; border-bottom:1px solid #edf0ef;
  color:inherit; text-align:left; background:#fff; cursor:pointer;
}
.ac-support-row:last-child { border-bottom:0; }
.ac-support-row:hover,.ac-support-row:focus-visible { background:#f4faf7; }
.ac-support-row-main { min-width:0; }
.ac-support-row-head { display:flex; align-items:center; gap:9px; min-width:0; }
.ac-support-row-head strong { overflow:hidden; color:#223b32; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
.ac-support-row-meta { display:flex; flex-wrap:wrap; gap:6px 13px; margin-top:7px; color:#74817c; font-size:12px; }
.ac-support-row-date { color:#78847f; font-size:12px; text-align:right; }
.ac-support-row-arrow { color:#8ba49b; font-size:26px; }
.ac-support-status { flex:none; padding:4px 8px; border-radius:999px; font-size:11px; font-weight:850; }
.ac-support-status.received { color:#8a4d0b; background:#fff0d5; }
.ac-support-status.reviewing { color:#245bab; background:#e7f0ff; }
.ac-support-status.resolved { color:#12633f; background:#def4e8; }
.ac-support-status.rejected { color:#a43434; background:#ffe7e7; }
.ac-support-loading,.ac-support-empty {
  display:flex; align-items:center; justify-content:center; gap:10px; min-height:150px;
  padding:30px; color:#71807a; text-align:center;
}
.ac-support-empty.error { color:#a53d3d; }
.ac-support-pagination { display:flex; align-items:center; justify-content:center; gap:12px; }
.ac-support-pagination button { padding:8px 13px; border:1px solid #cddbd5; border-radius:8px; color:#245c49; background:#fff; font-weight:750; }
.ac-support-pagination span { color:#5e6e68; font-size:13px; font-weight:750; }
.ac-support-modal {
  position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center;
  padding:24px; background:rgba(13,35,28,.62);
}
.ac-support-dialog {
  overflow:hidden; display:flex; flex-direction:column; width:min(920px,calc(100vw - 48px)); max-height:calc(100vh - 48px);
  border-radius:18px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.25);
}
.ac-support-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:20px 24px; border-bottom:1px solid #e7ecea; }
.ac-support-dialog-head span { color:#39725f; font-size:12px; font-weight:800; }
.ac-support-dialog-head h3 { margin:4px 0 0; color:#1b382f; font-size:22px; }
.ac-support-dialog-head > button { width:38px; height:38px; border:0; border-radius:10px; color:#63716c; background:#f0f4f2; font-size:24px; }
.ac-support-dialog-body { overflow:auto; padding:20px 24px; }
.ac-support-member { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-bottom:16px; }
.ac-support-member > div { padding:12px; border-radius:10px; background:#f3f7f5; }
.ac-support-member span,.ac-support-member strong { display:block; }
.ac-support-member span { color:#73807b; font-size:11px; }
.ac-support-member strong { overflow-wrap:anywhere; margin-top:4px; color:#263f36; font-size:13px; }
.ac-support-content { margin-bottom:16px; padding:16px; border:1px solid #e2e8e5; border-radius:12px; }
.ac-support-content h4 { margin:0 0 8px; color:#234a3d; }
.ac-support-content p { margin:0; color:#455a52; line-height:1.7; white-space:pre-wrap; }
.ac-support-form { display:grid; gap:14px; }
.ac-support-form label { display:grid; gap:7px; color:#314b42; font-size:13px; font-weight:800; }
.ac-support-form label small { color:#8a9691; font-weight:500; }
.ac-support-form select { min-height:43px; padding:8px 11px; }
.ac-support-form textarea { resize:vertical; min-height:90px; padding:11px; line-height:1.55; }
.ac-support-dialog-actions { display:flex; justify-content:flex-end; gap:9px; padding:15px 24px; border-top:1px solid #e7ecea; background:#f7f9f8; }

/* 향우ON 기술지원: PC·태블릿 관리자 공통 */
.ac-tech-support-page { display:grid; gap:18px; }
.ac-tech-support-hero {
  padding:26px; border:1px solid #b7d8ca; border-radius:18px;
  background:radial-gradient(circle at 90% 15%,rgba(50,154,113,.16),transparent 32%),linear-gradient(145deg,#f8fcfa,#edf6f2);
}
.ac-tech-support-hero span,.ac-tech-support-head span { color:#247054; font-size:11px; font-weight:900; letter-spacing:.14em; }
.ac-tech-support-hero h2 { margin:7px 0; color:#173c2f; font-size:28px; }
.ac-tech-support-hero p { max-width:900px; margin:0; color:#5f736b; line-height:1.7; }
.ac-tech-support-grid { display:grid; grid-template-columns:minmax(320px,.8fr) minmax(420px,1.2fr); gap:16px; align-items:start; }
.ac-tech-support-form,.ac-tech-support-ledger { padding:20px; border:1px solid #d8e4df; border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(26,68,52,.06); }
.ac-platform-connection { padding:20px; border:1px solid #d8e4df; border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(26,68,52,.06); }
.ac-platform-status-head { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:15px; }
.ac-platform-status-head > span { padding:6px 10px; border-radius:999px; font-size:11px; font-weight:900; }
.ac-platform-status-head > span.is-healthy { color:#12603f; background:#dff5e9; }
.ac-platform-status-head > span.is-attention { color:#7a5515; background:#fff0c7; }
.ac-platform-status-head > span.is-unreachable,.ac-platform-status-head > span.is-unconfigured { color:#9b3535; background:#fee5e2; }
.ac-platform-status-head > strong { color:#203c32; }
.ac-platform-status-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-top:13px; }
.ac-platform-status-grid > div { padding:13px 9px; border-radius:12px; background:#f2f7f5; text-align:center; }
.ac-platform-status-grid strong,.ac-platform-status-grid span { display:block; }
.ac-platform-status-grid strong { color:#173c2f; font-size:22px; }
.ac-platform-status-grid span { margin-top:3px; color:#64776f; font-size:10px; font-weight:800; }
.ac-platform-connection p { margin:12px 0 0; color:#5f736b; font-size:12px; line-height:1.6; }
.ac-tech-support-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.ac-tech-support-form h3,.ac-tech-support-form .full { grid-column:1/-1; }
.ac-tech-support-form h3,.ac-tech-support-head h3 { margin:0; color:#1d4737; }
.ac-tech-support-form label,.ac-tech-support-approval label { display:grid; gap:6px; color:#355b4c; font-size:12px; font-weight:800; }
.ac-tech-support-form input,.ac-tech-support-form select,.ac-tech-support-form textarea,
.ac-tech-support-approval input { width:100%; box-sizing:border-box; min-height:43px; padding:10px 11px; border:1px solid #cbdad4; border-radius:9px; color:#17362b; background:#fff; }
.ac-tech-support-form textarea { resize:vertical; line-height:1.55; }
.ac-tech-support-head,.ac-tech-support-ticket-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.ac-tech-support-list { display:grid; gap:11px; margin-top:15px; }
.ac-tech-support-ticket { padding:17px; border:1px solid #dce7e2; border-radius:14px; background:#fbfdfc; }
.ac-tech-support-ticket-head div { min-width:0; }
.ac-tech-support-ticket-head span,.ac-tech-support-ticket-head strong { display:block; }
.ac-tech-support-ticket-head span { color:#2a7759; font-size:11px; font-weight:900; }
.ac-tech-support-ticket-head strong { margin-top:4px; overflow-wrap:anywhere; color:#203c32; }
.ac-tech-support-ticket-head time,.ac-tech-support-ticket small { color:#77877f; font-size:11px; }
.ac-tech-support-ticket p { color:#586b63; line-height:1.65; white-space:pre-wrap; }
.ac-tech-support-status { display:inline-flex; margin-top:9px; padding:5px 9px; border-radius:999px; color:#24694f; background:#e4f3ec; font-size:11px; font-weight:900; }
.ac-tech-support-approval { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:14px; padding-top:14px; border-top:1px solid #e2ebe7; }
.ac-tech-support-actions { display:flex; flex-wrap:wrap; align-items:end; gap:8px; }
.ac-tech-support-empty { padding:24px; border:1px dashed #cbdcd4; border-radius:12px; color:#6b7d75; text-align:center; }
.ac-tech-support-empty.error { color:#a44242; }
@media(max-width:1100px) { .ac-tech-support-grid { grid-template-columns:1fr; } }
@media(max-width:720px) {
  .ac-tech-support-form,.ac-tech-support-approval { grid-template-columns:1fr; }
  .ac-platform-status-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ac-tech-support-form h3,.ac-tech-support-form .full { grid-column:auto; }
  .ac-tech-support-ticket-head { flex-direction:column; }
}
@media (max-width:1000px) {
  .ac-support-filter { grid-template-columns:1fr 1fr; }
  .ac-support-filter input { grid-column:1/-1; }
  .ac-support-member { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* 공통 장기목록 페이지 이동 — 관리자센터 디자인 체계 */
#ac-content .hy-archive-pager {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(86px, 1fr) minmax(96px, auto) minmax(86px, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: min(100%, 590px);
  margin: 18px auto 6px;
  padding: 9px;
  border: 1px solid rgba(29, 103, 76, .18);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(239,247,243,.98));
  box-shadow: 0 8px 22px rgba(18, 72, 55, .09);
}

#ac-content .hy-archive-pager[hidden] {
  display: none;
}

#ac-content .hy-archive-pager__button,
#ac-content .hy-archive-pager__status {
  min-width: 0;
  min-height: 46px;
  border-radius: 12px;
  font-family: 'Noto Sans KR', '맑은 고딕', sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

#ac-content .hy-archive-pager__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(26, 101, 73, .28);
  background: #fff;
  color: #165b43;
  box-shadow: 0 3px 9px rgba(20, 70, 53, .07);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

#ac-content .hy-archive-pager__button:hover:not(:disabled),
#ac-content .hy-archive-pager__button:focus-visible {
  border-color: #1f7454;
  background: #edf8f2;
  box-shadow: 0 5px 13px rgba(20, 92, 65, .14);
  transform: translateY(-1px);
}

#ac-content .hy-archive-pager__button:focus-visible {
  outline: 3px solid rgba(35, 139, 99, .2);
  outline-offset: 2px;
}

#ac-content .hy-archive-pager__button:active:not(:disabled) { transform: translateY(0); }
#ac-content .hy-archive-pager__button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }

#ac-content .hy-archive-pager__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #15583f;
  background: linear-gradient(135deg, #1d7252, #124735);
  color: #fff;
  box-shadow: 0 5px 13px rgba(16, 70, 50, .2);
  text-align: center;
}

#ac-content .hy-archive-pager__button.is-refresh {
  border-color: rgba(151, 112, 53, .28);
  background: #fffaf1;
  color: #6b4d21;
}

#ac-content .hy-archive-pager__button.is-refresh:hover:not(:disabled),
#ac-content .hy-archive-pager__button.is-refresh:focus-visible {
  border-color: #ad7a32;
  background: #fff3dc;
}

@media (max-width: 520px) {
  #ac-content .hy-archive-pager {
    grid-template-columns: minmax(0, 1fr) minmax(88px, auto) minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
    border-radius: 15px;
  }

  #ac-content .hy-archive-pager__button,
  #ac-content .hy-archive-pager__status {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 14px;
  }

  #ac-content .hy-archive-pager__button.is-refresh {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ── 023: 관리자센터 입장 화면 ─────────────────────────────── */
.ac-fullscreen.ac-auth {
  overflow-y: auto;
  overflow-x: hidden;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  padding: 32px 16px;
  background:
    radial-gradient(900px 520px at 18% 30%, rgba(214, 120, 54, 0.22), transparent 60%),
    radial-gradient(700px 480px at 88% 85%, rgba(24, 110, 96, 0.26), transparent 60%),
    linear-gradient(160deg, #1d1612 0%, #120d0b 55%, #0d1514 100%);
  color: #f6ede2;
}
.ac-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: 980px;
  margin: auto 0 0;
}
.ac-auth, .ac-auth *, .ac-auth *::before { box-sizing: border-box; }
.ac-auth-brand { text-align: center; }
.ac-auth-emblem {
  width: 168px; height: 168px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 110, 0.18), rgba(255, 190, 110, 0) 70%);
}
.ac-auth-emblem img {
  width: 132px; height: 132px;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 210, 150, 0.25);
}
.ac-auth-wordmark {
  margin: 0;
  font-size: 54px; font-weight: 900; letter-spacing: -1px; line-height: 1.1;
  background: linear-gradient(180deg, #ffb066, #e2602f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ac-auth-o {
  background: linear-gradient(180deg, #5cc8ff, #1a8fe0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ac-auth-heading {
  margin: 14px 0 22px;
  font-size: 30px; font-weight: 800; line-height: 1.35; color: #fff;
}
.ac-auth-points {
  display: inline-flex; flex-direction: column; gap: 10px;
  text-align: left; color: #e9d9c4; font-size: 15.5px;
}
.ac-auth-points li { display: flex; align-items: center; gap: 10px; }
.ac-auth-points li::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #ffb066; box-shadow: 0 0 10px rgba(255, 176, 102, 0.8);
}
.ac-denied-box.ac-auth-card {
  width: 100%; max-width: 420px;
  padding: 36px 34px 28px;
  text-align: left;
  color: #2a211b;
  background: linear-gradient(180deg, #fffaf3, #f6efe5);
  border: 1px solid rgba(255, 220, 180, 0.6);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.ac-auth-card .ac-denied-icon {
  width: 52px; height: 52px; margin: 0 0 16px;
  display: grid; place-items: center;
  font-size: 0; color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, #e2602f, #8a3a1c);
  box-shadow: 0 10px 22px rgba(226, 96, 47, 0.35);
}
.ac-auth-card .ac-denied-title { font-size: 26px; font-weight: 800; color: #241a14; margin: 0 0 8px; }
.ac-auth-card .ac-denied-msg { font-size: 15px; color: #6b5a4c; line-height: 1.6; margin: 0 0 22px; }
.ac-auth-card .ac-denied-msg.is-error {
  color: #b42318; background: #fdecea; border: 1px solid #f6c4bf;
  border-radius: 12px; padding: 10px 12px;
}
.ac-auth-form { display: flex; flex-direction: column; gap: 16px; }
.ac-auth-field { display: flex; flex-direction: column; gap: 7px; }
.ac-auth-label { font-size: 14.5px; font-weight: 700; color: #3a2c22; }
.ac-auth-input {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 14px;
  background: #fff;
  border: 1.5px solid #d9cbbb; border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.ac-auth-input:focus-within { border-color: #d0662f; box-shadow: 0 0 0 4px rgba(208, 102, 47, 0.16); }
.ac-auth-input svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: #a0663e; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.ac-auth-input input {
  flex: 1; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: #241a14;
}
.ac-auth-input input::placeholder { color: #a8998b; }
.ac-auth-submit {
  margin-top: 6px; height: 54px;
  border: 0; border-radius: 14px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 800; color: #fff;
  background: linear-gradient(110deg, #5a2a16 0%, #b34a20 55%, #1d6b5e 100%);
  box-shadow: 0 12px 26px rgba(90, 42, 22, 0.35);
  transition: transform .12s, filter .15s;
}
.ac-auth-submit:hover { filter: brightness(1.08); }
.ac-auth-submit:active { transform: translateY(1px); }
.ac-auth-submit:disabled { filter: grayscale(.4) brightness(.9); cursor: wait; }
.ac-auth-note {
  margin: 20px 0 0; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.6; color: #6b5a4c;
  background: rgba(160, 102, 62, 0.08); border-radius: 12px;
}
.ac-auth-footer { margin: 0 0 auto; font-size: 13px; color: rgba(246, 237, 226, 0.6); }

@media (max-width: 820px) {
  .ac-auth-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; }
  .ac-auth-emblem { width: 104px; height: 104px; margin-bottom: 10px; }
  .ac-auth-emblem img { width: 84px; height: 84px; border-radius: 20px; }
  .ac-auth-wordmark { font-size: 38px; }
  .ac-auth-heading { font-size: 21px; margin: 6px 0 0; }
  .ac-auth-heading br { display: none; }
  .ac-auth-points { display: none; }
  .ac-denied-box.ac-auth-card { padding: 28px 22px 22px; border-radius: 20px; }
}

/* Only the authenticated developer-console embed shares its parent's navigation.
   Direct organization administrators keep the original complete layout. */
.ac-console-embedded #ac-sidebar,.ac-console-embedded .ac-header,.ac-console-embedded #ac-sidebar-overlay{display:none!important}
.ac-console-embedded .ac-layout,.ac-console-embedded .ac-main-wrap{display:block!important;margin:0!important;padding:0!important;width:100%!important;min-width:0!important}
html.ac-console-embedded,html.ac-console-embedded body{height:auto;min-height:100%;overflow-y:auto}
.ac-console-embedded .ac-layout{height:auto;overflow:visible}
.ac-console-embedded .ac-main-wrap{overflow:visible}
.ac-console-embedded .ac-content{padding:20px!important;max-width:none!important;overflow:visible}

/* Console sessions can inspect organization data but cannot change or export it. */
body.console-readonly [data-write] { display: none !important; }
body.console-readonly .ac-system-readonly-banner { position: sticky; top: 0; z-index: 40; flex-wrap: wrap; }
body.console-readonly .ac-system-readonly-banner strong { flex: 1 1 auto; }

/* 기준 회비 관리 및 공통 등록 폼의 선택 상자 */
.ac-admin-create-field input[type=checkbox],
.ac-admin-create-field input[type=radio]{width:18px;height:18px;min-height:0;padding:0;flex:0 0 18px}
.ac-admin-create-field .ac-form-check{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:48px;white-space:nowrap}
.ac-payment-rates-modal.ac-admin-create-modal{width:min(960px,calc(100vw - 32px));max-width:960px}
.ac-payment-rates-modal > .ac-admin-create-body{min-height:0;overflow-y:auto}
.ac-payment-rates-modal > .ac-admin-create-body > *{flex:0 0 auto}
.ac-payment-rates-modal > .ac-admin-create-body > .ac-admin-create-form{max-height:none}
.ac-payment-rates-modal > .ac-modal-header,.ac-payment-rates-modal > .ac-admin-create-actions{flex:0 0 auto}
.ac-payment-rates-modal .ac-admin-create-field{min-width:0}
.ac-payment-rates-modal .ac-admin-create-field small{font-size:13px;font-weight:400;line-height:1.5;color:#64748b}
.ac-payment-rates-modal .ac-table{min-width:0;table-layout:fixed}
.ac-payment-rates-table th,.ac-payment-rates-table td{padding:10px 8px;white-space:normal;overflow-wrap:anywhere}
.ac-payment-rates-table th:nth-child(3){width:130px}
.ac-payment-rates-table th:nth-child(4){width:90px}
.ac-payment-rates-table th:nth-child(5){width:100px}
.ac-payment-rates-table th:nth-child(6){width:76px}
.ac-payment-rates-table .ac-form-input{width:100%;min-width:0;min-height:48px;padding:8px;box-sizing:border-box}
@media(max-width:760px){
  .ac-payment-rates-table,.ac-payment-rates-table tbody,.ac-payment-rates-table tr,.ac-payment-rates-table td{display:block;width:100%;box-sizing:border-box}
  .ac-payment-rates-table thead{display:none}
  .ac-payment-rates-table tr{padding:12px;border-bottom:1px solid #e5e7eb}
  .ac-payment-rates-table tr:last-child{border-bottom:0}
  .ac-payment-rates-table td[data-label]{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px;align-items:center;border:0;padding:6px 0}
  .ac-payment-rates-table td[data-label]::before{content:attr(data-label);font-size:13px;font-weight:700;color:#64748b}
  .ac-payment-rates-table td[data-label="직책명"] .ac-badge{grid-column:2}
  .ac-payment-rates-table td[data-label="관리"] .ac-btn{min-height:48px}
}

/* Amount display and canonical value are separate controls. */
input[data-amount-raw]{display:none!important}
input[data-amount-display]{text-align:right}
.ac-amount-reading{display:block;min-height:1.4em;font-size:12px;line-height:1.4;color:var(--ac-text-muted,#64748b)}

/* Shared notification layers; existing modal order remains unchanged. */
:root { --ac-layer-modal-max: 11000; --ac-layer-error: 11010; --ac-layer-toast: 11020; }
body > .ac-error-bar { position: fixed; top: 16px; left: 16px; right: 16px; z-index: var(--ac-layer-error); }
[data-inline-errors] [aria-invalid="true"], .ac-payment-rates-table [aria-invalid="true"] { border-color: #b91c1c; outline: 1px solid #b91c1c; }
.ac-field-error { display: block; color: #b91c1c; font-size: 13px; line-height: 1.5; }
.ac-form-error-summary { flex: 0 0 auto; margin: 8px 16px; padding: 10px 12px; border: 1px solid #b91c1c; border-radius: 8px; background: #fff1f2; color: #991b1b; overflow-wrap: anywhere; }
.ac-form-error-summary[hidden] { display: none; }
.ac-finance-inline-form > .ac-field-error { grid-column: 1; grid-row: 2; }
.ac-finance-inline-form > button[type="submit"] { grid-column: 2; grid-row: 1; }

/* Export data preview shares the download permission and lifecycle. */
.ac-export-preview-overlay { position: fixed; inset: 0; z-index: var(--ac-layer-modal-max); background: #0008; padding: 16px; display: flex; align-items: center; justify-content: center; }
.ac-export-preview-dialog { background: white; color: #111; border-radius: 8px; width: min(1100px, 100%); max-height: 95vh; padding: 20px; overflow: auto; }
.ac-export-preview-table { max-height: 50vh; overflow: auto; margin-bottom: 16px; }
.ac-export-preview-table table { border-collapse: separate; border-spacing: 0; min-width: 100%; }
.ac-export-preview-table th, .ac-export-preview-table td { padding: 8px 12px; border-bottom: 1px solid #ddd; white-space: nowrap; }
.ac-export-preview-table th { position: sticky; top: 0; background: #eee; text-align: left; }
.ac-export-preview-table .is-numeric { text-align: right; font-variant-numeric: tabular-nums; }
.ac-export-preview-dialog .ac-download-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-export-preview-dialog button { padding: 8px 12px; border: 1px solid #777; border-radius: 4px; background: white; }
