/* P6 account routes — mockup layout inside P1 shell (measured on local P1 merge trial). */
.site-shell:has(.p6-account-body) .shell-foot {
  display: none;
}

.site-shell:has(.p6-account-body) .shell-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  padding-bottom: 0;
}

.p6-account-body {
  position: relative;
  min-height: 840px;
  background: var(--ground, #e6e7e8);
}

.p6-account-body .scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.p6-account-body > .dlg.dgr {
  position: fixed !important;
  top: 170px !important;
  left: 470px !important;
  width: 500px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 41;
}

.p6-account-body input.inp {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  border: 0.75px solid var(--graphite-line, #74787d);
  background: var(--hi, #fff);
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink-graphite, #272a2e);
}

.p6-account-body .inp:not(input) {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  border: 0.75px solid var(--graphite-line, #74787d);
  background: var(--hi, #fff);
  padding: 0 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.p6-account-body .account-error {
  margin: 0 0 10px;
  color: var(--ds-error, #9a3d37);
  font-size: 13px;
}

.p6-account-body .ill {
  overflow: hidden;
  width: 300px;
  height: 340px;
}

.p6-account-body .ghost {
  overflow: hidden;
  width: 160px;
  height: 200px;
}

.p6-account-body .ill svg,
.p6-account-body .ghost svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Override legacy styles.css / ADS button rules so body matches v14 mockups. */
.p6-account-body .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  min-height: 36px;
  padding: 0 18px;
  font: 400 11px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: var(--accent-blue);
  color: var(--hi);
  box-shadow: none;
}

.p6-account-body .btn.o {
  background: transparent;
  color: var(--accent-blue);
  box-shadow: inset 0 0 0 1px var(--accent-blue);
}

.p6-account-body .btn.l {
  background: transparent;
  color: var(--accent-blue);
  padding: 0 4px;
}

.p6-account-body .btn.s {
  height: 30px;
  min-height: 30px;
  padding: 0 12px;
}

.p6-account-body .btn.dg {
  background: var(--ds-error);
  color: var(--hi);
}

.p6-account-body .btn.dl {
  background: transparent;
  color: var(--ds-error);
  padding: 0 4px;
}
