/* 고객문의 게시판 — 목록(qb) · 상세(qv) · 글쓰기(qe). 토큰은 upgrade.css */
.qb-main button,
.qv-main button,
.qe button {
  font-family: inherit;
  box-shadow: none;
}
.qb-main input,
.qb-main select,
.qv-main input,
.qe input,
.qe select,
.qe textarea {
  font-family: inherit;
  height: auto;
}

/* ================= 목록 ================= */
.qb-main {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.qb-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: #fff;
  border: 1px solid var(--hl-line);
  border-left: 4px solid var(--hl-gold);
}
.qb-guide h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qb-guide ul li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hl-muted);
}
.qb-guide ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hl-gold);
}
.qb-guide b {
  color: var(--hl-navy);
}
.qb-guide-call {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--hl-navy) !important;
}
.qb-guide-call span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--hl-gold);
}

.qb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.2rem 0 1rem;
}
.qb-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.qb-chip {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--hl-muted);
  background: #fff;
  border: 1px solid var(--hl-line);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.qb-chip:hover {
  color: var(--hl-navy);
  border-color: var(--hl-navy);
}
.qb-chip.is-active {
  color: #fff;
  background: var(--hl-navy);
  border-color: var(--hl-navy);
}
.qb-search {
  display: flex;
  border: 1px solid var(--hl-line);
  background: #fff;
}
.qb-search select,
.qb-search input {
  height: 42px;
  border: 0;
  font-size: 0.9rem;
  color: var(--hl-ink);
  background: transparent;
}
.qb-search select {
  padding: 0 0.6rem 0 0.9rem;
  border-right: 1px solid var(--hl-line);
}
.qb-search input {
  width: 220px;
  padding: 0 0.9rem;
}
.qb-search button {
  padding: 0 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-ink);
  border: 0;
}

.qb-board {
  border-top: 2px solid var(--hl-ink);
  background: #fff;
}
.qb-row {
  display: grid;
  grid-template-columns: 4.5rem 7.5rem 1fr 6rem 6.5rem 6rem;
  align-items: center;
  min-height: 60px;
  padding: 0 0.5rem;
  border-bottom: 1px solid var(--hl-line);
  font-size: 0.92rem;
  color: var(--hl-muted);
  text-align: center;
}
.qb-head {
  min-height: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hl-ink);
  background: #f5f7fa;
}
.qb-list .qb-row:hover {
  background: #fbfcfd;
}
.qb-row .qb-cat {
  font-size: 0.84rem;
  color: var(--hl-gold);
  font-weight: 600;
}
.qb-row .qb-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0 1rem;
  text-align: left;
  color: var(--hl-ink);
}
.qb-head .qb-title {
  justify-content: center;
}
.qb-title strong {
  overflow: hidden;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
a.qb-title:hover strong {
  color: var(--hl-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qb-lock,
.qb-ico {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qb-lock {
  color: var(--hl-gold);
}
.qb-ico {
  color: #9aa6b4;
}
.qb-badge {
  display: inline-block;
  padding: 0.28rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 2px;
}
.qb-badge.is-done {
  color: #fff;
  background: var(--hl-navy);
}
.qb-badge.is-wait {
  color: var(--hl-gold);
  background: var(--hl-sand);
}
.qb-empty {
  padding: 4rem 1rem;
  text-align: center;
  color: var(--hl-muted);
  border-bottom: 1px solid var(--hl-line);
}

.qb-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.6rem;
}
.qb-count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hl-muted);
}
.qb-count b {
  color: var(--hl-navy);
}
.qb-pager {
  display: flex;
  gap: 0.3rem;
}
.qb-pager button {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  color: var(--hl-muted);
  background: #fff;
  border: 1px solid var(--hl-line);
}
.qb-pager button.is-active {
  color: #fff;
  background: var(--hl-ink);
  border-color: var(--hl-ink);
}
.qb-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}
.qb-write {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff !important;
  background: var(--hl-gold);
  transition: background 0.2s ease, transform 0.2s ease;
}
.qb-write[hidden] {
  display: none;
}
.qb-write::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M11 2.5l2.5 2.5L6 12.5 3 13l.5-3z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M11 2.5l2.5 2.5L6 12.5 3 13l.5-3z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.qb-write:hover {
  background: #a5834b;
  transform: translateY(-2px);
}
.qb-loading {
  padding: 5rem 0;
  text-align: center;
  color: var(--hl-muted);
}

