:root {
  --cream: #fdfbf7;
  --green: #1a3a34;
  --gold: #c5a059;
  --beige: #f4efe6;
  --charcoal: #1a1a1a;
  --muted: #6f7068;
  --line: rgba(26, 58, 52, 0.14);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

#world,
.page-view {
  transition: opacity 160ms ease;
}

body.is-routing #world,
body.is-routing .page-view {
  opacity: 0.72;
}

button,
input,
textarea {
  font: inherit;
}

.page-view {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(197, 160, 89, 0.08), transparent 36rem),
    var(--cream);
}

.page-view.products-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(253, 251, 247, 0.94) 0%, rgba(253, 251, 247, 0.78) 44%, rgba(253, 251, 247, 0.92) 100%),
    linear-gradient(180deg, rgba(253, 251, 247, 0.78) 0%, rgba(253, 251, 247, 0.94) 62%, var(--cream) 100%),
    var(--product-bg-image) right top / min(58vw, 760px) auto no-repeat;
  opacity: 0.72;
  transition: background-image 180ms ease, opacity 180ms ease;
}

.page-view > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(24px, 5vw, 72px);
  background: rgba(253, 251, 247, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: max-content;
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  word-break: keep-all;
}

.brand-mark {
  width: 24px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 7px 7px 10px 10px;
  background: linear-gradient(160deg, var(--gold), color-mix(in srgb, var(--gold) 60%, #000));
  box-shadow: 0 6px 14px color-mix(in srgb, var(--gold) 40%, transparent);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a,
.back-link {
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 999px;
}

.site-header nav a.active,
.site-header nav a:hover,
.back-link:hover {
  color: #fff;
  background: var(--green);
}

.sub-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(46px, 6vw, 78px) 0 30px;
  max-width: none;
}

.compact-hero {
  padding: clamp(24px, 3.4vw, 44px) 0 18px;
}

.inquiry-hero.compact-hero p {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.45;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sub-hero h1,
.admin-hero h1 {
  margin: 10px 0 0;
  color: var(--green);
  font-size: clamp(2.3rem, 4.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.sub-hero p,
.admin-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.product-studio,
.inquiry-layout,
.admin-panel {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 72px;
}

.compact-hero + .product-studio,
.compact-hero + .inquiry-layout,
.compact-hero + .about-layout {
  margin-top: 0;
}

.product-studio {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-areas:
    "tabs search"
    "tabs grid";
  gap: 16px 22px;
  align-items: start;
}

.category-tabs {
  grid-area: tabs;
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.category-tabs button,
.admin-actions button,
.admin-login-row button {
  border: 1px solid rgba(26, 58, 52, 0.18);
  background: rgba(253, 251, 247, 0.92);
  color: var(--green);
  border-radius: 8px;
  padding: 11px 13px;
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.category-tabs button.active,
.category-tabs button:hover,
.admin-actions button:last-child,
.admin-login-row button {
  background: var(--green);
  color: #fff;
}

.search-row {
  grid-area: search;
  margin-bottom: 0;
}

.search-row input,
.admin-login-row input,
.inquiry-form input:not([type="checkbox"]),
.inquiry-form textarea,
#contentEditor {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--charcoal);
  border-radius: 8px;
  padding: 12px 13px;
  outline: none;
}

.product-grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.inquiry-layout aside,
.inquiry-form,
.admin-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 42px rgba(26, 58, 52, 0.06);
}

.product-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(26, 58, 52, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #edf2f0;
}

.product-card__img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
  z-index: 1;
  pointer-events: none;
}

.product-card__img-wrap.is-loaded::before {
  display: none;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.product-card__img-wrap img.loaded {
  opacity: 1;
}

.product-card--link:hover .product-card__img-wrap img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__tag,
.product-card__subtitle {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.product-card__title {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  word-break: keep-all;
}

.product-card__cta {
  margin-top: auto;
  color: var(--gold);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.product-card__cta svg {
  transition: transform 0.2s ease;
}

.product-card--link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product-card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 20px 48px rgba(26, 58, 52, 0.12);
}

.product-card--link:hover .product-card__cta {
  color: var(--green);
}

.product-card--link:hover .product-card__cta svg {
  transform: translateX(4px);
}

.empty {
  color: var(--muted);
  padding: 28px 0;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.about-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.ceo-note,
.history-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 60px rgba(26, 58, 52, 0.08);
  padding: clamp(28px, 4vw, 52px);
}

.ceo-note {
  background:
    linear-gradient(145deg, rgba(26, 58, 52, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.76);
}

.ceo-note__headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 20px);
  margin: 12px 0 24px;
}

.ceo-note__headline img {
  width: clamp(66px, 6vw, 82px);
  height: auto;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 12px 30px rgba(26, 58, 52, 0.08);
}

.ceo-note h2,
.history-panel h2 {
  margin: 12px 0 24px;
  color: var(--green);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.ceo-note__headline h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
}

.ceo-note p {
  color: #4f554f;
  line-height: 1.9;
  font-size: 1.04rem;
}

.ceo-note strong {
  display: inline-block;
  margin-top: 20px;
  color: var(--green);
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline section {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.timeline h3 {
  margin: 0;
  color: var(--gold);
  font-size: 1.7rem;
}

.timeline ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  color: #4f554f;
  line-height: 1.6;
}

.timeline li span {
  color: var(--green);
  font-weight: 900;
}

.inquiry-layout aside,
.inquiry-form {
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
}

.inquiry-layout h2 {
  margin: 12px 0;
  color: var(--green);
  font-size: clamp(1.6rem, 2.55vw, 2.35rem);
  line-height: 1.14;
}

.inquiry-layout aside p,
.inquiry-layout dd {
  color: var(--muted);
  line-height: 1.7;
}

.inquiry-layout dl {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.inquiry-layout dt {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 900;
}

.inquiry-layout dd {
  margin: 4px 0 0;
}

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

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 800;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 150px;
}

.inquiry-form > label,
/* Adobe Folder-Style Connected Tab UI */
.product-pick {
  margin-top: 24px;
}

.product-pick__header {
  margin-bottom: 16px;
}

.product-pick__header strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
}

.product-pick__sub {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Tab Bar Row (Folder Tabs) */
.adobe-tab-bar {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.adobe-tab-bar::-webkit-scrollbar {
  display: none;
}

.adobe-tab {
  width: auto;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(244, 239, 230, 0.72);
  border: 1px solid rgba(26, 58, 52, 0.16);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.adobe-tab:hover {
  color: var(--green);
  background: rgba(255, 255, 255, 0.9);
}

.adobe-tab.active {
  background: var(--green);
  color: #ffffff;
  font-weight: 800;
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(26, 58, 52, 0.16);
  z-index: 3;
}

.adobe-tab__count {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.adobe-tab.active .adobe-tab__count {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

/* Connected Content Box (Below Folder Tabs) */
.adobe-tab-box {
  background: #ffffff;
  border: 1px solid rgba(26, 58, 52, 0.16);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(26, 58, 52, 0.05);
  position: relative;
  z-index: 1;
}

/* Selected Summary Box Inside Content Box */
.selected-summary-box {
  background: var(--cream);
  border: 1px dashed rgba(197, 160, 89, 0.5);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
}

.summary-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.summary-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--green);
}

.summary-title strong {
  color: var(--gold);
}

.summary-clear-btn {
  width: auto;
  border: none;
  border-radius: 999px;
  background: rgba(26, 58, 52, 0.07);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 5px 10px;
}

.summary-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-empty-msg {
  font-size: 0.84rem;
  color: var(--muted);
}

.summary-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}

.summary-tag button {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: rgba(26, 58, 52, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.summary-tag button:hover {
  color: #c33;
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green);
}

.select-category-btn {
  width: auto;
  background: rgba(26, 58, 52, 0.05);
  border: 1px solid rgba(26, 58, 52, 0.15);
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.select-category-btn:hover {
  background: var(--green);
  color: #ffffff;
}

/* Pick Cards Grid */
.pick-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 10px;
}

.pick-item-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(26, 58, 52, 0.14);
  background: #ffffff;
  color: var(--charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: all 0.18s ease;
}

.pick-item-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(26, 58, 52, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.pick-item-card:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 89, 0.05);
}

.pick-item-card:has(input:checked) {
  border-color: var(--green);
  background: rgba(26, 58, 52, 0.06);
  color: var(--green);
  font-weight: 800;
}

.pick-item-card:has(input:checked) .custom-checkbox {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.check-line {
  display: grid;
  grid-template-columns: 16px max-content;
  align-items: center;
  justify-content: flex-start;
  column-gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(244, 239, 230, 0.72);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  width: 100%;
}

.check-line input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.privacy-section {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(26, 58, 52, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(253, 251, 247, 0.96), rgba(255, 255, 255, 0.92));
  box-shadow: 0 12px 34px rgba(26, 58, 52, 0.05);
}

.privacy-section__header {
  margin-bottom: 14px;
}

.privacy-section__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.privacy-section h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.35;
}

.policy-box {
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: rgba(244, 239, 230, 0.58);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.policy-box p {
  margin: 4px 0;
}

.privacy-section .check-line {
  margin-top: 12px;
  border-color: rgba(26, 58, 52, 0.18);
  background: #ffffff;
}

.submit-area {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 58, 52, 0.12);
}

.captcha-field {
  margin-top: 0;
}

.captcha-field label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 800;
}

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

.captcha-question {
  min-height: 44px;
  border: 1px solid rgba(197, 160, 89, 0.36);
  border-radius: 8px;
  background: rgba(197, 160, 89, 0.13);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-weight: 900;
  white-space: nowrap;
}

.inquiry-form .captcha-refresh,
.qna-dialog .captcha-refresh {
  width: auto;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 900;
}

.inquiry-form > button[type="submit"],
.submit-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #214840 0%, var(--green) 100%);
  color: #fff;
  min-height: 54px;
  margin-top: 16px;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(26, 58, 52, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(26, 58, 52, 0.22);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(26, 58, 52, 0.16);
}

.submit-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-message,
.admin-message {
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 800;
}

.support-layout {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 88px;
}

.support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.support-header h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1.1;
}

.support-header button,
.support-header a,
.qna-dialog button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}

.support-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.support-row,
.faq-item,
.support-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 42px rgba(26, 58, 52, 0.06);
}

.support-row summary,
.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.support-row summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.support-row summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.support-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(197, 160, 89, 0.16);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.support-row strong,
.faq-item summary {
  color: var(--green);
  font-weight: 900;
  line-height: 1.45;
}

.support-row time {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.support-detail {
  border-top: 1px solid var(--line);
  padding: 18px 20px 22px;
  color: #4f554f;
  line-height: 1.8;
}

.support-detail p,
.faq-item p {
  margin: 0;
}

.support-detail article {
  margin-top: 16px;
  border-radius: 8px;
  background: rgba(244, 239, 230, 0.72);
  padding: 14px;
}

.support-detail b {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
}

.support-empty {
  padding: 54px 20px;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.faq-item {
  padding: 20px;
}

.faq-item p {
  margin-top: 14px;
  color: #4f554f;
  line-height: 1.8;
}

.qna-dialog {
  width: min(560px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 24px 90px rgba(26, 58, 52, 0.22);
  padding: 0;
}

.qna-dialog::backdrop {
  background: rgba(26, 58, 52, 0.38);
  backdrop-filter: blur(4px);
}

.qna-dialog form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.qna-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.qna-dialog h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.5rem;
}

.qna-dialog #closeQnaForm {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.qna-dialog label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 800;
}

.qna-dialog input,
.qna-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--charcoal);
  padding: 12px 13px;
  outline: none;
}

.qna-dialog .captcha-row {
  grid-template-columns: minmax(110px, auto) minmax(70px, 1fr) auto;
}

.admin-page {
  background: var(--cream);
}

.admin-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.admin-hero {
  padding: 36px 0;
}

.admin-panel {
  border-radius: 8px;
  padding: 24px;
}

.admin-login-row,
.admin-toolbar,
.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-toolbar h2 {
  margin: 4px 0 0;
  color: var(--green);
}

.admin-login-row input {
  max-width: 420px;
}

#contentEditor {
  min-height: 62vh;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
}

.is-hidden {
  display: none !important;
}

@media (min-width: 861px) and (max-width: 1180px) {
  .site-header {
    gap: 16px;
    padding-inline: 28px;
  }

  .site-header nav {
    gap: 4px;
    flex-wrap: nowrap;
  }

  .site-header nav a {
    font-size: 0.8rem;
    padding: 8px 9px;
    white-space: nowrap;
  }

  .brand-link {
    gap: 9px;
    min-width: max-content;
    max-width: none;
  }

  .brand-mark {
    width: 22px;
    height: 26px;
  }

  .sub-hero,
  .product-studio,
  .inquiry-layout,
  .about-layout,
  .admin-panel {
    width: min(100% - 40px, 980px);
  }

  .sub-hero {
    padding-top: 42px;
  }

  .compact-hero {
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .sub-hero h1,
  .admin-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
  }

  .product-studio {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tabs"
      "search"
      "grid";
    gap: 14px;
  }

  .category-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
  }

  .category-tabs button {
    text-align: center;
    white-space: nowrap;
    padding-inline: 10px;
  }

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

  .inquiry-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
  }

  .inquiry-layout aside,
  .inquiry-form {
    padding: 24px;
  }

  .inquiry-layout h2 {
    font-size: 1.9rem;
  }

  .form-grid {
    gap: 12px;
  }

  .product-pick div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-pick label {
    font-size: 0.86rem;
    min-height: 44px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .history-panel {
    max-width: none;
  }

  .ceo-note__headline img {
    width: clamp(68px, 12vw, 96px);
  }
}

