body {
  margin: 0;
  color: #1d2a3f;
  font-family: 'Pretendard Variable', 'Inter', 'Noto Sans KR', 'Roboto', Arial, sans-serif;
  background: #eef2f7;
}

.support-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 80px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.support-hero__copy,
.support-stat-card,
.support-card {
  position: relative;
  border: 1px solid rgba(125, 149, 196, 0.18);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(108, 138, 191, 0.14);
  backdrop-filter: blur(12px);
}

.support-hero__copy {
  padding: 34px;
}

.support-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 149, 196, 0.22);
  background: rgba(100, 132, 255, 0.08);
  color: #476188;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #64b6ff, #8f78ff);
  box-shadow: 0 0 14px rgba(104, 124, 255, 0.85);
}

.support-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.support-hero p {
  margin: 18px 0 0;
  max-width: 560px;
  color: #5d6d88;
  font-size: 16px;
}

.support-hero__meta {
  display: grid;
  gap: 16px;
}

.support-stat-card {
  padding: 24px 22px;
}

.support-stat-card strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.support-stat-card span {
  color: #60708b;
  font-size: 14px;
  line-height: 1.6;
}

.support-stat-card--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(86, 120, 255, 0.1), rgba(58, 208, 255, 0.06));
  pointer-events: none;
}

.support-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.support-quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 132px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(125, 149, 196, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.92));
  box-shadow: 0 18px 36px rgba(108, 138, 191, 0.12);
  color: #162033;
}

.support-quick-card--button {
  width: 100%;
  cursor: pointer;
}

.support-quick-card strong {
  font-size: 18px;
}

.support-quick-card span {
  color: #60708b;
  line-height: 1.6;
  font-size: 14px;
}

.support-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(108, 138, 191, 0.16);
}

.support-tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.support-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  color: #667792;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.support-tab:hover {
  color: #24334f;
  transform: translateY(-1px);
}

.support-tab.is-active {
  background: linear-gradient(135deg, #4788ff, #7f66ff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(61, 101, 255, 0.28);
}

.support-card {
  padding: 28px;
}

.support-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-card__head--split {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.support-card__head h2,
.support-list-wrap h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.support-card__head p {
  margin: 0;
  color: #60708b;
  font-size: 15px;
}

.support-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-category-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(125, 149, 196, 0.18);
  background: #f5f8ff;
  color: #556781;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  word-break: keep-all;
  flex: 0 0 auto;
}

.support-category-chip.is-active {
  background: linear-gradient(135deg, #4788ff, #7f66ff);
  border-color: transparent;
  color: #fff;
}

#showQFormBtn,
#qForm button,
#closeQDetailBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(125, 149, 196, 0.18);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#showQFormBtn,
#qForm button[type="submit"] {
  background: linear-gradient(135deg, #4788ff, #7f66ff);
  color: #fff;
  box-shadow: 0 14px 28px rgba(61, 101, 255, 0.24);
}

#showQFormBtn:hover,
#qForm button[type="submit"]:hover {
  border-color: rgba(145, 173, 255, 0.4);
}

#qForm button#backToListBtn,
#closeQDetailBtn {
  background: #ffffff;
  color: #28426f;
}

#qForm button#backToListBtn:hover,
#closeQDetailBtn:hover {
  background: #eef4ff;
}

.support-form-wrap {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: #fbfdff;
}

#qForm {
  display: grid;
  gap: 14px;
}

#qForm input,
#qForm textarea {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  color: #162033;
  border: 1px solid rgba(125, 149, 196, 0.16);
  border-radius: 18px;
  padding: 15px 18px;
  font-size: 15px;
  outline: none;
}

#qForm input:focus,
#qForm textarea:focus {
  border-color: rgba(132, 159, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(90, 115, 255, 0.16);
}

#qForm textarea {
  min-height: 160px;
  resize: vertical;
}

.support-form-actions {
  display: flex;
  gap: 10px;
}

.support-list-wrap {
  margin-top: 22px;
}

.support-table-wrap {
  margin-top: 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: #fdfefe;
}

#qTable {
  width: 100%;
  border-collapse: collapse;
}

#qTable th,
#qTable td {
  padding: 16px 18px;
  text-align: left;
  font-size: 15px;
}

#qTable th {
  color: #6d7f9b;
  font-weight: 600;
  background: #f5f8fe;
}