/* ================= 상세 ================= */
.qv-main {
  max-width: 960px;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.qv-post {
  background: #fff;
  border-top: 2px solid var(--hl-ink);
  border-bottom: 1px solid var(--hl-line);
}
.qv-head {
  padding: 1.8rem 1.6rem 1.4rem;
  border-bottom: 1px solid var(--hl-line);
}
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.qv-cat {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hl-gold);
  margin-right: 0.3rem;
}
.qv-secret {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--hl-muted);
}
.qv-head h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--hl-ink);
}
.qv-meta {
  display: flex;
  gap: 1rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--hl-muted);
}
.qv-meta span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.75em;
  margin-right: 1rem;
  background: var(--hl-line);
}

/* 본문 출력 — 에디터(.qe-body)와 같은 규칙 */
.qv-content,
.qe-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #333d4b;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.qv-content {
  padding: 2rem 1.6rem 2.4rem;
  min-height: 160px;
}
.qv-content > * + *,
.qe-body > * + * {
  margin-top: 0.4rem;
}
.qv-content h3,
.qe-body h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qv-content ul,
.qe-body ul {
  padding-left: 1.4rem;
  list-style: disc;
}
.qv-content ol,
.qe-body ol {
  padding-left: 1.4rem;
  list-style: decimal;
}
.qv-content li,
.qe-body li {
  list-style: inherit;
}
.qv-content a,
.qe-body a {
  color: #1a6fc9;
  text-decoration: underline;
}
.qv-content em,
.qe-body em {
  position: static;
  width: auto;
  padding: 0;
  background: none;
  color: inherit;
  text-align: inherit;
  font-style: italic;
}
.qv-content .qe-quote,
.qe-body .qe-quote {
  position: relative;
  margin: 1.4rem 0;
  padding: 1.2rem 1.4rem 1.2rem 3.4rem;
  font-size: 1.08rem;
  color: var(--hl-ink);
  background: var(--hl-sand);
  border: 0;
  border-left: 3px solid var(--hl-gold);
}
.qv-content .qe-quote::before,
.qe-body .qe-quote::before {
  content: "\201C";
  position: absolute;
  left: 1rem;
  top: 0.35rem;
  font-family: "Nanum Myeongjo", serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--hl-gold);
}
.qv-content .qe-divider,
.qe-body .qe-divider {
  padding: 1.2rem 0;
}
.qv-content .qe-hr,
.qe-body .qe-hr {
  width: 120px;
  height: 1px;
  margin: 0 auto;
  background: #bfc7d2;
  border: 0;
}
.qv-content .qe-table,
.qe-body .qe-table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  table-layout: fixed;
}
.qv-content .qe-table td,
.qe-body .qe-table td {
  padding: 0.6rem 0.8rem;
  border: 1px solid #d5dbe3;
  vertical-align: top;
}
.qv-content figure,
.qe-body figure {
  margin: 1.2rem 0;
  text-align: center;
}
.qv-content figure img,
.qe-body figure img,
.qv-content figure video,
.qe-body figure video {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
}
.qv-content figure img,
.qe-body figure img {
  background: none;
}
.qv-content figcaption,
.qe-body figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--hl-muted);
}
.qv-content .qe-grid,
.qe-body .qe-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(2, 1fr);
}
.qv-content .qe-grid.qe-n3,
.qe-body .qe-grid.qe-n3 {
  grid-template-columns: repeat(3, 1fr);
}
.qv-content .qe-grid img,
.qe-body .qe-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.qv-content .qe-linkcard a,
.qe-body .qe-linkcard a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  border: 1px solid #d5dbe3;
  background: #fff;
}
.qe-link-host {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qe-link-url {
  overflow: hidden;
  font-size: 0.82rem;
  color: #1a6fc9;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.qv-files {
  margin: 0 1.6rem 1.6rem;
  padding: 1rem 1.2rem;
  background: #f5f7fa;
}
.qv-files h3 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qv-files h3 span {
  color: var(--hl-gold);
}
.qv-files li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}
.qv-files a {
  color: var(--hl-ink);
}
.qv-files a:hover {
  text-decoration: underline;
}
.qv-files small {
  color: var(--hl-muted);
}
.qv-files span {
  color: var(--hl-muted);
}