@media (max-width: 860px) {
  .inquiry-hero.compact-hero p {
    white-space: normal;
  }

  .sub-hero,
  .product-studio,
  .inquiry-layout,
  .about-layout,
  .admin-panel {
    width: min(100% - 32px, 100%);
  }

  .inquiry-layout,
  .about-layout,
  .product-studio,
  .category-card {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .inquiry-layout aside,
  .inquiry-form,
  .product-pick,
  .adobe-tab-box,
  .tab-panels,
  .tab-panel,
  .pick-cards-grid {
    min-width: 0;
  }

  .product-studio {
    grid-template-areas:
      "tabs"
      "search"
      "grid";
  }

  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand-link {
    width: auto;
    max-width: calc(100vw - 36px);
  }

  .site-header nav {
    width: 100%;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }

  .site-header nav a {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 9px 12px;
  }

  .product-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tabs button {
    text-align: center;
    min-height: 44px;
    padding-inline: 8px;
  }

  .product-pick div {
    grid-template-columns: 1fr;
  }

  .adobe-tab-box {
    padding: 16px;
  }

  .panel-header,
  .summary-title-row {
    gap: 10px;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-pick label {
    min-height: 44px;
    padding: 10px 11px;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .ceo-note__headline {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ceo-note__headline img {
    width: 70px;
  }

  .check-line {
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    word-break: keep-all;
  }

  .captcha-row,
  .qna-dialog .captcha-row {
    grid-template-columns: 1fr auto;
  }

  .captcha-question {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .support-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .support-row summary {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .support-row time {
    white-space: normal;
  }

}
