.pkqq-user-hub {
  min-height: calc(100vh - 64px);
  padding: 28px 16px 54px;
  background: #f4f4f6;
  color: #1b1d22;
}

.pkqq-user-hub,
.pkqq-user-hub * {
  box-sizing: border-box;
}

body:has(.pkqq-user-hub) .catalog-header {
  display: none;
}

.pkqq-user-hub__panel {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #e4e4e6;
  border-radius: 38px;
  background: #f2f2f4;
  box-shadow: 0 4px 16px rgb(15 18 25 / 7%);
}

.pkqq-user-hub__brand {
  display: flex;
  align-items: center;
  min-height: 132px;
  gap: 22px;
}

.pkqq-user-hub__brand-mark,
.pkqq-user-hub__account-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d9dadd;
  border-radius: 50%;
  color: #5b5d63;
  background: #fff;
  font-weight: 800;
}

.pkqq-user-hub__brand-mark {
  width: 94px;
  height: 94px;
  font-size: 29px;
}

.pkqq-user-hub__brand-mark img,
.pkqq-user-hub__account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pkqq-user-hub__brand-copy {
  min-width: 0;
  flex: 1;
}

.pkqq-user-hub__brand-copy h1 {
  overflow: hidden;
  margin: 0;
  color: #08090b;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pkqq-user-hub__brand-line {
  display: block;
  width: min(100%, 330px);
  height: 7px;
  margin-top: 15px;
  border-radius: 999px;
  background: #282a2e;
  box-shadow: 55px 0 18px rgb(40 42 46 / 11%);
}

.pkqq-user-hub__menu-button {
  display: inline-flex;
  width: 98px;
  height: 98px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d9dc;
  border-radius: 50%;
  color: #33353b;
  background: #fff;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pkqq-user-hub__menu-button:hover {
  border-color: #bfc1c6;
  background: #fafafa;
  transform: translateY(-1px);
}

.pkqq-user-hub__divider {
  height: 2px;
  margin: 22px 0 30px;
  background: #dedee1;
}

.pkqq-user-hub__rows {
  display: grid;
  gap: 18px;
}

.pkqq-user-hub__row,
.pkqq-user-hub__account-link {
  display: flex;
  min-width: 0;
  align-items: center;
  border: 1px solid #d6d7da;
  color: #5e6067;
  background: #fafafa;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pkqq-user-hub__row {
  min-height: 92px;
  padding: 0 32px;
  border-radius: 999px;
  gap: 23px;
}

.pkqq-user-hub__row:hover,
.pkqq-user-hub__account-link:hover {
  border-color: #bfc1c5;
  background: #fff;
  transform: translateY(-1px);
}

.pkqq-user-hub__row-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #64666d;
}

.pkqq-user-hub__row-label {
  min-width: 0;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.15;
}

.pkqq-user-hub__chevron {
  margin-left: auto;
  color: #64666d;
}

.pkqq-user-hub__toolbox {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 22px 2px 28px;
  padding: 19px;
  border: 1px solid #e0e0e2;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 8px 14px rgb(17 19 25 / 12%);
}

.pkqq-user-hub__tool {
  display: flex;
  min-height: 157px;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 20px 28px;
  border: 1px solid #d9dadd;
  border-radius: 31px;
  color: #1c1e23;
  background: #fff;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pkqq-user-hub__tool:hover {
  border-color: #bfc1c5;
  background: #fcfcfc;
  transform: translateY(-1px);
}

.pkqq-user-hub__tool-icon {
  display: inline-flex;
  color: #686a71;
}

.pkqq-user-hub__tool strong {
  color: #23252a;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.pkqq-user-hub__rows--lower {
  gap: 20px;
}