.qv-answer {
  margin-top: 1.6rem;
  background: #fff;
  border: 1px solid var(--hl-line);
  border-top: 3px solid var(--hl-navy);
}
.qv-answer-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.4rem 1.6rem 0;
}
.qv-answer.is-wait {
  border-top-color: var(--hl-gold);
}
.qv-answer.is-wait .qv-answer-head {
  padding-bottom: 1.4rem;
}
.qv-answer-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  font-weight: 800;
  color: #fff;
  background: var(--hl-navy);
  border-radius: 50%;
}
.qv-answer.is-wait .qv-answer-mark {
  background: var(--hl-gold);
}
.qv-answer-head strong {
  display: block;
  font-size: 1.02rem;
  color: var(--hl-ink);
}
.qv-answer-head small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--hl-muted);
}
.qv-answer-head small a {
  color: var(--hl-navy);
  font-weight: 700;
}
.qv-answer .qv-content {
  min-height: 0;
  padding: 1rem 1.6rem 1.6rem 4.8rem;
}
.qv-admin-answer {
  margin-top: 1.6rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: #f7f9fc;
  border: 1px solid #cad5e4;
  border-top: 3px solid var(--hl-gold);
}
.qv-admin-answer-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.qv-admin-answer-head span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hl-gold);
}
.qv-admin-answer-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qv-admin-answer-head a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hl-navy);
  border-bottom: 1px solid var(--hl-navy);
}
.qv-admin-answer textarea {
  width: 100%;
  min-height: 180px;
  padding: 1rem;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--hl-ink);
  background: #fff;
  border: 1px solid #cfd7e1;
  box-sizing: border-box;
  resize: vertical;
}
.qv-admin-answer textarea:focus {
  outline: 2px solid rgba(29, 58, 107, 0.14);
  border-color: var(--hl-navy);
}
.qv-admin-help {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--hl-muted);
}
.qv-admin-answer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.qv-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.qv-actions .is-primary {
  margin-left: auto;
}
.qv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 0.8rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--hl-ink) !important;
  background: #fff;
  border: 1px solid #c9d1dc;
  transition: all 0.2s ease;
}
.qv-btn:hover {
  border-color: var(--hl-ink);
}
.qv-btn.is-ghost {
  color: var(--hl-muted) !important;
}
.qv-btn.is-primary {
  color: #fff !important;
  background: var(--hl-navy);
  border-color: var(--hl-navy);
}
.qv-btn.is-primary:hover {
  background: var(--hl-deep);
}

.qv-del,
.qv-lock {
  text-align: center;
}
.qv-del {
  margin-top: 1rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--hl-line);
}
.qv-del p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--hl-muted);
}
.qv-lock {
  max-width: 440px;
  margin: 1rem auto;
  padding: 3rem 2rem 2.4rem;
  background: #fff;
  border: 1px solid var(--hl-line);
  border-top: 3px solid var(--hl-gold);
}
.qv-lock-icon {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--hl-sand);
}
.qv-lock-icon .qb-lock {
  width: 24px;
  height: 24px;
}
.qv-lock h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qv-lock > p {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  color: var(--hl-muted);
}
.qv-lock-field {
  display: flex;
  max-width: 320px;
  margin: 0 auto;
}
.qv-lock-field input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 0.9rem;
  font-size: 0.95rem;
  border: 1px solid #c9d1dc;
  border-right: 0;
}
.qv-lock-field input:focus {
  border-color: var(--hl-navy);
}
.qv-lock-field button {
  padding: 0 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-navy);
  border: 0;
}
.qv-error {
  min-height: 1.2em;
  margin: 0.6rem 0 0 !important;
  font-size: 0.85rem;
  color: #d9262c !important;
}
.qv-back {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--hl-muted) !important;
  text-decoration: underline;
}
.qv-missing {
  padding: 4rem 1rem;
  text-align: center;
}
.qv-missing h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--hl-ink);
}
.qv-missing p {
  margin: 0 0 1.4rem;
  color: var(--hl-muted);
}

