/* General customer pages opt in through site-chrome.config.js.
 * Keep order forms, editors and the independent home unchanged.
 */
body.customer-subpage {
  --bg: #fff; --page: #fff; --text: #192443; --ink: #192443;
  --text-soft: #58657d; --ink-soft: #58657d; --text-faint: #68758b;
  --line: #dce3f1; --border: #dce3f1; --accent: #2148f3;
  --accent-soft: #edf1ff; --pink-soft: #fff0f6; --r-md: 18px;
  --site-header-h: 72px;
  background: var(--bg); color: var(--text);
}
.customer-subpage :where(h1, h2, h3, p) { word-break: keep-all; overflow-wrap: anywhere; }
.customer-subpage .page-shell { margin: 0; }
.customer-subpage .page { max-width: 1180px; margin: 0 auto; padding: 32px 32px 72px; }
.customer-subpage .page h1, .customer-subpage .hero-inner h1 {
  font-size: clamp(28px, 3vw, 36px); font-weight: 700; line-height: 1.35; letter-spacing: -.035em; margin-bottom: 12px;
}
.customer-subpage .lead { font-size: 16px; line-height: 1.8; color: var(--text-soft); }
.customer-subpage .page-icon { display: none; }
.customer-subpage .page-icon svg { width: 23px; height: 23px; }
.customer-subpage .customer-breadcrumb { display: flex; align-items: center; gap: 9px; margin: 0 0 8px; font-size: 13px; color: var(--text-soft); }
.customer-subpage .customer-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.customer-subpage .customer-breadcrumb [aria-current] { font-weight: 700; }
.customer-subpage .section { margin-top: 40px; }
.customer-subpage .section h2 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.customer-subpage .section-desc { font-size: 15px; line-height: 1.7; }
.customer-subpage .hero-divider { margin-top: 24px; }
.customer-subpage .info-card, .customer-subpage .notice-box,
.customer-subpage .process-card { border-radius: 12px; background: #fff; border-color: var(--line); box-shadow: none; }
.customer-subpage .info-card-body { padding: 20px; }
.customer-subpage .info-card p { font-size: 15px; line-height: 1.75; }
.customer-subpage .template-preview { display: flex; align-items: center; justify-content: flex-start; flex-direction: row; gap: 12px; aspect-ratio: auto; height: auto; min-height: 72px; padding: 16px; margin-bottom: 16px; border-radius: 12px; background: var(--accent-soft); }
.customer-subpage .btn, .customer-subpage .profile-action,
.customer-subpage .filter-tab, .customer-subpage .card-actions a,
.customer-subpage .card-actions button, .customer-subpage .download-btn { min-height: 44px; border-radius: 10px; }
.customer-subpage main button { min-height: 44px; }
.customer-subpage input[type="search"], .customer-subpage select { min-height: 44px; font-size: 16px; }
.customer-subpage .btn { white-space: normal; text-align: center; }
.customer-subpage .filter-tab { box-shadow: none; }
.customer-subpage .filter-tab.active { background: var(--accent); }
.customer-subpage .reveal { opacity: 1; transform: none; }

/* Main-site navigation and intake remain available on every selected page. */
.customer-subpage .customer-topbar { z-index: 60; background: rgba(255,255,255,.97); }
.customer-subpage .customer-topbar .nav {
  position: relative; width: min(1180px, calc(100% - 48px)); height: 71px;
  margin: auto; padding: 0; gap: 20px;
}
.customer-subpage .customer-topbar .brand-text { display: block; font-size: 17px; }
.customer-subpage .customer-topbar .brand-text span { display: block; margin-top: 4px; padding: 0; font-size: 10px; }
.customer-subpage .customer-topbar .brand-text span::before { display: none; }
.customer-subpage .customer-topbar .navlinks { display: flex; gap: 4px; }
.customer-subpage .customer-topbar .navlinks a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: 14px; white-space: nowrap; }
.customer-subpage .customer-topbar .nav-actions { gap: 8px; }
.customer-subpage .customer-topbar .cta { min-height: 44px; padding: 10px 16px; border-radius: 10px; background: var(--accent); box-shadow: none; font-size: 14px; }
.customer-subpage .customer-topbar .cta:hover { background: var(--accent-deep); transform: none; }
.customer-subpage .customer-topbar .hamb { display: grid; width: 44px; height: 44px; border-color: var(--line); border-radius: 12px; }
.customer-subpage .customer-topbar .mobile-menu {
  position: absolute; top: 76px; left: auto; right: 0; width: 340px;
  padding: 10px; max-height: calc(100dvh - 100px); overflow-y: auto;
  overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; box-shadow: 0 16px 40px #1924431a;
}
.customer-subpage .customer-topbar.is-open .mobile-menu { display: grid; }
.customer-subpage .customer-topbar .mobile-menu a { display: flex; align-items: center; min-height: 44px; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 650; }
.customer-subpage .customer-topbar .mobile-menu a:last-child { border-bottom: 0; }
.customer-subpage .customer-topbar .mobile-menu a[aria-current] { border-radius: 8px; }
.customer-subpage .footer { margin: 0; background: #fff; }
.customer-subpage .footer-inner { width: min(1116px, calc(100% - 64px)); }
.customer-subpage .customer-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.customer-subpage .customer-footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.customer-subpage .customer-footer-nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.customer-subpage .sns-links a { width: 44px; height: 44px; }

/* The guide keeps a page-specific contents list, without a second site sidebar. */
.customer-subpage .hero-wrap { margin: 0 var(--site-aside-w) 0 0; padding: 32px 32px 0; }
.customer-subpage .hero-inner, .customer-subpage .guide-content { max-width: 900px; margin: 0 auto; }
.customer-subpage .guide-shell { margin: 0 var(--site-aside-w) 0 0; padding: 0 32px; }
.customer-subpage .guide-aside { top: var(--site-header-h); background: #fff; }
.customer-subpage .hero-quick { gap: 20px; padding: 22px; margin-bottom: 24px; background: #fff; border-radius: 18px; flex-wrap: wrap; }
.customer-subpage .hero-quick .hero-actions { flex-wrap: wrap; }
.customer-subpage .chapter { padding-top: 40px; scroll-margin-top: 92px; }
.customer-subpage .entry { scroll-margin-top: 92px; }
.customer-subpage .chapter.highlight { background: var(--accent-soft); }
.customer-subpage .mobile-toc-bar { top: var(--site-header-h); }
.customer-subpage .mobile-toc-bar button { min-height: 44px; }
.customer-subpage .check-row, .customer-subpage .faq-q { min-height: 44px; }

/* Work photos and their filters come before long profile information. */
.customer-subpage .portfolio-profile { grid-template-columns: 88px minmax(0,1fr); gap: 24px; margin-bottom: 24px; padding: 0 0 24px; }
.customer-subpage .profile-avatar { width: 88px; height: 88px; box-shadow: none; }
.customer-subpage .portfolio-profile h1 { font-size: 28px; }
.customer-subpage .profile-head { margin-bottom: 12px; }
.customer-subpage .profile-stats { gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.customer-subpage .g-tile { border-radius: 18px; box-shadow: none; }
.customer-subpage .g-tile .cap { opacity: 1; transform: none; font-family: inherit; }
.customer-subpage .artist-intro-strip { background: #fff; }

@media (max-width: 1080px) {
  .customer-subpage .hero-wrap { margin: 0; }
  .customer-subpage .guide-shell { margin: 0; }
  .customer-subpage .chapter, .customer-subpage .entry { scroll-margin-top: 138px; }
}
@media (max-width: 900px) {
  .customer-subpage .customer-topbar .navlinks { display: none; }
  .customer-subpage .customer-topbar .nav { gap: 12px; }
}
@media (max-width: 640px) {
  body.customer-subpage { --site-header-h: 64px; }
  .customer-subpage .customer-topbar .nav { height: 63px; width: calc(100% - 32px); gap: 8px; }
  .customer-subpage .customer-topbar .brand { gap: 8px; }
  .customer-subpage .customer-topbar .brand-text { font-size: 16px; }
  .customer-subpage .customer-topbar .brand-text span { display: none; }
  .customer-subpage .customer-topbar .brand img { width: 32px; height: 32px; }
  .customer-subpage .customer-topbar .cta { padding-inline: 12px; font-size: 13px; }
  .customer-subpage .customer-topbar .mobile-menu { top: 68px; left: 0; right: 0; width: auto; max-height: calc(100dvh - 88px); }
  .customer-subpage .page { padding: 20px 16px 48px; }
  .customer-subpage .hero-wrap { padding: 20px 16px 0; }
  .customer-subpage .guide-shell { padding: 0 16px; }
  .customer-subpage .customer-breadcrumb { margin-bottom: 14px; }
  .customer-subpage .page-icon { margin-bottom: 12px; }
  .customer-subpage .page h1, .customer-subpage .hero-inner h1 { font-size: 28px; }
  .customer-subpage .lead { font-size: 15px; }
  .customer-subpage .section { margin-top: 32px; }
  .customer-subpage .section h2 { font-size: 22px; }
  .customer-subpage .info-card-body { padding: 18px; }
  .customer-subpage .hero-quick { padding: 18px; }
  .customer-subpage .chapter.highlight { padding: 24px 16px; }
  .customer-subpage .portfolio-profile { grid-template-columns: 56px minmax(0,1fr); gap: 16px; align-items: start; }
  .customer-subpage .profile-avatar { width: 56px; height: 56px; }
  .customer-subpage .portfolio-profile h1 { font-size: 24px; }
  .customer-subpage .profile-stats { gap: 8px 16px; }
  .customer-subpage .filter-tabs { gap: 8px; }
  .customer-subpage .filter-tab { padding-inline: 12px; }
  .customer-subpage .footer-inner { width: calc(100% - 32px); }
  .customer-subpage .customer-footer-nav { gap: 0 16px; }
  .customer-subpage .g-tile .cap { left: 6px; right: 6px; bottom: 6px; padding-inline: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-subpage .customer-topbar a, .customer-subpage .btn { transition: none; transform: none; }
}

/* Shared headings and grouped navigation for customer reference pages. */
.customer-subpage .customer-breadcrumb { flex-wrap: wrap; gap: 4px 9px; }
.customer-subpage .lead,
.customer-subpage.customer-reference .page-head>p { max-width: 64ch; }
.customer-subpage .customer-topbar .mobile-menu { padding: 14px; }
.customer-subpage .customer-nav-label { margin: 0 0 8px; color: var(--text-soft); font-size: 12px; font-weight: 700; line-height: 1.5; }
.customer-subpage .customer-nav-group+.customer-nav-group { margin-top: 18px; }
.customer-subpage .customer-nav-links { display: grid; gap: 5px; min-width: 0; }
.customer-subpage .customer-topbar .mobile-menu .customer-nav-links a { justify-content: flex-start; gap: 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; line-height: 1.5; }
.customer-subpage .customer-topbar .mobile-menu a[href="/v4-order.html"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.customer-subpage .customer-topbar .mobile-menu a[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.customer-subpage .customer-topbar .mobile-menu a[aria-current="page"]::after { content: "현재"; margin-left: auto; flex-shrink: 0; font-size: 11px; }
.customer-subpage .customer-nav-group:nth-child(3) .customer-nav-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
.customer-subpage .customer-nav-tools { margin-top: 16px; padding-top: 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.customer-subpage .customer-nav-tools>summary { min-height: 44px; padding: 12px 0; color: var(--text-soft); font-size: 13px; font-weight: 700; cursor: pointer; }
.customer-subpage .customer-footer-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.customer-subpage .customer-footer-nav .customer-nav-group { margin: 0; min-width: 0; }
.customer-subpage .customer-footer-nav .customer-nav-links { grid-template-columns: 1fr; gap: 0; }
.customer-subpage .customer-footer-nav a { line-height: 1.6; overflow-wrap: anywhere; }
.customer-subpage .customer-topbar :is(a,button,summary):focus-visible,
.customer-subpage .customer-footer-nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .customer-subpage .page>.page-icon { display: none; }
  .customer-subpage .customer-footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 16px; }
  .customer-subpage .customer-footer-nav .customer-nav-group:last-child { grid-column: 1/-1; }
  .customer-subpage .customer-footer-nav .customer-nav-group:last-child .customer-nav-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Reading and browsing share a quiet surface and a clear type hierarchy. */
.customer-subpage .hero-flow, .customer-subpage .quick-kicker,
.customer-subpage .section-title>.eyebrow { display: none; }
.customer-subpage .hero-quick { margin-top: 24px; padding: 20px 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; }
.customer-subpage .hero-quick-copy>strong { font-size: 17px; font-weight: 650; }
.customer-subpage .hero-status { padding-bottom: 20px; margin-bottom: 0; }
.customer-subpage .notice-box { padding: 16px 18px; background: #f6f7fc; border: 0; border-radius: 10px; }
.customer-subpage .entry p, .customer-subpage .entry li { font-size: 15px; line-height: 1.8; }
.customer-subpage .entry-title { font-weight: 650; }
.customer-subpage.guide-reader .chapter { padding-top: 0; margin-top: 0; border-bottom: 1px solid var(--line); }
.customer-subpage.guide-reader .chapter.highlight { padding: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.customer-subpage .guide-reading-fold>summary { position: relative; padding: 24px 38px 24px 0; cursor: pointer; list-style: none; }
.customer-subpage .guide-reading-fold>summary::-webkit-details-marker { display: none; }
.customer-subpage .guide-reading-fold>summary::after { content: '+'; position: absolute; right: 6px; top: 24px; color: var(--text-soft); font-size: 26px; }
.customer-subpage .guide-reading-fold[open]>summary::after { content: '−'; }
.customer-subpage .guide-reading-fold .chapter-title { margin: 0 0 6px; font-size: 23px; font-weight: 700; }
.customer-subpage .guide-reading-fold .chapter-desc { margin: 0; font-size: 15px; line-height: 1.7; }
.customer-subpage .guide-reading-content { padding-bottom: 24px; }
.customer-subpage .guide-reading-content>.chapter-eyebrow { display: none; }
.customer-subpage .guide-reading-content .entry { padding-top: 22px; }
.customer-subpage .guide-reading-fold>summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.customer-subpage .portfolio-profile { display: block; margin: 0 0 20px; padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.customer-subpage .portfolio-profile .profile-avatar, .customer-subpage .portfolio-profile .profile-head,
.customer-subpage .portfolio-profile .profile-stats li:last-child { display: none; }
.customer-subpage .portfolio-profile .profile-copy { display: block; }
.customer-subpage .portfolio-profile .profile-stats { justify-content: flex-start; padding: 0; margin: 0 0 12px; border: 0; gap: 18px; }
.customer-subpage .portfolio-profile .profile-stats li { display: block; font-size: 13px; }
.customer-subpage .portfolio-profile .profile-stats strong { margin-right: 4px; font-size: 14px; font-weight: 600; }
.customer-subpage .portfolio-profile h1 { font-weight: 700; }
.customer-subpage .g-tile { border-radius: 10px; }
.customer-subpage .g-tile .cap { border-radius: 5px; background: rgba(255,255,255,.94); color: var(--text); font-size: 12px; font-weight: 500; }
.customer-subpage #filterTabs { padding-inline: 0; gap: 6px; }
.customer-subpage .filter-tab { font-weight: 600; background: #fff; }
.customer-subpage .filter-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 700; }
.customer-subpage.materials-reader .resource-order-help { margin-top: 18px; padding: 2px 0; background: none; border-radius: 0; }
.customer-subpage.materials-reader .hero-divider { display: none; }
.customer-subpage.materials-reader .section { margin-top: 24px; }
.customer-subpage .material-switch { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.customer-subpage .material-switch button { min-height: 52px; padding: 10px 4px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--text-soft); font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.customer-subpage .material-switch button[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--accent); font-weight: 750; }
.customer-subpage.materials-reader .inline-chart { margin-top: 18px; }
.customer-subpage.materials-reader .color-note { padding: 0; background: none; font-size: 13px; }
.customer-subpage.materials-reader .chart-panel { border: 0; border-radius: 0; }
.customer-subpage.materials-reader .chart-head { padding: 0 0 16px; }
.customer-subpage.materials-reader .chart-head p { font-size: 14px; }
.customer-subpage.materials-reader .fabric-browser { padding: 18px; border-radius: 12px; background: #f6f7f9; }
.customer-subpage.materials-reader .fabric-name { font-size: 13px; font-weight: 600; }
.customer-subpage.materials-reader .fabric-no { font-size: 11px; background: #fffffff0; color: #354158; }
.customer-subpage.materials-reader .fabric-sort button,
.customer-subpage.materials-reader .family-filter button,
.customer-subpage.materials-reader .fabric-category-tabs button { font-size: 13px; font-weight: 600; border-radius: 8px; }
@media (max-width: 640px) {
  .customer-subpage .page, .customer-subpage .hero-wrap { padding-top: 16px; }
  .customer-subpage .page h1, .customer-subpage .hero-inner h1 { font-size: 28px; }
  .customer-subpage .hero-quick { padding: 18px 0; }
  .customer-subpage .guide-reading-fold .chapter-title { font-size: 21px; }
  .customer-subpage.materials-reader .fabric-browser { padding: 12px; }
  .customer-subpage.materials-reader .fabric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .customer-subpage .material-switch button { font-size: 16px; }
}