#qTable th:first-child,
#qTable td:first-child { width: 70px; text-align: center; }
#qTable th:nth-child(2),
#qTable td:nth-child(2) { width: 130px; }
#qTable th:nth-child(3),
#qTable td:nth-child(3) { width: auto; }
#qTable th:nth-child(4),
#qTable td:nth-child(4) { width: 180px; }
#qTable th:nth-child(5),
#qTable td:nth-child(5) { width: 140px; }

#qTable tbody tr + tr td {
  border-top: 1px solid rgba(125, 149, 196, 0.12);
}

#qTable tbody tr:hover td {
  background: rgba(93, 118, 255, 0.08);
}

#qTable td a,
#qTable td .q-title-link {
  color: #1a3157;
  text-decoration: none;
  font-weight: 600;
}

.support-category-badge,
.support-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.support-category-badge {
  background: #eef4ff;
  color: #3d5f9a;
}

.support-status-badge {
  border: 1px solid transparent;
}

.support-status-badge--pending {
  background: #fff2da;
  color: #9b6311;
}

.support-status-badge--done {
  background: #e4f7ea;
  color: #1f7b45;
}

.support-detail {
  margin-top: 22px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 255, 0.92));
}

.support-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

#qDetailTitle {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

#qDetailContent {
  color: #46556f;
  line-height: 1.8;
  font-size: 15px;
}

.support-answer-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: #f6f9ff;
  color: #46556f;
  line-height: 1.7;
}

.support-answer-box h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.support-answer-box__empty {
  color: #7d8ea8;
}

@media (max-width: 980px) {
  .support-page {
    width: min(1180px, calc(100% - 28px));
    padding-bottom: 56px;
  }

  .support-hero {
    grid-template-columns: 1fr;
  }

  .support-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .support-page {
    width: min(1180px, calc(100% - 20px));
    padding: 20px 0 44px;
  }

  .support-hero__copy,
  .support-card,
  .support-stat-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .support-hero h1 {
    font-size: 38px;
  }

  .support-hero p,
  .support-card__head p,
  .support-stat-card span,
  .support-quick-card span,
  #qDetailContent,
  .support-answer-box {
    font-size: 14px;
    line-height: 1.7;
  }

  .support-card__head h2,
  .support-list-wrap h3 {
    font-size: 24px;
  }

  .support-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    box-sizing: border-box;
  }

  .support-tab {
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 14px;
  }

  .support-quick-grid {
    grid-template-columns: 1fr;
  }

  .support-quick-card {
    min-height: 0;
    padding: 18px;
    border-radius: 20px;
  }

  .support-card__head--split,
  .support-form-actions,
  .support-detail__head {
    flex-direction: column;
    align-items: stretch;
  }

  .support-category-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .support-category-row::-webkit-scrollbar {
    display: none;
  }

  .support-form-wrap,
  .support-detail {
    padding: 18px;
    border-radius: 18px;
  }

  .support-accordion-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-accordion-trigger {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-accordion-trigger__right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .support-accordion-panel {
    padding: 0 18px 18px;
  }

  #qForm {
    gap: 12px;
  }

  #qForm input,
  #qForm textarea {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 16px;
  }

  #qForm textarea {
    min-height: 140px;
  }

  .support-table-wrap {
    margin-top: 18px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  #qTable {
    min-width: 0;
  }

  #qTable thead {
    display: none;
  }

  #qTable,
  #qTable tbody,
  #qTable tr,
  #qTable td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  #qTable tbody {
    display: grid;
    gap: 12px;
  }

  #qTable tbody tr {
    border: 1px solid rgba(125, 149, 196, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 34px rgba(118, 144, 190, 0.12);
    padding: 6px 0;
    overflow: hidden;
  }

  #qTable tbody tr + tr td {
    border-top: 0;
  }

  #qTable td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(125, 149, 196, 0.1);
    font-size: 13px;
    text-align: left;
  }

  #qTable td:last-child {
    border-bottom: 0;
  }

  #qTable td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: #6d7f9b;
    font-size: 12px;
    font-weight: 800;
  }

  #qTable th:first-child,
  #qTable td:first-child,
  #qTable th:nth-child(2),
  #qTable td:nth-child(2),
  #qTable th:nth-child(4),
  #qTable td:nth-child(4),
  #qTable th:nth-child(5),
  #qTable td:nth-child(5) {
    width: auto;
    text-align: left;
  }

  .support-cell-value {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  .support-cell-value--text {
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: #24324a;
    font-weight: 700;
  }

  .support-cell-value--badge {
    overflow: visible;
    white-space: normal;
  }

  .support-category-badge,
  .support-status-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  #showQFormBtn,
  #qForm button,
  #closeQDetailBtn {
    width: 100%;
  }
}