/* ================= 글쓰기 (네이버 블로그 에디터형) ================= */
.qe-page {
  background: #f4f5f7;
}
.qe {
  position: relative;
  min-height: calc(100vh - 80px);
  padding-bottom: 3.2rem;
  letter-spacing: -0.02em;
}
.qe-top {
  position: sticky;
  top: 80px;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e5e8ec;
}
.qe-top-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 1200px;
  height: 58px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.qe-back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--hl-ink);
}
.qe-back:hover {
  background: #f1f3f6;
}
.qe-back svg,
.qe-publish-btn svg,
.qe-publish-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qe-top-title {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  font-size: 1.05rem;
  color: var(--hl-ink);
}
.qe-top-title b {
  font-weight: 800;
  color: var(--hl-navy);
}
.qe-top-title span {
  font-size: 0.95rem;
  color: var(--hl-muted);
}
.qe-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.qe-save {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 36px;
  padding: 0 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hl-ink);
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
}
.qe-save span {
  padding-left: 0.45rem;
  color: var(--hl-gold);
  border-left: 1px solid #d5dbe3;
}
.qe-publish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 36px;
  padding: 0 1rem 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-navy);
  border: 0;
  border-radius: 4px;
}
.qe-publish-btn:hover {
  background: var(--hl-deep);
}
.qe-publish-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* 등록 설정 패널 */
.qe-publish {
  position: absolute;
  top: calc(100% + 6px);
  right: 1.25rem;
  z-index: 30;
  width: 400px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 1.3rem 1.4rem 1.2rem;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(11, 28, 51, 0.16);
}
.qe-publish[hidden] {
  display: none;
}
.qe-publish-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eceff3;
}
.qe-publish-head strong {
  font-size: 1.02rem;
  color: var(--hl-ink);
}
.qe-publish-close {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: var(--hl-muted);
  background: none;
  border: 0;
}
.qe-f {
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  min-width: 0;
}
.qe-f > span {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.qe-req {
  font-weight: 700;
  color: #d9262c;
}
.qe-f small {
  margin-left: 0.3rem;
  font-weight: 400;
  color: var(--hl-muted);
}
.qe-f input[type="text"],
.qe-f input[type="tel"],
.qe-f input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 0.8rem;
  font-size: 0.92rem;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
}
.qe-f input:focus {
  border-color: var(--hl-navy);
}
.qe-f-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.qe-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.qe-cats label,
.qe-seg label {
  position: relative;
  cursor: pointer;
}
.qe-cats input,
.qe-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qe-cats span,
.qe-seg span {
  display: block;
  padding: 0.6rem 0.5rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--hl-muted);
  border: 1px solid #d5dbe3;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.qe-cats input:checked + span,