.pkqq-user-hub__account {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.pkqq-user-hub__account-link {
  min-height: 107px;
  padding: 13px 27px;
  border-radius: 999px;
  gap: 22px;
}

.pkqq-user-hub__account-avatar {
  width: 76px;
  height: 76px;
  font-size: 23px;
}

.pkqq-user-hub__account-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.pkqq-user-hub__account-copy strong,
.pkqq-user-hub__account-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pkqq-user-hub__account-copy strong {
  color: #17191d;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
}

.pkqq-user-hub__account-copy small {
  color: #606269;
  font-size: 22px;
  line-height: 1.2;
}

.pkqq-user-hub__account-chevron {
  flex: 0 0 auto;
  color: #24262b;
}

.pkqq-user-hub__logout {
  justify-self: center;
  border: 0;
  padding: 5px 12px;
  color: #8a8b90;
  background: transparent;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pkqq-user-hub__logout:hover {
  color: #43454b;
}

@media (max-width: 700px) {
  .pkqq-user-hub {
    min-height: calc(100vh - 56px);
    padding: 0 0 32px;
  }

  .pkqq-user-hub__panel {
    width: 100%;
    min-height: 100vh;
    padding: 29px 27px 28px;
    border-width: 0 1px;
    border-radius: 0;
    box-shadow: none;
  }

  .pkqq-user-hub__brand {
    min-height: 124px;
    gap: 16px;
  }

  .pkqq-user-hub__brand-mark {
    width: 82px;
    height: 82px;
    font-size: 24px;
  }

  .pkqq-user-hub__brand-copy h1 {
    font-size: 24px;
  }

  .pkqq-user-hub__brand-line {
    height: 6px;
    margin-top: 12px;
  }

  .pkqq-user-hub__menu-button {
    width: 78px;
    height: 78px;
  }

  .pkqq-user-hub__divider {
    margin: 18px 0 28px;
  }

  .pkqq-user-hub__rows {
    gap: 18px;
  }

  .pkqq-user-hub__row {
    min-height: 84px;
    padding: 0 27px;
    gap: 18px;
  }

  .pkqq-user-hub__row-label {
    font-size: 26px;
  }

  .pkqq-user-hub__toolbox {
    gap: 18px;
    margin: 20px 0 28px;
    padding: 18px;
    border-radius: 34px;
  }

  .pkqq-user-hub__tool {
    min-height: 150px;
    padding: 18px 20px;
    border-radius: 28px;
  }

  .pkqq-user-hub__tool strong {
    font-size: 19px;
    white-space: nowrap;
  }

  .pkqq-user-hub__account {
    margin-top: 32px;
  }

  .pkqq-user-hub__account-link {
    min-height: 99px;
    padding: 12px 22px;
    gap: 17px;
  }

  .pkqq-user-hub__account-avatar {
    width: 69px;
    height: 69px;
  }

  .pkqq-user-hub__account-copy strong {
    font-size: 23px;
  }

  .pkqq-user-hub__account-copy small {
    font-size: 20px;
  }
}

@media (max-width: 410px) {
  .pkqq-user-hub__panel {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pkqq-user-hub__brand-mark {
    width: 70px;
    height: 70px;
  }

  .pkqq-user-hub__brand-copy h1 {
    font-size: 20px;
  }

  .pkqq-user-hub__menu-button {
    width: 68px;
    height: 68px;
  }

  .pkqq-user-hub__row {
    min-height: 76px;
    padding: 0 22px;
  }

  .pkqq-user-hub__row-label {
    font-size: 23px;
  }

  .pkqq-user-hub__toolbox {
    gap: 12px;
    padding: 12px;
  }

  .pkqq-user-hub__tool {
    min-height: 132px;
    padding: 16px;
  }

  .pkqq-user-hub__tool strong {
    font-size: 17px;
  }
}

/* Compact proportions matched to the storefront help navigation. */
.pkqq-user-hub__panel {
  width: min(100%, 620px);
  padding: 22px;
  border-radius: 28px;
}

.pkqq-user-hub__brand {
  min-height: 92px;
  gap: 16px;
}

.pkqq-user-hub__brand-mark {
  width: 66px;
  height: 66px;
  font-size: 21px;
}

.pkqq-user-hub__brand-copy h1 {
  font-size: 24px;
}

.pkqq-user-hub__brand-line {
  width: min(100%, 250px);
  height: 5px;
  margin-top: 10px;
}

.pkqq-user-hub__menu-button {
  width: 66px;
  height: 66px;
}

.pkqq-user-hub__divider {
  margin: 14px 0 18px;
}

.pkqq-user-hub__rows,
.pkqq-user-hub__rows--lower {
  gap: 11px;
}

.pkqq-user-hub__row {
  min-height: 68px;
  padding: 0 23px;
  gap: 15px;
}

.pkqq-user-hub__row-icon svg {
  width: 24px;
  height: 24px;
}

.pkqq-user-hub__row-label {
  font-size: 21px;
}

.pkqq-user-hub__chevron {
  width: 22px;
  height: 22px;
}

.pkqq-user-hub__toolbox {
  gap: 13px;
  margin: 13px 0 17px;
  padding: 13px;
  border-radius: 26px;
}

.pkqq-user-hub__tool {
  min-height: 112px;
  gap: 9px;
  padding: 14px 16px;
  border-radius: 21px;
}

.pkqq-user-hub__tool-icon svg {
  width: 25px;
  height: 25px;
}

.pkqq-user-hub__tool strong {
  font-size: 17px;
  white-space: nowrap;
}

.pkqq-user-hub__account {
  gap: 8px;
  margin-top: 20px;
}

.pkqq-user-hub__account-link {
  min-height: 77px;
  padding: 9px 19px;
  gap: 13px;
}

.pkqq-user-hub__account-avatar {
  width: 54px;
  height: 54px;
  font-size: 18px;
}

.pkqq-user-hub__account-copy strong {
  font-size: 18px;
}

.pkqq-user-hub__account-copy small {
  font-size: 15px;
}

@media (max-width: 700px) {
  .pkqq-user-hub {
    min-height: 100vh;
    padding-bottom: 20px;
  }

  .pkqq-user-hub__panel {
    min-height: 100vh;
    padding: 13px 12px 20px;
  }

  .pkqq-user-hub__brand {
    min-height: 64px;
    gap: 10px;
  }

  .pkqq-user-hub__brand-mark {
    width: 52px;
    height: 52px;
    font-size: 16px;
  }

  .pkqq-user-hub__brand-copy h1 {
    font-size: 16px;
  }

  .pkqq-user-hub__brand-line {
    width: min(100%, 160px);
    height: 4px;
    margin-top: 6px;
  }

  .pkqq-user-hub__menu-button {
    width: 52px;
    height: 52px;
  }

  .pkqq-user-hub__menu-button svg {
    width: 25px;
    height: 25px;
  }

  .pkqq-user-hub__divider {
    height: 1px;
    margin: 11px 0 13px;
  }

  .pkqq-user-hub__rows,
  .pkqq-user-hub__rows--lower {
    gap: 8px;
  }

  .pkqq-user-hub__row {
    min-height: 56px;
    padding: 0 17px;
    gap: 12px;
  }

  .pkqq-user-hub__row-icon svg {
    width: 21px;
    height: 21px;
  }

  .pkqq-user-hub__row-label {
    font-size: 18px;
  }

  .pkqq-user-hub__chevron {
    width: 19px;
    height: 19px;
  }

  .pkqq-user-hub__toolbox {
    gap: 9px;
    margin: 10px 0 13px;
    padding: 10px;
    border-radius: 22px;
    box-shadow: 0 5px 10px rgb(17 19 25 / 10%);
  }

  .pkqq-user-hub__tool {
    min-height: 94px;
    gap: 7px;
    padding: 11px 12px;
    border-radius: 17px;
  }

  .pkqq-user-hub__tool-icon svg {
    width: 21px;
    height: 21px;
  }

  .pkqq-user-hub__tool strong {
    font-size: 14px;
  }

  .pkqq-user-hub__account {
    margin-top: 16px;
  }

  .pkqq-user-hub__account-link {
    min-height: 63px;
    padding: 7px 15px;
    gap: 11px;
  }

  .pkqq-user-hub__account-avatar {
    width: 43px;
    height: 43px;
    font-size: 15px;
  }

  .pkqq-user-hub__account-copy strong {
    font-size: 16px;
  }

  .pkqq-user-hub__account-copy small {
    font-size: 13px;
  }
}