.support-accordion-card,
.support-message-placeholder {
  margin-top: 18px;
}

.support-accordion-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 0 2px;
}

.support-accordion-toolbar__text {
  font-size: 18px;
  font-weight: 800;
  color: #15233b;
}

.support-accordion-toolbar__sub {
  font-size: 13px;
  color: #6d7f9b;
}

.support-accordion-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.support-accordion-item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(125, 149, 196, 0.16);
  background: #ffffff;
}

.support-accordion-item.is-answered {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.support-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.support-accordion-trigger__left,
.support-accordion-trigger__right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.support-accordion-index {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: #3d5f9a;
  font-size: 13px;
  font-weight: 800;
  flex: 0 0 32px;
}

.support-accordion-trigger__meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.support-accordion-trigger__meta strong {
  font-size: 16px;
  color: #17263d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-accordion-trigger__meta span {
  font-size: 13px;
  color: #73849d;
}

.support-accordion-caret {
  color: #8b98ad;
  font-size: 12px;
}

.support-accordion-panel {
  padding: 0 20px 18px;
  border-top: 1px solid rgba(125, 149, 196, 0.12);
}

.support-accordion-panel__section {
  padding-top: 16px;
}

.support-accordion-panel__section h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #2a3e60;
}

.support-accordion-panel__section p {
  margin: 0;
  color: #52617c;
  font-size: 14px;
  line-height: 1.7;
}

.support-accordion-panel__section--answer {
  margin-top: 12px;
}

.support-empty-box {
  padding: 34px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(125, 149, 196, 0.22);
  background: #fbfdff;
  color: #6d7f9b;
  text-align: center;
  font-size: 14px;
}

.support-answer-box__content {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f7fbff;
  border: 1px solid rgba(125, 149, 196, 0.14);
  color: #39506f;
  line-height: 1.7;
}

.support-answer-box__empty {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8ea;
  color: #92631a;
  border: 1px solid rgba(212, 178, 94, 0.18);
}

/* =============================================
   mypage-shell layout (같은 구조 재사용)
   ============================================= */
.mypage-shell {
  width: min(980px, calc(100% - 36px));
  margin: 20px auto 72px;
}

.mypage-top-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  background: #f7f9fc;
}

.mypage-top-tabs a {
  text-align: center;
  text-decoration: none;
  color: #52617a;
  border-radius: 8px;
  min-height: 32px;
  line-height: 32px;
  font-size: 12px;
  font-weight: 600;
}

.mypage-top-tabs a.is-active {
  color: #ffffff;
  background: #1f67c7;
}

.mypage-panel {
  margin-top: 16px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
}

/* =============================================
   qpage — 인사 패널
   ============================================= */
.qpage-greeting-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}

.qpage-profile-badge {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #1f67c7;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex: 0 0 44px;
}

.qpage-greeting-text {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a2c45;
}

.qpage-greeting-text strong {
  font-weight: 700;
}

/* =============================================
   qpage — 고객센터 카드
   ============================================= */
.qpage-support-panel {
  padding: 20px 22px;
}

.qpage-support-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qpage-support-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  color: #3d72cc;
}

.qpage-support-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.qpage-support-info {
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qpage-support-info strong {
  font-size: 17px;
  font-weight: 700;
  color: #17263d;
}

.qpage-support-info span {
  font-size: 13px;
  color: #6d7f9b;
}

.qpage-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1.5px solid #c8d6ef;
  background: #ffffff;
  color: #2a4f8a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.qpage-inquiry-btn:hover {
  background: #f0f5ff;
  border-color: #9ab4e0;
}

/* =============================================
   qpage — 문의 폼
   ============================================= */
.qpage-form-wrap {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e8eef8;
}

.qpage-form {
  display: grid;
  gap: 12px;
}

.qpage-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qpage-category-chip {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d6e2f5;
  background: #f5f8ff;
  color: #4a6080;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.qpage-category-chip.is-active {
  background: #1f67c7;
  border-color: transparent;
  color: #fff;
}

.qpage-input {
  width: 100%;
  box-sizing: border-box;
  background: #f7f9fc;
  color: #1d2a3f;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

.qpage-input:focus {
  border-color: #7aaae8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 103, 199, 0.1);
}

.qpage-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #f7f9fc;
  color: #1d2a3f;
  border: 1px solid #d9e1ed;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.qpage-textarea:focus {
  border-color: #7aaae8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 103, 199, 0.1);
}

.qpage-form-actions {
  display: flex;
  gap: 10px;
}