.qe-seg input:checked + span {
  font-weight: 700;
  color: var(--hl-navy);
  background: var(--hl-mist);
  border-color: var(--hl-navy);
}
.qe-cats input:focus-visible + span,
.qe-seg input:focus-visible + span {
  outline: 2px solid var(--hl-gold);
}
.qe-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.qe-agree {
  padding: 0.9rem 1rem;
  background: #f5f7fa;
  border-radius: 4px;
}
.qe-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--hl-ink);
  cursor: pointer;
}
.qe-check input {
  width: 17px;
  height: 17px;
  margin: 0.1rem 0 0;
  accent-color: var(--hl-navy);
}
.qe-agree details {
  margin-top: 0.5rem;
  padding-left: 1.55rem;
  font-size: 0.8rem;
  color: var(--hl-muted);
}
.qe-agree summary {
  cursor: pointer;
  text-decoration: underline;
}
.qe-agree dl {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.25rem 0.5rem;
  margin: 0.5rem 0;
}
.qe-agree dt {
  font-weight: 700;
}
.qe-agree p {
  margin: 0;
}
.qe-error {
  min-height: 1.2em;
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: #d9262c;
}
.qe-publish-foot {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.qe-btn {
  height: 46px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
}
.qe-btn.is-ghost {
  color: var(--hl-muted);
  background: #fff;
  border: 1px solid #d5dbe3;
}
.qe-btn.is-primary {
  color: #fff;
  background: var(--hl-navy);
  border: 1px solid var(--hl-navy);
}
.qe-btn.is-primary:hover {
  background: var(--hl-deep);
}
.qe-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* 도구 모음 */
.qe-tools {
  position: sticky;
  top: 138px;
  z-index: 15;
  background: #fff;
  border-bottom: 1px solid #e5e8ec;
  box-shadow: 0 4px 14px rgba(11, 28, 51, 0.04);
}
.qe-cmps,
.qe-props {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.qe-cmps::-webkit-scrollbar,
.qe-props::-webkit-scrollbar {
  display: none;
}
.qe-cmps {
  gap: 0.2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.4rem;
}
.qe-cmps button {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 62px;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  color: #4a5563;
  background: none;
  border: 0;
  border-radius: 6px;
}
.qe-cmps button:hover {
  color: var(--hl-navy);
  background: #f1f4f8;
}
.qe-cmps svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qe-props {
  gap: 0.15rem;
  height: 44px;
  border-top: 1px solid #eef0f3;
}
.qe-props select {
  flex-shrink: 0;
  height: 32px;
  padding: 0 0.4rem;
  font-size: 0.85rem;
  color: var(--hl-ink);
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.qe-props select:hover {
  border-color: #d5dbe3;
}
.qe-props > button,
.qe-color > button {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 0.95rem;
  color: #3b4654;
  background: none;
  border: 0;
  border-radius: 4px;
}
.qe-props > button:hover,
.qe-color > button:hover {
  background: #f1f4f8;
}
.qe-props > button.is-on {
  color: var(--hl-navy);
  background: var(--hl-mist);
}
.qe-props svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qe-props i[style] {
  font-style: italic;
}
.qe-sep {
  flex-shrink: 0;
  width: 1px;
  height: 18px;
  margin: 0 0.35rem;
  background: #e1e5ea;
}
.qe-color {
  position: relative;
  flex-shrink: 0;
}
.qe-color > button {
  position: relative;
  font-weight: 700;
}
.qe-color > button span {
  margin-top: -3px;
}
.qe-color > button i {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 3px;
  background: #222;
}
.qe-palette {
  position: fixed;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 22px);
  gap: 6px;
  margin-top: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(11, 28, 51, 0.14);
}
.qe-palette[hidden] {
  display: none;
}
.qe-palette button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}

/* 임시저장 복구 배너 */
.qe-draft {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 860px;
  margin: 1.2rem auto 0;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--hl-ink);
  background: #fff8e8;
  border: 1px solid #f0dfb5;
  border-radius: 4px;
}
.qe-draft[hidden] {
  display: none;
}
.qe-draft p {
  margin: 0 auto 0 0;
}
.qe-draft span {
  color: var(--hl-muted);
}
.qe-draft button {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-navy);
  border: 0;
  border-radius: 4px;
}
.qe-draft button.is-ghost {
  color: var(--hl-muted);
  background: #fff;
  border: 1px solid #d5dbe3;
}

