/* S56 · Goals HowTo open Form paint — measured from v4 2021 Hounds Goals HowTo.pdf
   page frames (pdf-park). Artboard 1920×1080 → scale-in to 960×540. */
.abcs-specimen--goals-howto {
  --gh-design-w: 1920px;
  --gh-design-h: 1080px;
  --gh-platform-w: 960;
  --gh-platform-h: 540;
  --gh-bg: #ffffff;
  --gh-bg-cover: #000000;
  --gh-ink: #4d5156;
  --gh-muted: #666b70;
  --gh-line: #d8d9db;
  --gh-accent: #f15a24;
  --gh-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gh-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.abcs-specimen--goals-howto .abcs-slide {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: hidden;
}

.abcs-gh-form-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--gh-bg);
  color: var(--gh-ink);
  font-family: var(--gh-body);
  -webkit-font-smoothing: antialiased;
}

.abcs-gh-form-frame {
  width: var(--gh-design-w);
  height: var(--gh-design-h);
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  transform-origin: top left;
  transform: scale(calc(960 / 1920));
  background: var(--gh-bg);
}

.abcs-slide-canvas .abcs-gh-form-frame,
.panel--preview .abcs-gh-form-frame,
[aria-label*="16:9"] .abcs-gh-form-frame {
  width: 100%;
  height: 100%;
  transform: none;
}

.abcs-gh-slide {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: var(--gh-bg);
  color: var(--gh-ink);
  font-family: var(--gh-body);
}

.abcs-gh-slide.is-cover {
  background: var(--gh-bg-cover);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8%;
  padding: 8% 8% 10%;
}

.abcs-gh-cover-logo-wrap {
  flex: 0 0 auto;
  width: min(42%, 320px);
  display: flex;
  justify-content: center;
}

.abcs-gh-cover-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.abcs-gh-cover-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--gh-display);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: #ffffff;
}

.abcs-gh-slide.is-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4% 5% 3%;
}

.abcs-gh-eyebrow,
.abcs-gh-hero-kicker {
  margin: 0 0 2%;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gh-accent);
  text-align: center;
}

.abcs-gh-hero-media-wrap {
  flex: 1;
  width: 92%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abcs-gh-hero-media {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.abcs-gh-slide.is-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4%;
  background: var(--gh-bg);
}

.abcs-gh-illus-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abcs-gh-illus {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.abcs-gh-slide.is-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4%;
  align-items: start;
  padding: 10% 8% 8%;
}

.abcs-gh-split-left {
  text-align: right;
  padding-top: 2%;
}

.abcs-gh-split-question {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--gh-accent);
}

.abcs-gh-split-rule {
  margin: 4% 0 0 auto;
  width: 72%;
  height: 2px;
  background: var(--gh-line);
  border: 0;
}

.abcs-gh-split-right-title {
  margin: 0 0 3%;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gh-ink);
}

.abcs-gh-split-right-body {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.45;
  color: var(--gh-muted);
  max-width: 42ch;
}

.abcs-gh-slide.is-tagged {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8% 12%;
}

.abcs-gh-slide.is-tagged .abcs-gh-eyebrow {
  align-self: center;
  margin-bottom: 3%;
}

.abcs-gh-title {
  margin: 0 0 4%;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gh-ink);
  line-height: 1.15;
}

.abcs-gh-slide.is-tagged .abcs-gh-title {
  text-align: left;
}

.abcs-gh-bullets {
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: disc;
  color: var(--gh-muted);
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.45;
}

.abcs-gh-bullets li {
  margin: 0 0 0.85em;
}

.abcs-gh-slide.is-media-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5%;
  align-items: center;
  padding: 6% 6%;
}

.abcs-gh-media-frame {
  width: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.abcs-gh-media-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.abcs-gh-media-copy .abcs-gh-title {
  margin-top: 0;
}

.abcs-gh-body {
  margin: 0 0 0.8em;
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.45;
  color: var(--gh-muted);
}

.abcs-gh-slide.is-quote {
  background: #333338;
  color: #f15a24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8% 12%;
  position: relative;
}
.abcs-gh-quote {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #f15a24;
  max-width: min(920px, 86%);
  text-transform: uppercase;
}
.abcs-gh-quote-attr {
  margin: 28px 0 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #f15a24;
  letter-spacing: 0.04em;
  align-self: flex-end;
  width: min(720px, 100%);
  text-align: right;
}
.abcs-gh-quote-mark {
  position: absolute;
  font-size: 120px;
  line-height: 1;
  color: #6b5bff;
  font-weight: 800;
  pointer-events: none;
}
.abcs-gh-quote-mark--open {
  left: 10%;
  top: 28%;
}
.abcs-gh-quote-mark--close {
  right: 10%;
  bottom: 22%;
}

.abcs-gh-part[data-gh-part] {
  min-width: 0;
}

/* ------------------------------------------------------------------
   L3 Spec browse — Goals part paint without absolute-fill stage (ENG-2.14).
   Same class of bug as MotM/WS9: .abcs-gh-form-root { position:absolute;
   inset:0 } escapes specimen-wrap--part and hollows the detail pane
   (Divider / eyebrow / tier stack / initiative-row invisible).
   ------------------------------------------------------------------ */
.abcs-gh-form-root.abcs-gh-form-root--part {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: min(100%, 42rem);
  min-width: 16rem;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 1.25rem 1.35rem;
  box-sizing: border-box;
  background: var(--gh-bg, #ffffff);
  color: var(--gh-ink, #4d5156);
  container-type: inline-size;
  container-name: gh-part;
}

.abcs-gh-form-root--part .abcs-gh-part {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 100%;
}

.abcs-gh-form-root--part .abcs-gh-eyebrow {
  margin: 0;
  text-align: left;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.abcs-gh-form-root--part:has([data-gh-part="divider"]) {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

.abcs-gh-form-root--part [data-gh-part="divider"] {
  width: 100%;
  max-width: 22rem;
}

.abcs-gh-form-root--part .abcs-gh-split-rule {
  display: block;
  margin: 0;
  width: 100%;
  max-width: 22rem;
  height: 2px;
  background: var(--gh-line, #d8d9db);
  border: 0;
}

.abcs-gh-form-root--part .abcs-gh-body,
.abcs-gh-form-root--part .abcs-gh-bullets {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
}