.qpage-submit-btn {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 8px;
  border: none;
  background: #1f67c7;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.qpage-submit-btn:hover {
  background: #1856ab;
}

.qpage-cancel-btn {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid #d9e1ed;
  background: #fff;
  color: #4a6080;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.qpage-cancel-btn:hover {
  background: #f0f5ff;
}

/* =============================================
   qpage — 문의 내역 카드
   ============================================= */
.qpage-list-panel {
  padding: 20px 22px;
}

.qpage-list-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.qpage-list-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef4ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  color: #3d72cc;
}

.qpage-list-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.qpage-list-info {
  display: grid;
  gap: 4px;
}

.qpage-list-info strong {
  font-size: 17px;
  font-weight: 700;
  color: #17263d;
}

.qpage-list-info span {
  font-size: 13px;
  color: #6d7f9b;
}

/* =============================================
   qpage — 아코디언 목록
   ============================================= */
.qpage-accordion-list {
  display: grid;
  gap: 10px;
}

.qpage-empty-box {
  padding: 32px 18px;
  color: #8a9bb8;
  text-align: center;
  font-size: 14px;
}

.qpage-accordion-item {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e3ebf6;
  background: #f9fbff;
}

.qpage-accordion-item.is-answered {
  background: #f5fbf7;
  border-color: #c8e8d4;
}

.qpage-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.qpage-accordion-trigger__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.qpage-accordion-index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dde9f9;
  color: #2a5fa0;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 28px;
}

.qpage-accordion-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.qpage-accordion-meta strong {
  font-size: 14px;
  font-weight: 700;
  color: #17263d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qpage-accordion-meta span {
  font-size: 12px;
  color: #8a9bb8;
}

.qpage-accordion-trigger__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.qpage-category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef4ff;
  color: #3d5f9a;
}

.qpage-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.qpage-status-badge--pending {
  background: #fff2da;
  color: #9b6311;
}

.qpage-status-badge--done {
  background: #e4f7ea;
  color: #1f7b45;
}

.qpage-accordion-caret {
  color: #4d658b;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #d6e1f2;
  background: #f5f8fd;
  border-radius: 999px;
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.qpage-accordion-panel {
  padding: 0 18px 16px;
  border-top: 1px solid #e3ebf6;
}

.qpage-panel-section {
  padding-top: 14px;
}

.qpage-panel-section h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #2a3e60;
}

.qpage-panel-section p {
  margin: 0;
  color: #52617c;
  font-size: 13px;
  line-height: 1.7;
}

.qpage-answer-content {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f0f7ff;
  border: 1px solid #d0e3f7;
  color: #2a4a6e;
  font-size: 13px;
  line-height: 1.7;
}

.qpage-answer-pending {
  padding: 12px 14px;
  border-radius: 8px;
  background: #fffbf0;
  color: #8a6a1a;
  border: 1px solid #f0dfa0;
  font-size: 13px;
}

/* =============================================
   qdetail — 문의 상세 페이지
   ============================================= */
.qdetail-panel {
  padding: 22px 28px;
}

.qdetail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #657894;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.qdetail-back-link::before {
  content: '\2039';
  font-size: 16px;
  line-height: 1;
}

.qdetail-top-meta {
  margin-top: 12px;
}

.qdetail-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #3d5f9a;
  font-size: 12px;
  font-weight: 700;
}

.qdetail-title {
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #17263d;
}

.qdetail-date {
  margin: 8px 0 0;
  color: #8a9bb8;
  font-size: 20px;
  font-weight: 500;
}

.qdetail-divider {
  margin: 18px 0;
  border-top: 1px solid #e6edf7;
}

.qdetail-section + .qdetail-section {
  margin-top: 18px;
}

.qdetail-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1d2f4e;
}

.qdetail-box {
  border-radius: 10px;
  border: 1px solid #dbe5f3;
  padding: 16px;
  color: #2f4261;
  line-height: 1.7;
  font-size: 15px;
}

.qdetail-box--content {
  background: #f8fbff;
}

.qdetail-answer-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qdetail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.qdetail-status--pending {
  background: #fff2da;
  color: #9b6311;
}

.qdetail-status--done {
  background: #e4f7ea;
  color: #1f7b45;
}

.qdetail-box--answer {
  background: #eef5ff;
  border-color: #c7daf8;
}

.qdetail-box--pending {
  background: #f5f9ff;
  color: #8798b1;
}

.qdetail-actions {
  display: flex;
  justify-content: flex-start;
}