/* 캔버스 */
.qe-canvas {
  padding: 1.6rem 1.25rem 2rem;
}
.qe-doc {
  max-width: 860px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 2.6rem clamp(1.4rem, 5vw, 4.5rem) 4rem;
  background: #fff;
  border: 1px solid #e5e8ec;
  box-shadow: 0 2px 10px rgba(11, 28, 51, 0.04);
}
.qe-doc-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hl-muted);
  background: #f5f7fa;
  border: 1px dashed #c9d1dc;
  border-radius: 999px;
}
.qe-doc-cat::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 0.2rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.qe-doc-cat.is-set {
  color: var(--hl-gold);
  background: var(--hl-sand);
  border: 1px solid transparent;
}
.qe-title {
  display: block;
  width: 100%;
  padding: 0 0 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--hl-ink);
  background: none;
  border: 0;
  border-bottom: 1px solid #eceff3;
  resize: none;
  overflow: hidden;
}
.qe-title::placeholder {
  color: #c3c9d1;
}
.qe-body {
  position: relative;
  min-height: 420px;
  padding-top: 1.6rem;
  outline: none;
  caret-color: var(--hl-navy);
}
.qe-body.is-empty::before {
  content: attr(data-placeholder);
  position: absolute;
  max-width: 600px;
  color: #b3bac4;
  pointer-events: none;
}
.qe-body .qe-quote p:empty::before,
.qe-body .qe-quote p:only-child:has(br:only-child)::before {
  content: "인용구를 입력하세요";
  color: #b7a37f;
}
.qe-body figcaption:empty::before {
  content: attr(data-ph);
  color: #b3bac4;
}
.qe-body figcaption {
  outline: none;
}

/* 컴포넌트 공통 */
.qe-body .qe-cmp {
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 4px;
  transition: outline-color 0.15s ease;
}
.qe-body .qe-cmp:hover {
  outline-color: #d5e0ee;
}
.qe-body .qe-cmp.is-selected {
  outline-color: var(--hl-navy);
}
.qe-x {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  color: #fff;
  background: rgba(11, 28, 51, 0.72);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.qe-x svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.qe-cmp:hover .qe-x,
.qe-cmp.is-selected .qe-x {
  opacity: 1;
}
.qe-body .qe-file {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.8rem 0;
  padding: 0.85rem 3rem 0.85rem 1rem;
  background: #f7f9fb;
  border: 1px solid #dfe4ea;
  border-radius: 4px;
}
.qe-file-ext {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: var(--hl-navy);
  border-radius: 4px;
}
.qe-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hl-ink);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qe-file-size {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--hl-muted);
}
.qe-body .qe-linkcard {
  margin: 0.8rem 0;
}

/* 상태 표시줄 */
.qe-status {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  background: #fff;
  border-top: 1px solid #e5e8ec;
}
.qe-status-inner {
  display: flex;
  gap: 1.1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  color: var(--hl-muted);
}
.qe-status b {
  color: var(--hl-navy);
}
.qe-status-tip {
  margin-left: auto;
}
.qe-page #TopBtn {
  bottom: 60px;
}

/* 링크 입력 · 드롭 · 토스트 */
.qe-pop {
  position: absolute;
  z-index: 35;
  display: flex;
  width: 320px;
  padding: 8px;
  background: #fff;
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(11, 28, 51, 0.16);
}
.qe-pop[hidden] {
  display: none;
}
.qe-pop input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 0.7rem;
  font-size: 0.88rem;
  border: 1px solid #d5dbe3;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}
.qe-pop button {
  padding: 0 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-navy);
  border: 0;
  border-radius: 0 4px 4px 0;
}
.qe-drop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(10, 22, 40, 0.55);
  pointer-events: none;
}
.qe-drop[hidden] {
  display: none;
}
.qe-drop div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 2.4rem 3.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hl-navy);
  background: #fff;
  border: 2px dashed var(--hl-navy);
  border-radius: 10px;
}
.qe-drop svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.qe-toast {
  position: fixed;
  left: 50%;
  bottom: 70px;
  z-index: 110;
  max-width: calc(100% - 2rem);
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(11, 28, 51, 0.92);
  border-radius: 6px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.qe-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ================= 공지사항 ================= */
.qb-board.is-notice .qb-row {
  grid-template-columns: 5.5rem 7rem 1fr 6.5rem 5rem;
}
.qb-row.is-pinned {
  background: #fbf8f2;
}
.qb-list .qb-row.is-pinned:hover {
  background: #f7f1e6;
}
.qb-row.is-pinned .qb-title strong {
  font-weight: 700;
}
.nb-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.55rem 0.25rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-gold);
  border-radius: 2px;
}
.qb-ico.is-pin {
  width: 13px;
  height: 13px;
  color: #fff;
}
.nb-new {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
  background: #d9262c;
  border-radius: 50%;
}
.qb-views {
  font-size: 0.86rem;
}

