/* Authenticated member screens only. No storefront or ERP geometry resets. */
body.wf-member-page {
  --member-ink: #1d1d1f;
  --member-muted: #68727e;
  --member-line: #e5e8ec;
  --member-blue: #0066cc;
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  color: var(--member-ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  zoom: 1;
}
.wf-member-page *, .wf-member-page *::before, .wf-member-page *::after { box-sizing: border-box; }
.wf-member-page [hidden] { display: none !important; }
.wf-member-page a { color: inherit; text-decoration: none; }
.wf-member-page button, .wf-member-page input, .wf-member-page select, .wf-member-page textarea { font: inherit; }
.wf-member-page button, .wf-member-page a { -webkit-tap-highlight-color: transparent; }
.wf-member-page button { cursor: pointer; }
.wf-member-page button:disabled { cursor: wait; opacity: .55; }
.wf-member-page :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #3182f6; outline-offset: 4px; }
.wf-member-page h1, .wf-member-page h2, .wf-member-page h3, .wf-member-page p { margin-top: 0; }
.wf-member-page img { display: block; max-width: 100%; }
.wf-member-skip { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 12px 18px; background: #fff; border: 2px solid var(--member-blue); transform: translateY(-150%); }
.wf-member-skip:focus { transform: translateY(0); }
.wf-member-site-head { background: #fff; border-bottom: 1px solid var(--member-line); }
.wf-member-site-inner { width: min(1240px, 100%); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 28px; }
.wf-member-site-head .wf-member-site-inner { min-height: 76px; justify-content: space-between; }
.wf-member-logo { flex: 0 0 auto; }
.wf-member-logo img { width: 148px; height: 28px; object-fit: contain; }
.wf-member-site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.wf-member-site-nav a { padding: 12px 0; font-size: 14px; font-weight: 550; white-space: nowrap; }
.wf-member-site-nav a:hover, .wf-member-site-foot a:hover { color: var(--member-blue); text-decoration: underline; text-underline-offset: 4px; }
.wf-member-site-nav button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--member-line); border-radius: 10px; background: #fff; color: var(--member-ink); font-size: 14px; white-space: nowrap; }
.wf-member-main { flex: 1; width: 100%; }
.wf-member { width: min(1240px, 100%); margin: 0 auto; padding: 56px 32px 88px; }
.wf-member:focus { outline: none; }
.wf-member-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.wf-member-head > * { min-width: 0; }
.wf-member h1 { margin: 0 0 10px; font-size: clamp(27px, 3vw, 36px); font-weight: 720; line-height: 1.28; letter-spacing: -.035em; }
.wf-member-head p { margin-bottom: 0; color: var(--member-muted); overflow-wrap: anywhere; }
.wf-member h2 { margin-bottom: 18px; font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.wf-member h3 { margin-bottom: 10px; font-size: 17px; line-height: 1.45; letter-spacing: -.02em; }
.wf-member-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.wf-member-summary > :is(a, button) { min-width: 0; min-height: 112px; padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid var(--member-line); border-radius: 16px; background: #fff; color: var(--member-ink); text-align: left; }
.wf-member-summary > :is(a, button):hover { border-color: #a9c9ef; background: #f7fbff; }
.wf-member-summary :is(span, small) { color: var(--member-muted); font-size: 14px; }
.wf-member-summary strong { font-size: 25px; font-weight: 650; line-height: 1.3; letter-spacing: -.03em; }
.wf-member-summary > .is-active { border-color: #a9c9ef; background: #f3f8fe; }
.wf-member-layout { display: grid; grid-template-columns: 192px minmax(0, 1fr); gap: 28px; align-items: start; }
.wf-member-nav { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wf-member-nav :is(a, button) { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 10px; background: transparent; color: #4e5968; text-align: left; font-size: 15px; font-weight: 500; }
.wf-member-nav :is(a, button):hover { background: #f0f2f5; }
.wf-member-nav :is(.is-active, [aria-current="page"], [aria-selected="true"]) { background: #eaf3ff; color: var(--member-blue); font-weight: 650; }
.wf-member-content { min-width: 0; }
.wf-member-panel { min-width: 0; margin-bottom: 20px; padding: 28px; border: 1px solid var(--member-line); border-radius: 0; background: #fff; }
.wf-member-panel > :last-child { margin-bottom: 0; }
.wf-member-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.wf-member-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; max-width: 100%; padding: 10px 17px; border: 1px solid #d6dce3; border-radius: 0; background: #fff; color: #333d4b; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.wf-member-button:hover { background: #f4f6f8; }
.wf-member-button.is-primary { border-color: var(--member-blue); background: var(--member-blue); color: #fff; }
.wf-member-button.is-primary:hover { border-color: #0055b0; background: #0055b0; }
.wf-member-button.is-danger { color: #b42318; border-color: #edc7c4; }
.wf-member-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.wf-member-filters button { min-height: 40px; padding: 8px 15px; border: 1px solid #dce1e7; border-radius: 0; background: #fff; color: #4e5968; font-size: 14px; }
.wf-member-filters :is(.is-active, [aria-pressed="true"]) { border-color: var(--member-blue); background: var(--member-blue); color: #fff; }
.wf-member-order { position: relative; min-width: 0; margin-bottom: 18px; padding: 24px; border: 1px solid var(--member-line); border-radius: 0; background: #fff; }
.wf-member-order[data-order-no], .wf-member-order[data-member-order], .wf-member-order[data-wf-order-no] { cursor: pointer; }
.wf-member-order:hover { border-color: #bdc8d4; }
.wf-member-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #edf0f3; }
.wf-member-order-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.wf-member-order-head > a { flex-shrink: 0; color: var(--member-blue); font-size: 14px; font-weight: 550; }
.wf-member-order-head :is(small, time) { color: var(--member-muted); font-size: 13px; overflow-wrap: anywhere; }
.wf-member-order-head strong { font-size: 14px; font-weight: 650; }
.wf-member-items { display: grid; gap: 18px; min-width: 0; }
.wf-member-item { display: flex; align-items: center; gap: 18px; min-width: 0; }
.wf-member-item > :is(img, .wf-member-item-image, .wf-member-thumb, .wf-member-item-symbol) { flex: 0 0 88px; width: 88px; height: 88px; object-fit: cover; border: 1px solid #edf0f3; border-radius: 0; background: #f5f6f8; }
.wf-member-item-symbol { display: flex; align-items: center; justify-content: center; color: #9aa5b3; font-size: 34px; line-height: 1; }
.wf-member-item > div { min-width: 0; }
.wf-member-item strong, .wf-member-item h3 { display: block; margin: 0 0 5px; font-size: 17px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.wf-member-item p { margin: 3px 0; font-size: 14px; color: var(--member-muted); }
.wf-member-item small { color: var(--member-muted); font-size: 13px; }
.wf-member-order > .wf-member-actions { margin-top: 20px; }
.wf-member-progress { display: flex; list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid #edf0f3; }
.wf-member-progress > * { position: relative; flex: 1 1 0; min-width: 0; padding: 18px 4px 0; color: #6b7684; font-size: 12px; line-height: 1.5; text-align: center; }
.wf-member-progress > *::before { content: ""; position: absolute; top: 0; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #d7dce3; transform: translateX(-50%); z-index: 1; }
.wf-member-progress > *:not(:last-child)::after { content: ""; position: absolute; top: 4px; left: 50%; width: 100%; height: 1px; background: #e5e8ec; }
.wf-member-progress > :is(.is-done, .done, .is-current, .is-active, .now) { color: #1d4f8d; font-weight: 600; }
.wf-member-progress > :is(.is-done, .done, .is-current, .is-active, .now)::before { background: var(--member-blue); }
.wf-member-progress > :is(.is-done, .done)::after { background: #91b6e4; }
.wf-member-progress > [aria-current="step"] { color: var(--member-blue); font-weight: 750; }
.wf-member-progress > [aria-current="step"]::before { box-shadow: 0 0 0 4px #eaf3ff; }
.wf-member-progress i { display: none; }
.wf-member-empty, .wf-member-loading { padding: 60px 24px; border: 1px solid var(--member-line); background: #fff; text-align: center; }
.wf-member-empty h2, .wf-member-empty h3 { margin-bottom: 9px; }
.wf-member-empty p { max-width: 520px; margin: 0 auto 22px; color: var(--member-muted); }
.wf-member-empty .wf-member-actions { justify-content: center; }
.wf-member-loading { margin: 20px 0; }
.wf-member-loading h1 { font-size: 26px; }
.wf-member-loading p { margin-bottom: 0; color: var(--member-muted); }
.wf-member-loading-dot { display: inline-block; width: 12px; height: 12px; margin-bottom: 18px; border-radius: 50%; background: var(--member-blue); box-shadow: 0 0 0 7px #eaf3ff; }
.wf-member-muted { color: var(--member-muted); font-size: 14px; }
.wf-member-notice { margin: 0 0 22px; padding: 16px 18px; border: 1px solid #d5e4f7; background: #f2f7fd; color: #365270; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.wf-member-notice.is-error { border-color: #f0ceca; background: #fff6f5; color: #a42e23; }
.wf-member-notice.is-success { border-color: #cbe9d8; background: #f2fbf5; color: #207247; }
.wf-member-notice a { text-decoration: underline; text-underline-offset: 3px; }
.wf-member-wishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wf-member-wish { min-width: 0; border: 1px solid var(--member-line); background: #fff; }
.wf-member-wish > a { display: block; }
.wf-member-wish img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f1f3f5; }
.wf-member-wish > :is(div, h3, p, button, strong), .wf-member-wish > a > :is(h3, p, strong) { margin: 12px 16px; }
.wf-member-wish h3, .wf-member-wish strong { display: block; font-size: 16px; line-height: 1.45; }
.wf-member-wish .wf-member-actions { margin: 0; padding: 0 16px 16px; }
a.wf-member-wish { display: block; overflow: hidden; }
a.wf-member-wish > span { display: block; padding: 12px 14px; font-size: 13px; overflow-wrap: anywhere; }
.wf-member-wish .wf-member-button { flex: 1 1 auto; }
.wf-member-form { display: grid; gap: 20px; max-width: 660px; }
.wf-member-form label { display: grid; gap: 8px; min-width: 0; color: #333d4b; font-size: 14px; font-weight: 550; }
.wf-member-form:not(.wf-member-track) > label { margin-bottom: -12px; }
.wf-member-form :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #cdd5df; border-radius: 0; background: #fff; color: var(--member-ink); font-size: 16px; font-weight: 400; line-height: 1.5; }
.wf-member-form textarea { min-height: 144px; resize: vertical; }
.wf-member-form :is(input, textarea):read-only { background: #f6f7f9; color: #5a6573; }
.wf-member-form input:disabled { background: #f6f7f9; color: #5a6573; }
.wf-member-form :is(input[type="checkbox"], input[type="radio"]) { width: 18px; height: 18px; margin: 0; accent-color: var(--member-blue); }
.wf-member-form .wf-member-actions { padding-top: 4px; }
.wf-member-form small { font-size: 13px; font-weight: 400; color: var(--member-muted); }
.wf-member-form > p { margin-bottom: 0; }
.wf-member-form [data-form-status] { min-height: 24px; color: #365270; font-size: 14px; overflow-wrap: anywhere; }
.wf-member-track { max-width: none; gap: 10px; padding: 18px; margin-bottom: 24px; background: #f7f9fc; border: 1px solid #e5ebf2; }
.wf-member-track .wf-member-actions { align-items: stretch; padding-top: 0; }
.wf-member-track .wf-member-actions > input { flex: 1 1 200px; width: auto; min-width: 0; }
.wf-member-track .wf-member-actions > button { flex: 0 0 auto; min-width: 76px; }
.wf-member-ledger { margin: 0; padding: 0; list-style: none; }
.wf-member-ledger > :is(div, li) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 16px 0; border-bottom: 1px solid #edf0f3; }
.wf-member-ledger > :last-child { border-bottom: 0; }
.wf-member-ledger :is(dt, dd) { margin: 0; }
.wf-member-ledger dt { color: var(--member-muted); }
.wf-member-ledger dd { font-weight: 550; overflow-wrap: anywhere; }
dl.wf-member-ledger { display: grid; grid-template-columns: 128px minmax(0, 1fr); margin-bottom: 24px; }
dl.wf-member-ledger > :is(dt, dd) { padding: 14px 0; border-bottom: 1px solid #edf0f3; }
dl.wf-member-ledger > :is(dt, dd):nth-last-child(-n+2) { border-bottom: 0; }
.wf-member-site-foot { border-top: 1px solid var(--member-line); background: #fff; color: var(--member-muted); font-size: 13px; }
.wf-member-site-foot .wf-member-site-inner { min-height: 92px; }
.wf-member-site-foot p { flex: 1; margin: 0; }
.wf-member-site-foot a:first-child { font-size: 17px; font-weight: 700; color: #4e5968; }
@media (max-width: 1000px) {
  .wf-member-layout { grid-template-columns: 164px minmax(0, 1fr); gap: 20px; }
  .wf-member-summary > :is(a, button) { padding: 18px 16px; }
  .wf-member-wishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wf-member-site-inner { padding: 0 20px; }
  .wf-member-site-head .wf-member-site-inner { min-height: 70px; flex-wrap: wrap; gap: 4px 16px; padding-top: 16px; padding-bottom: 10px; }
  .wf-member-logo img { width: 128px; height: 25px; }
  .wf-member-site-nav { width: 100%; justify-content: flex-start; gap: 21px; flex-wrap: wrap; }
  .wf-member-site-nav a, .wf-member-site-nav button { font-size: 13px; }
  .wf-member-site-nav button { min-height: 36px; margin-left: auto; padding: 6px 12px; }
  .wf-member { padding: 32px 20px 56px; }
  .wf-member-head { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
  .wf-member-head p { font-size: 14px; }
  .wf-member-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 26px; }
  .wf-member-summary > :is(a, button) { min-height: 96px; padding: 15px; border-radius: 13px; gap: 6px; }
  .wf-member-summary strong { font-size: 22px; }
  .wf-member-summary :is(span, small) { font-size: 13px; }
  .wf-member-layout { display: block; }
  .wf-member-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--member-line); }
  .wf-member-nav :is(a, button) { width: auto; min-height: 42px; padding: 10px 13px; font-size: 14px; background: #fff; border: 1px solid var(--member-line); }
  .wf-member-nav :is(.is-active, [aria-current="page"], [aria-selected="true"]) { border-color: #c7dff9; background: #eaf3ff; }
  .wf-member-panel, .wf-member-order { padding: 20px; }
  .wf-member-order-head { align-items: flex-start; padding-bottom: 16px; margin-bottom: 18px; }
  .wf-member-order-head > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .wf-member-order-head small { font-size: 12px; }
  .wf-member-item { gap: 14px; align-items: flex-start; }
  .wf-member-item > :is(img, .wf-member-item-image, .wf-member-thumb, .wf-member-item-symbol) { flex-basis: 72px; width: 72px; height: 72px; }
  .wf-member-item-symbol { font-size: 29px; }
  .wf-member-item strong, .wf-member-item h3 { font-size: 16px; }
  .wf-member-item p { font-size: 13px; }
  .wf-member-progress { margin-top: 20px; padding-top: 18px; }
  .wf-member-progress > * { padding-left: 2px; padding-right: 2px; font-size: 11px; }
  .wf-member-site-foot .wf-member-site-inner { flex-wrap: wrap; min-height: 112px; gap: 7px 16px; padding-top: 22px; padding-bottom: 22px; }
  .wf-member-site-foot p { flex: 1 1 60%; }
}
@media (max-width: 420px) {
  .wf-member-site-inner { padding-left: 16px; padding-right: 16px; }
  .wf-member-site-nav { gap: 13px; }
  .wf-member { padding-left: 16px; padding-right: 16px; }
  .wf-member-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wf-member-summary > :last-child { grid-column: 1 / -1; min-height: 76px; flex-direction: row; align-items: center; justify-content: space-between; }
  .wf-member-panel, .wf-member-order { padding: 16px; }
  .wf-member-order-head > a { font-size: 13px; }
  .wf-member-progress { flex-wrap: wrap; gap: 12px 0; }
  .wf-member-progress > * { flex: 0 0 33.333%; font-size: 12px; }
  .wf-member-progress > :nth-child(3n)::after { display: none; }
  .wf-member-wishes { gap: 10px; }
  .wf-member-wish > :is(div, h3, p, button, strong), .wf-member-wish > a > :is(h3, p, strong) { margin-left: 12px; margin-right: 12px; }
  .wf-member-wish .wf-member-actions { padding-left: 12px; padding-right: 12px; }
  .wf-member-button { padding-left: 13px; padding-right: 13px; }
  dl.wf-member-ledger { grid-template-columns: 88px minmax(0, 1fr); }
  .wf-member-track .wf-member-actions > input { flex-basis: 160px; }
  .wf-member-track .wf-member-actions > button { flex: 1 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-member-page *, .wf-member-page *::before, .wf-member-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
