/* Member support uses native page navigation and forms; no fixed-height panels. */
.hui-support-layout #masthead,
.hui-support-layout #colophon,
.hui-support-layout #secondary,
.hui-support-layout .storefront-breadcrumb,
.hui-support-layout .storefront-handheld-footer-bar,
.hui-support-layout article.page > .entry-header { display: none !important; }
.hui-support-layout .site-content > .col-full { width: 100%; max-width: none; margin: 0; padding: 0; }
.hui-support-layout #primary,
.hui-support-layout .content-area { width: 100%; margin: 0; float: none; }
.hui-support-layout .site-main,
.hui-support-layout .hentry,
.hui-support-layout .entry-content { margin: 0; padding: 0; }
.hui-support-layout .site-content { background: #f8f5ef; padding-top: 0; }
.hui-support-page {
  --hui-support-paper: #f8f5ef;
  --hui-support-card: #fffdf8;
  --hui-support-ink: #29231e;
  --hui-support-muted: #65594d;
  --hui-support-line: #d8cec2;
  --hui-support-focus: #73523d;
  width: 100%;
  min-width: 0;
  margin: 0;
  background: var(--hui-support-paper);
  color: var(--hui-support-ink);
  font: 14px/1.85 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  overflow-wrap: anywhere;
}
.hui-support-page *,
.hui-support-page *::before,
.hui-support-page *::after { box-sizing: border-box; }
.hui-support-page :where(main, section, form, nav, ol, li, header, footer, div) { min-width: 0; }
.hui-support-page h1,
.hui-support-page h2,
.hui-support-page h3 { color: var(--hui-support-ink); font-family: inherit; font-weight: 500; }
.hui-support-page h1 { margin: 8px 0 16px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.5; }
.hui-support-page h2 { margin: 0 0 18px; font-size: 21px; line-height: 1.65; }
.hui-support-page h3 { margin: 0; font-size: 16px; line-height: 1.7; }
.hui-support-page p { margin: 0 0 18px; }
.hui-support-page a { display: inline-flex; align-items: center; min-height: 44px; color: #5f4835; text-underline-offset: 4px; }
.hui-support-page a,
.hui-support-page button { max-width: 100%; }
.hui-support-page :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--hui-support-focus);
  outline-offset: 3px;
}
.hui-support-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 22px max(24px, calc((100% - 1120px) / 2));
  border-bottom: 1px solid var(--hui-support-line);
  background: var(--hui-support-card);
}
.hui-support-header > a,
.hui-support-page .hui-support-brand {
  display: block;
  min-height: 44px;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: .08em;
  color: var(--hui-support-ink);
  text-decoration: none;
}
.hui-support-header > a small,
.hui-support-brand small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .18em; }
.hui-support-header nav,
.hui-support-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hui-support-header nav a,
.hui-support-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  font-size: 13px;
}
.hui-support-header nav a { color: var(--hui-support-ink); text-decoration: none; }
.hui-support-page > main,
.hui-support-main { width: 100%; max-width: 1168px; margin: 0 auto; padding: 42px 24px 56px; }
.hui-support-intro { max-width: 720px; margin-bottom: 30px; }
.hui-support-intro p,
.hui-support-page .hui-support-eyebrow { color: var(--hui-support-muted); }
.hui-support-page .hui-support-eyebrow { margin-bottom: 8px; font-size: 11px; letter-spacing: .2em; }
.hui-support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 24px; }
.hui-support-card { margin: 0 0 24px; padding: 28px; border: 1px solid var(--hui-support-line); border-radius: 2px; background: var(--hui-support-card); }
.hui-support-grid > .hui-support-card { margin-bottom: 0; }
.hui-support-card > :last-child { margin-bottom: 0; }
.hui-support-form { margin: 24px 0 0; }
.hui-support-field { margin: 0 0 22px; }
.hui-support-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 1.7; }
.hui-support-field label span,
.hui-support-field small { margin-left: 8px; color: var(--hui-support-muted); font-size: 12px; font-weight: 400; }
.hui-support-field > small { display: block; margin: 8px 0 0; line-height: 1.85; }
.hui-support-field p { margin: 8px 0 0; color: var(--hui-support-muted); font-size: 12px; line-height: 1.85; }
.hui-support-page .hui-support-field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.hui-support-page .hui-support-field select,
.hui-support-page .hui-support-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #8f8274;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--hui-support-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.hui-support-page .hui-support-field select { padding-right: 32px; }
.hui-support-page .hui-support-field textarea { min-height: 160px; resize: vertical; }
.hui-support-page .hui-support-field [aria-invalid="true"] { border-color: #8b342d; }
.hui-support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.hui-support-page .hui-support-button,
.hui-support-page .hui-support-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 48px;
  margin: 0;
  padding: 10px 20px;
  border: 1px solid var(--hui-support-ink);
  border-radius: 0;
  font: inherit;
  line-height: 1.65;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  cursor: pointer;
}
.hui-support-page .hui-support-button { background: var(--hui-support-ink); color: #fff; }
.hui-support-page .hui-support-secondary { background: transparent; color: var(--hui-support-ink); }
.hui-support-page .hui-support-button:hover { background: #4b4037; }
.hui-support-page .hui-support-secondary:hover { background: #eee7dc; }
.hui-support-page .hui-support-button:disabled { background: #65594d; border-color: #65594d; color: #fff; cursor: not-allowed; }
.hui-support-notice,
.hui-support-error { margin: 0 0 24px; padding: 16px 20px; border: 1px solid var(--hui-support-line); border-left: 3px solid #65594d; background: #f1ece4; color: var(--hui-support-ink); }
.hui-support-error { border-color: #ba8c85; border-left-color: #8b342d; background: #fff3ef; color: #7b2d26; }
.hui-support-notice > p:last-child,
.hui-support-error > p:last-child { margin-bottom: 0; }
.hui-support-tickets,
.hui-support-thread { margin: 0; padding: 0; list-style: none; }
.hui-support-ticket { padding: 20px 0; border-bottom: 1px solid var(--hui-support-line); }
.hui-support-ticket,
.hui-support-ticket-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.hui-support-ticket > div,
.hui-support-ticket-heading > div { flex: 1 1 200px; min-width: 0; }
.hui-support-ticket:first-child { padding-top: 0; }
.hui-support-ticket:last-child { padding-bottom: 0; border-bottom: 0; }
.hui-support-ticket h3 a { display: block; min-height: 44px; padding: 5px 0; }
.hui-support-ticket p { margin: 8px 0 0; color: var(--hui-support-muted); font-size: 12px; line-height: 1.8; }
.hui-support-ticket time { display: inline-block; margin: 4px 0; }
.hui-support-status { display: inline-block; max-width: 100%; margin-right: 8px; padding: 3px 10px; border: 1px solid #baad9e; background: #f1ece4; color: #51483f; font-size: 12px; line-height: 1.8; }
.hui-support-status[data-status="replied"] { background: #eaf0e8; border-color: #a5b29f; color: #3d5037; }
.hui-support-status[data-status="closed"] { background: #eeeae5; color: #51483f; }
.hui-support-thread { margin: 24px 0; }
.hui-support-message { margin: 0 0 18px; padding: 20px; border: 1px solid var(--hui-support-line); background: #f8f5ef; }
.hui-support-message[data-author="admin"] { background: #f1ece4; border-left: 3px solid #73523d; }
.hui-support-message header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.hui-support-message header strong { font-size: 13px; font-weight: 500; }
.hui-support-message time { color: var(--hui-support-muted); font-size: 12px; }
.hui-support-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.hui-support-footer { padding: 24px max(24px, calc((100% - 1120px) / 2)); border-top: 1px solid var(--hui-support-line); background: var(--hui-support-card); color: var(--hui-support-muted); }
.hui-support-footer p { margin: 0 0 8px; font-size: 12px; }
.hui-support-footer > a { margin-right: 24px; }
/* The general Storefront footer also uses this class on its navigation. */
nav.hui-support-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow-wrap: anywhere;
}
nav.hui-support-footer a { min-width: 44px; max-width: 100%; color: inherit; white-space: normal; }
.hui-support-footer-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 6px 0; overflow-wrap: anywhere; }
.hui-support-footer a:focus-visible,
.hui-support-footer-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 759px) {
  .hui-support-header { padding: 20px; gap: 12px; }
  .hui-support-header > a,
  .hui-support-page .hui-support-brand { font-size: 21px; }
  .hui-support-header nav { width: 100%; gap: 4px 20px; }
  .hui-support-page > main,
  .hui-support-main { padding: 28px 20px 36px; }
  .hui-support-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hui-support-card { padding: 22px; margin-bottom: 20px; }
  .hui-support-page h2 { font-size: 19px; }
  .hui-support-message { padding: 16px; }
  .hui-support-footer { padding: 20px; }
}
@media (max-width: 359px) {
  .hui-support-header,
  .hui-support-footer { padding-left: 16px; padding-right: 16px; }
  .hui-support-page > main,
  .hui-support-main { padding-left: 16px; padding-right: 16px; }
  .hui-support-card { padding: 18px; }
  .hui-support-actions { align-items: stretch; }
  .hui-support-actions > .hui-support-button,
  .hui-support-actions > .hui-support-secondary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hui-support-page * { scroll-behavior: auto; transition: none; }
}