.nb-admin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--hl-ink);
  border-radius: 4px;
}
.nb-admin[hidden] {
  display: none;
}
.nb-admin p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}
.nb-admin b {
  color: #fff;
}
.nb-admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ecf6e;
  box-shadow: 0 0 0 3px rgba(62, 207, 110, 0.25);
}
.nb-admin-btn {
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}
.nb-admin-btn.is-primary {
  background: var(--hl-gold);
  border-color: var(--hl-gold);
}
.qe-top-title .nb-admin-tag {
  align-self: center;
  margin-left: 0.3rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--hl-gold);
  border-radius: 2px;
}

.nv-nav {
  margin-top: 1.6rem;
  background: #fff;
  border-top: 1px solid var(--hl-ink);
  border-bottom: 1px solid var(--hl-line);
}
.nv-nav li {
  display: grid;
  grid-template-columns: 6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  font-size: 0.92rem;
}
.nv-nav li + li {
  border-top: 1px solid var(--hl-line);
}
.nv-label {
  font-weight: 700;
  color: var(--hl-ink);
}
.nv-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0.55rem 0.15rem 0;
  border-left: 1.5px solid var(--hl-gold);
  border-top: 1.5px solid var(--hl-gold);
  transform: rotate(45deg);
}
.nv-nav li:last-child .nv-label::before {
  margin-bottom: 0.3rem;
  transform: rotate(225deg);
}
.nv-title {
  overflow: hidden;
  color: #333d4b !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}
a.nv-title:hover {
  color: var(--hl-navy) !important;
  text-decoration: underline;
}
.nv-nav li.is-empty .nv-title {
  color: #a6aeb9 !important;
}
.nv-date {
  font-size: 0.84rem;
  color: var(--hl-muted);
}
.qv-btn.is-danger {
  color: #d9262c !important;
  border-color: rgba(217, 38, 44, 0.4);
}
.qv-btn.is-danger:hover {
  border-color: #d9262c;
}

.qe-cats.is-3 {
  grid-template-columns: repeat(3, 1fr);
}
.qe-switch {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
}
.qe-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.qe-switch-track {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  background: #cfd6df;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.qe-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.qe-switch input:checked + .qe-switch-track {
  background: var(--hl-gold);
}
.qe-switch input:checked + .qe-switch-track::after {
  transform: translateX(18px);
}
.qe-switch input:focus-visible + .qe-switch-track {
  outline: 2px solid var(--hl-navy);
  outline-offset: 2px;
}
.qe-switch-text {
  font-size: 0.88rem;
  color: var(--hl-muted);
}
.qe-switch-text b {
  color: var(--hl-gold);
}
.qe-note {
  margin: 0.2rem 0 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--hl-muted);
  background: #f5f7fa;
  border-radius: 4px;
}