.qdetail-list-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #d6e0ef;
  background: #f5f8fd;
  color: #3f526f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.qdetail-list-btn:hover {
  background: #ebf2fb;
}

.qdetail-empty {
  margin: 0;
  color: #6f83a0;
  font-size: 14px;
}

@media (max-width: 980px) {
  .qdetail-panel {
    padding: 18px 16px;
  }

  .qdetail-title {
    font-size: 30px;
    line-height: 1.25;
  }

  .qdetail-date {
    font-size: 16px;
  }

  .qdetail-box {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .mypage-shell {
    width: calc(100% - 16px);
    margin: 12px auto 56px;
  }

  .mypage-top-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    border-radius: 12px;
  }

  .mypage-top-tabs a {
    min-height: 36px;
    line-height: 36px;
    font-size: 13px;
  }

  .mypage-panel {
    margin-top: 12px;
  }

  .qpage-greeting-panel {
    padding: 14px 12px;
    gap: 10px;
  }

  .qpage-profile-badge {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 14px;
  }

  .qpage-greeting-text {
    font-size: 15px;
  }

  .qpage-support-panel,
  .qpage-list-panel {
    padding: 14px 12px;
  }

  .qpage-support-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .qpage-support-icon-wrap,
  .qpage-list-icon-wrap {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
  }

  .qpage-support-icon-wrap svg,
  .qpage-list-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .qpage-support-info strong,
  .qpage-list-info strong {
    font-size: 15px;
  }

  .qpage-support-info span,
  .qpage-list-info span {
    font-size: 12px;
  }

  .qpage-inquiry-btn {
    width: 100%;
    min-height: 38px;
    font-size: 13px;
  }

  .qpage-form-wrap {
    margin-top: 14px;
    padding-top: 14px;
  }

  .qpage-category-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .qpage-category-row::-webkit-scrollbar {
    display: none;
  }

  .qpage-category-chip {
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .qpage-input,
  .qpage-textarea {
    padding: 11px 13px;
    font-size: 13px;
  }

  .qpage-textarea {
    min-height: 120px;
  }

  .qpage-form-actions {
    flex-direction: column;
    gap: 8px;
  }

  .qpage-submit-btn,
  .qpage-cancel-btn {
    width: 100%;
    min-height: 40px;
    font-size: 13px;
  }

  .qpage-list-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .qpage-empty-box {
    padding: 22px 12px;
    font-size: 13px;
  }

  .qpage-accordion-trigger {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .qpage-accordion-trigger__left {
    width: 100%;
    gap: 10px;
  }

  .qpage-accordion-meta strong {
    white-space: normal;
    line-height: 1.45;
    font-size: 13px;
  }

  .qpage-accordion-meta span {
    font-size: 11px;
  }

  .qpage-accordion-trigger__right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .qpage-category-badge,
  .qpage-status-badge {
    min-height: 24px;
    padding: 0 9px;
    font-size: 11px;
  }

  .qpage-accordion-panel {
    padding: 0 12px 12px;
  }

  .qpage-panel-section {
    padding-top: 12px;
  }

  .qpage-panel-section h4 {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .qpage-panel-section p,
  .qpage-answer-content,
  .qpage-answer-pending {
    font-size: 12px;
    line-height: 1.65;
  }

  .qdetail-panel {
    padding: 16px 12px;
  }

  .qdetail-back-link {
    font-size: 12px;
  }

  .qdetail-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .qdetail-date {
    font-size: 14px;
  }

  .qdetail-answer-head {
    flex-wrap: wrap;
  }

  .qdetail-box {
    padding: 12px;
    font-size: 13px;
  }

  .qdetail-actions {
    width: 100%;
  }

  .qdetail-list-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .qdetail-title {
    font-size: 24px;
  }

  .qdetail-date {
    font-size: 12px;
  }

  .qdetail-section h2 {
    font-size: 16px;
  }

  .qdetail-box {
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .mypage-shell {
    width: calc(100% - 12px);
    margin-top: 10px;
  }

  .mypage-top-tabs a {
    font-size: 12px;
  }

  .qpage-greeting-text {
    font-size: 14px;
  }

  .qpage-support-info strong,
  .qpage-list-info strong {
    font-size: 14px;
  }

  .qpage-support-info span,
  .qpage-list-info span {
    font-size: 11px;
  }

  .qpage-support-panel,
  .qpage-list-panel {
    padding: 12px 10px;
  }

  .qpage-accordion-index {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    font-size: 11px;
  }

  .qpage-accordion-meta strong {
    font-size: 12px;
  }
}