/* 관리자 로그인 */
.al-page {
  background: #f4f5f7;
}
.al-main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 80px - 120px);
  padding: 4rem 1.25rem;
}
.al-card {
  width: 100%;
  max-width: 400px;
  padding: 2.6rem 2.2rem 2rem;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-top: 3px solid var(--hl-navy);
  box-shadow: 0 20px 44px rgba(11, 28, 51, 0.08);
  letter-spacing: -0.02em;
}
.al-emblem {
  display: block;
  width: 56px;
  height: auto;
  margin: 0 0 1.2rem;
}
.al-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--hl-gold);
}
.al-card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.al-lead {
  margin: 0 0 1.8rem;
  font-size: 0.9rem;
  color: var(--hl-muted);
}
.al-field {
  display: block;
  margin-bottom: 1rem;
}
.al-field span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hl-ink);
}
.al-field input {
  width: 100%;
  height: 46px;
  padding: 0 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
}
.al-field input:focus {
  border-color: var(--hl-navy);
}
.al-submit {
  width: 100%;
  margin-top: 0.6rem;
  font-family: inherit;
}
.al-home {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--hl-muted) !important;
  text-decoration: underline;
}
.al-reset {
  width: 100%;
  padding: 0;
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.al-reset[hidden] {
  display: none;
}

/* ================= 반응형 ================= */
@media (max-width: 1024px) {
  .qb-row {
    grid-template-columns: 4rem 6.5rem 1fr 5.5rem 6rem 5.5rem;
    font-size: 0.88rem;
  }
}
@media (max-width: 760px) {
  .qb-guide {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.3rem 1.2rem;
  }
  .qb-guide-call {
    align-items: flex-start;
    font-size: 1.4rem;
  }
  .qb-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .qb-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .qb-chip {
    flex-shrink: 0;
  }
  .qb-search input {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .qb-head {
    display: none;
  }
  .qb-list .qb-row {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas:
      "cat state . ."
      "title title title title"
      "author date . .";
    gap: 0.35rem 0.6rem;
    padding: 1rem 0.3rem;
    text-align: left;
  }
  .qb-list .qb-no {
    display: none;
  }
  .qb-list .qb-cat { grid-area: cat; }
  .qb-list .qb-state { grid-area: state; }
  .qb-list .qb-title { grid-area: title; padding: 0; }
  .qb-list .qb-author { grid-area: author; font-size: 0.82rem; }
  .qb-list .qb-date { grid-area: date; font-size: 0.82rem; }
  .qb-title strong {
    font-size: 0.98rem;
  }
  .qb-bottom {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "pager pager"
      "count write";
  }
  .qb-board.is-notice .qb-list .qb-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "no cat ."
      "title title title"
      "date views .";
  }
  .qb-board.is-notice .qb-list .qb-no {
    display: none;
  }
  .qb-board.is-notice .qb-list .qb-row.is-pinned .qb-no {
    display: block;
    grid-area: no;
  }
  .qb-board.is-notice .qb-list .qb-views {
    grid-area: views;
    font-size: 0.82rem;
  }
  .qb-board.is-notice .qb-list .qb-views::before {
    content: "조회 ";
  }
  .nv-nav li {
    grid-template-columns: 4.5rem 1fr;
    padding: 0.85rem 0.9rem;
  }
  .nv-date {
    display: none;
  }
  .nb-admin {
    flex-wrap: wrap;
  }
  .nb-admin p {
    width: 100%;
    margin-bottom: 0.3rem;
  }
  .qb-pager { grid-area: pager; justify-content: center; }
  .qb-count { grid-area: count; }
  .qb-write { grid-area: write; }

  .qv-head,
  .qv-content {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .qv-files {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }
  .qv-answer-head {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .qv-answer .qv-content {
    padding-left: 1.1rem;
  }
  .qv-actions .qv-btn {
    flex: 1;
    min-width: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .qe-top-title span,
  .qe-status-tip {
    display: none;
  }
  .qe-save {
    padding: 0 0.7rem;
  }
  .qe-publish {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 85vh;
    border-radius: 14px 14px 0 0;
  }
  .qe-cmps button {
    min-width: 54px;
  }
  .qe-canvas {
    padding: 0.8rem 0 1.4rem;
  }
  .qe-doc {
    padding: 1.6rem 1.1rem 3rem;
    border-left: 0;
    border-right: 0;
  }
  .qe-draft {
    flex-wrap: wrap;
    margin: 0.8rem 0.8rem 0;
  }
  .qe-draft p {
    width: 100%;
  }
  .qe-status-inner {
    gap: 0.8rem;
  }
  .qe-pop {
    left: 0.8rem !important;
    right: 0.8rem;
    width: auto;
  }
}
