/* ==========================================================================
   Gooddog Club — pet-parent app concept
   Only used by /concepts/pet/app/. Shares no rules with local-concept-app.css
   or auto-app.css.

   Palette, type and voice are lifted from the Gooddog Club website concept
   (/assets/css/pet-demo.css) so the two read as one product. The phone is a
   cream paper day sheet inside a deep-green case; the day sheet is the whole
   idea, so it gets the clipboard, the punched holes and the dashed rules.

   Contrast (measured, WCAG 2.2 AA):
     ink #17362d on paper #fff8e8 .......... 12.39:1
     muted #3d6154 on card #fffdf7 ..........  6.80:1
     coral-ink #a83218 on paper .............  6.33:1
     amber-ink #7a4a05 on paper .............  7.06:1
     lime #dced72 on deep #0f2a22 ........... 11.93:1
     mist #a9c4b8 on deep #0f2a22 ...........  8.20:1
     ink #17362d on lime #dced72 ............ 10.24:1
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --gp-ink: #17362d;
  --gp-deep: #0f2a22;
  --gp-muted: #3d6154;
  --gp-paper: #fff8e8;
  --gp-paper-deep: #f6ecd6;
  --gp-card: #fffdf7;
  --gp-coral: #f35f3f;
  --gp-coral-ink: #a83218;
  --gp-coral-soft: #ffe3d6;
  --gp-lime: #dced72;
  --gp-lime-soft: #eef5c4;
  --gp-amber: #f7d9a8;
  --gp-amber-ink: #7a4a05;
  --gp-mist: #a9c4b8;
  --gp-cream: #cfe0d8;
  --gp-line: rgba(23, 54, 45, 0.16);
  --gp-line-strong: rgba(23, 54, 45, 0.3);
  --gp-line-light: rgba(255, 248, 232, 0.2);
  --gp-shadow-sm: 0 4px 12px rgba(23, 54, 45, 0.07);
  --gp-shadow: 0 18px 44px rgba(15, 42, 34, 0.16);
  --gp-shadow-lg: 0 40px 110px rgba(15, 42, 34, 0.46);
  --gp-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gp-r: 0.95rem;
  --gp-r-lg: 1.4rem;

  --gp-status-h: 2.3rem;
  --gp-bar-h: 4.5rem;
  --gp-demo-h: 1.6rem;
  --gp-tabs-h: 4.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 17.5rem;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--gp-deep);
  color: var(--gp-ink);
  font-family: var(--gp-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.036em;
  line-height: 1.06;
}

[hidden] {
  display: none !important;
}

:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--gp-coral);
  outline-offset: 2px;
  border-radius: 0.4rem;
}

.gp-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.gp-sprite symbol {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gp-vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.gp-skip {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--gp-lime);
  color: var(--gp-ink);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-220%);
  transition: transform 0.18s ease;
}

.gp-skip:focus {
  transform: translateY(0);
}

.gp-dot {
  width: 0.42rem;
  height: 0.42rem;
  flex: none;
  border-radius: 50%;
  background: var(--gp-lime);
}

/* ------------------------------------------------------------------ stage -- */

.gp-stage {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(21rem, 0.85fr) minmax(28rem, 1.15fr);
}

.gp-pitch {
  min-width: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3.2vw, 3.1rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(220, 237, 114, 0.14), transparent 46%),
    var(--gp-deep);
  color: var(--gp-paper);
}

.gp-pitch__back {
  width: fit-content;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.2rem;
  color: var(--gp-mist);
  font-size: 0.82rem;
  font-weight: 650;
}

.gp-pitch__back:hover {
  color: var(--gp-lime);
}

.gp-pitch__copy {
  max-width: 34rem;
}

.gp-pitch__kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gp-lime);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gp-pitch__kicker::before {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.gp-pitch h1 {
  margin-top: 1rem;
  font-size: clamp(2.15rem, 3.4vw, 3.5rem);
  line-height: 0.98;
}

.gp-pitch__lede {
  max-width: 31rem;
  margin-top: 1.1rem;
  color: var(--gp-cream);
  font-size: 0.95rem;
}

.gp-pitch__list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--gp-cream);
  font-size: 0.88rem;
}

.gp-pitch__list li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
}

.gp-pitch__list .gp-icon {
  margin-top: 0.22rem;
  color: var(--gp-lime);
}

.gp-pitch__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.gp-pitch__link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--gp-line-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.gp-pitch__link:hover {
  border-color: var(--gp-lime);
  color: var(--gp-lime);
}

.gp-pitch__foot p {
  color: var(--gp-mist);
  font-size: 0.76rem;
}

/* The compact bar that replaces this panel on a phone has room for short
   labels only. The aria-labels carry the full wording either way. */
.gp-pitch__short {
  display: none;
}

/* ------------------------------------------------------------------ phone -- */

.gp-deck {
  min-width: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background:
    radial-gradient(circle at 50% 24%, #fffdf7, var(--gp-paper-deep) 74%);
}

.gp-phone {
  position: relative;
  width: min(100%, 26rem);
  height: min(52rem, calc(100svh - 6rem));
  min-height: 40rem;
  overflow: hidden;
  border: 0.45rem solid var(--gp-deep);
  border-radius: 2.7rem;
  background: var(--gp-paper);
  box-shadow: var(--gp-shadow-lg);
}

/* The speaker slot, drawn rather than a notch — the site's other phone uses
   a pill-shaped sensor island, this one deliberately does not. */
.gp-phone__ear {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 20;
  width: 3.4rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(15, 42, 34, 0.42);
  transform: translateX(-50%);
}

.gp-statusbar {
  height: var(--gp-status-h);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
}

.gp-statusbar__clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.gp-statusbar__club {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gp-muted);
  font-weight: 650;
}

.gp-statusbar__club .gp-dot {
  background: var(--gp-coral);
}

.gp-statusbar__club.is-open .gp-dot {
  background: #2f7d4f;
}

.gp-appbar {
  height: var(--gp-bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0.85rem;
}

.gp-dogchip {
  min-height: 2.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0.7rem 0.25rem 0.25rem;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  background: var(--gp-card);
  text-align: left;
}

.gp-dogchip img {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.gp-dogchip__text {
  display: grid;
  min-width: 0;
}

.gp-dogchip strong {
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.gp-dogchip small {
  overflow: hidden;
  color: var(--gp-muted);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-nowpill {
  min-height: 2.9rem;
  max-width: 10.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--gp-deep);
  color: var(--gp-lime);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
}

.gp-nowpill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-demo {
  height: var(--gp-demo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--gp-deep);
  color: var(--gp-cream);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.gp-screen {
  position: absolute;
  top: calc(var(--gp-status-h) + var(--gp-bar-h) + var(--gp-demo-h));
  right: 0;
  bottom: var(--gp-tabs-h);
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.2rem 0 1.6rem;
  scrollbar-width: none;
}

.gp-screen::-webkit-scrollbar {
  display: none;
}

.gp-tabs {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  height: var(--gp-tabs-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  padding: 0.4rem 0.5rem 0.55rem;
  border-top: 1px solid var(--gp-line);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(14px);
}

.gp-tabs button {
  position: relative;
  min-height: 3.3rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.14rem;
  border-radius: 0.9rem;
  color: var(--gp-muted);
  font-size: 0.63rem;
  font-weight: 700;
}

.gp-tabs button .gp-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.gp-tabs button[aria-current="page"] {
  background: var(--gp-lime);
  color: var(--gp-ink);
}

.gp-tabs button span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-tabs__badge {
  position: absolute;
  top: 0.22rem;
  right: 0.5rem;
  min-width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--gp-coral-soft);
  color: var(--gp-coral-ink);
  font-size: 0.6rem;
  font-weight: 800;
}

.gp-tabs__badge--warn {
  background: var(--gp-amber);
  color: var(--gp-amber-ink);
}

/* ------------------------------------------------------------- primitives -- */

.gp-pad {
  padding: 0 0.9rem;
}

.gp-head {
  padding: 1rem 0.9rem 0.6rem;
}

.gp-head__kicker,
.gp-kicker {
  color: var(--gp-coral-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gp-head h2 {
  margin-top: 0.3rem;
  font-size: 1.55rem;
}

.gp-head p {
  margin-top: 0.4rem;
  color: var(--gp-muted);
  font-size: 0.8rem;
}

.gp-sub {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 1.3rem 0.9rem 0.55rem;
}

.gp-sub h3 {
  font-size: 1.02rem;
}

.gp-sub p {
  color: var(--gp-muted);
  font-size: 0.72rem;
  text-align: right;
}

.gp-card {
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
  box-shadow: var(--gp-shadow-sm);
}

.gp-btn {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.gp-btn--primary {
  background: var(--gp-deep);
  color: var(--gp-lime);
}

.gp-btn--primary:hover:not(:disabled) {
  background: var(--gp-ink);
}

.gp-btn--lime {
  background: var(--gp-lime);
  color: var(--gp-ink);
}

.gp-btn--quiet {
  border: 1px solid var(--gp-line-strong);
  background: var(--gp-card);
  color: var(--gp-ink);
}

.gp-btn--quiet:hover:not(:disabled) {
  background: var(--gp-paper-deep);
}

.gp-btn--full {
  width: 100%;
}

.gp-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.gp-fine {
  color: var(--gp-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.gp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--gp-lime-soft);
  color: var(--gp-ink);
  font-size: 0.66rem;
  font-weight: 750;
}

.gp-chip--warn {
  background: var(--gp-amber);
  color: var(--gp-amber-ink);
}

.gp-chip--closed {
  background: var(--gp-paper-deep);
  color: var(--gp-muted);
}

.gp-chip--coral {
  background: var(--gp-coral-soft);
  color: var(--gp-coral-ink);
}

/* ------------------------------------------------------- today: day sheet -- */

/* The whole screen is one clipboard. The clip and the punched holes are the
   app's signature furniture and appear nowhere else on the site. */
.gp-sheetpad {
  position: relative;
  margin: 0.9rem 0.9rem 0;
  padding: 1.5rem 0.95rem 1rem;
  border: 1px solid var(--gp-line);
  border-radius: 0.5rem 0.5rem var(--gp-r) var(--gp-r);
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0 2.15rem,
      rgba(23, 54, 45, 0.05) 2.15rem 2.2rem
    ),
    var(--gp-card);
  box-shadow: var(--gp-shadow-sm);
}

.gp-sheetpad::before {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 4.4rem;
  height: 0.75rem;
  border: 1px solid rgba(15, 42, 34, 0.28);
  border-radius: 0.2rem;
  background: linear-gradient(180deg, #dfe6df, #b6c2ba);
  content: "";
  transform: translateX(-50%);
}

.gp-sheetpad__holes {
  position: absolute;
  top: 0.72rem;
  left: 1.1rem;
  display: flex;
  gap: 0.45rem;
}

.gp-sheetpad__holes span {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gp-paper-deep);
  box-shadow: inset 0 1px 2px rgba(15, 42, 34, 0.35);
}

.gp-sheetpad__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.gp-sheetpad__top h2 {
  font-size: 1.35rem;
}

.gp-sheetpad__top p {
  margin-top: 0.2rem;
  color: var(--gp-muted);
  font-size: 0.74rem;
}

.gp-stamp {
  flex: none;
  padding: 0.35rem 0.6rem;
  border: 1.5px dashed var(--gp-coral-ink);
  border-radius: 0.55rem;
  color: var(--gp-coral-ink);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

/* --- the scrubber ------------------------------------------------------- */

.gp-scrub {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--gp-line-strong);
}

.gp-scrub__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gp-scrub__label {
  font-size: 0.72rem;
  font-weight: 750;
}

.gp-scrub__time {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--gp-deep);
  color: var(--gp-lime);
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.gp-scrub input[type="range"] {
  width: 100%;
  height: 2.4rem;
  margin-top: 0.35rem;
  background: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.gp-scrub input[type="range"]::-webkit-slider-runnable-track {
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gp-coral) 0 var(--gp-scrub-pct, 0%),
    var(--gp-paper-deep) var(--gp-scrub-pct, 0%) 100%
  );
}

.gp-scrub input[type="range"]::-moz-range-track {
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gp-coral) 0 var(--gp-scrub-pct, 0%),
    var(--gp-paper-deep) var(--gp-scrub-pct, 0%) 100%
  );
}

.gp-scrub input[type="range"]::-webkit-slider-thumb {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -0.53rem;
  border: 3px solid var(--gp-card);
  border-radius: 50%;
  background: var(--gp-deep);
  box-shadow: 0 2px 6px rgba(15, 42, 34, 0.3);
  -webkit-appearance: none;
  appearance: none;
}

.gp-scrub input[type="range"]::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid var(--gp-card);
  border-radius: 50%;
  background: var(--gp-deep);
  box-shadow: 0 2px 6px rgba(15, 42, 34, 0.3);
}

.gp-scrub__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.gp-scrub__ends {
  color: var(--gp-muted);
  font-size: 0.66rem;
}

.gp-scrub__live {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--gp-line-strong);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.gp-scrub__live[data-live="true"] {
  border-color: transparent;
  background: var(--gp-lime-soft);
}

/* --- alerts and upcoming ------------------------------------------------ */

.gp-alert {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
  margin: 0.75rem 0.9rem 0;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(122, 74, 5, 0.3);
  border-radius: var(--gp-r);
  background: var(--gp-amber);
  color: var(--gp-amber-ink);
}

.gp-alert .gp-icon {
  margin-top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
}

.gp-alert strong {
  display: block;
  font-size: 0.8rem;
}

.gp-alert p {
  margin-top: 0.15rem;
  font-size: 0.73rem;
  line-height: 1.42;
}

.gp-alert button {
  min-height: 2.4rem;
  margin-top: 0.35rem;
  padding: 0.25rem 0;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.gp-next {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0.9rem 0;
  padding: 0.9rem;
  border-radius: var(--gp-r);
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-next__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.7rem;
}

.gp-next__top p:first-child {
  color: var(--gp-lime);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gp-next h3 {
  margin-top: 0.25rem;
  color: var(--gp-paper);
  font-size: 1.05rem;
}

.gp-next__meta {
  margin-top: 0.2rem;
  color: var(--gp-cream);
  font-size: 0.74rem;
}

.gp-next__price {
  flex: none;
  color: var(--gp-lime);
  font-size: 1.05rem;
  font-weight: 800;
}

.gp-next__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gp-next__row .gp-chip {
  background: rgba(220, 237, 114, 0.2);
  color: var(--gp-lime);
}

.gp-next__actions {
  display: flex;
  gap: 0.45rem;
}

.gp-next__actions .gp-btn {
  flex: 1;
  min-height: 2.6rem;
  font-size: 0.76rem;
}

.gp-next__actions .gp-btn--quiet {
  border-color: var(--gp-line-light);
  background: transparent;
  color: var(--gp-paper);
}

.gp-next__actions .gp-btn--quiet:hover {
  background: rgba(255, 248, 232, 0.1);
}

.gp-empty {
  margin: 0.75rem 0.9rem 0;
  padding: 1rem;
  border: 1px dashed var(--gp-line-strong);
  border-radius: var(--gp-r);
  text-align: center;
}

.gp-empty p {
  color: var(--gp-muted);
  font-size: 0.78rem;
}

.gp-empty .gp-btn {
  margin-top: 0.65rem;
}

/* --- the feed ----------------------------------------------------------- */

.gp-feed {
  display: grid;
  gap: 0.5rem;
  margin: 0 0.9rem;
  padding: 0;
  list-style: none;
}

.gp-entry {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
}

.gp-entry--now {
  border-color: var(--gp-coral);
  box-shadow: 0 0 0 2px rgba(243, 95, 63, 0.16);
}

.gp-entry--owner {
  background: var(--gp-lime-soft);
}

.gp-entry__node {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gp-paper-deep);
  color: var(--gp-ink);
}

.gp-entry--now .gp-entry__node {
  background: var(--gp-deep);
  color: var(--gp-lime);
}

.gp-entry__node .gp-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.gp-entry__body {
  min-width: 0;
}

.gp-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--gp-muted);
  font-size: 0.67rem;
  font-weight: 650;
}

.gp-entry__meta time {
  font-variant-numeric: tabular-nums;
}

.gp-entry__meta .gp-nowtag {
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--gp-coral-soft);
  color: var(--gp-coral-ink);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gp-entry h4 {
  margin-top: 0.18rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.gp-entry p {
  margin-top: 0.25rem;
  color: var(--gp-muted);
  font-size: 0.78rem;
  line-height: 1.48;
}

.gp-entry__photo {
  margin-top: 0.6rem;
  overflow: hidden;
  border-radius: 0.7rem;
}

.gp-entry__photo img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
}

.gp-entry__keep {
  min-width: 2.75rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--gp-line-strong);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.gp-entry__keep[aria-pressed="true"] {
  border-color: transparent;
  background: var(--gp-lime);
}

.gp-entry__keep[aria-pressed="true"] .gp-icon {
  fill: var(--gp-ink);
}

.gp-entry--pending {
  border-style: dashed;
  background: transparent;
}

.gp-entry--pending .gp-entry__node {
  background: transparent;
  border: 1px dashed var(--gp-line-strong);
  color: var(--gp-muted);
}

.gp-entry--pending h4 {
  color: var(--gp-muted);
  font-weight: 700;
}

/* --- the report card ---------------------------------------------------- */

.gp-report {
  overflow: hidden;
  margin: 0 0.9rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r-lg);
  background: var(--gp-card);
  box-shadow: var(--gp-shadow-sm);
}

.gp-report__head {
  padding: 0.95rem 0.95rem 0.8rem;
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-report__head p:first-child {
  color: var(--gp-lime);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gp-report__head h4 {
  margin-top: 0.3rem;
  color: var(--gp-paper);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gp-report__progress {
  margin-top: 0.7rem;
}

.gp-report__bar {
  height: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.2);
}

.gp-report__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gp-lime);
  transition: width 0.3s ease;
}

.gp-report__count {
  margin-top: 0.35rem;
  color: var(--gp-cream);
  font-size: 0.72rem;
}

.gp-report__lines {
  display: grid;
  margin: 0;
  padding: 0.2rem 0.95rem 0.4rem;
}

.gp-report__lines > div {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.5rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed var(--gp-line);
}

.gp-report__lines > div:last-child {
  border-bottom: 0;
}

.gp-report__lines dt {
  color: var(--gp-muted);
  font-size: 0.72rem;
  font-weight: 750;
  hyphens: none;
  overflow-wrap: normal;
}

.gp-report__lines dd {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.42;
}

.gp-report__lines .is-waiting dd {
  color: var(--gp-muted);
  font-style: italic;
}

.gp-report__photo {
  margin: 0.2rem 0.95rem 0;
}

.gp-report__photo img {
  width: 100%;
  height: 9.5rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.gp-report__photo figcaption {
  margin-top: 0.35rem;
  color: var(--gp-muted);
  font-size: 0.68rem;
}

.gp-report__foot {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-top: 1px solid var(--gp-line);
  background: var(--gp-paper-deep);
}

.gp-report__foot p {
  color: var(--gp-muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

/* ------------------------------------------------------------------- book -- */

.gp-locked {
  display: grid;
  gap: 0.5rem;
  margin: 0.2rem 0.9rem 0;
  padding: 0.85rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-lime-soft);
}

.gp-locked__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gp-locked__top p {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gp-locked__edit {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(23, 54, 45, 0.08);
  font-size: 0.7rem;
  font-weight: 750;
}

.gp-locked__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gp-locked__facts span {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--gp-card);
  font-size: 0.7rem;
  font-weight: 700;
}

.gp-locked p.gp-fine {
  font-size: 0.69rem;
}

.gp-again {
  display: grid;
  gap: 0.45rem;
  margin: 0 0.9rem;
  padding: 0;
  list-style: none;
}

.gp-again li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
}

.gp-again li > div {
  min-width: 0;
}

.gp-again strong {
  display: block;
  font-size: 0.82rem;
}

.gp-again small {
  display: block;
  color: var(--gp-muted);
  font-size: 0.7rem;
}

.gp-again .gp-btn {
  min-height: 2.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.74rem;
}

.gp-days {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin: 0;
  padding: 0.2rem 0.9rem 0.6rem;
  scrollbar-width: thin;
}

.gp-day {
  position: relative;
  flex: none;
  width: 4.35rem;
  min-height: 5.3rem;
  display: grid;
  align-content: start;
  gap: 0.12rem;
  padding: 0.55rem 0.35rem;
  border: 1px solid var(--gp-line);
  border-radius: 0.85rem;
  background: var(--gp-card);
  text-align: center;
}

.gp-day small {
  color: var(--gp-muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gp-day strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.gp-day span {
  color: var(--gp-muted);
  font-size: 0.62rem;
  line-height: 1.25;
}

.gp-day[aria-pressed="true"] {
  border-color: transparent;
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-day[aria-pressed="true"] small,
.gp-day[aria-pressed="true"] span {
  color: var(--gp-lime);
}

.gp-day:disabled {
  cursor: not-allowed;
  background: var(--gp-paper-deep);
  opacity: 0.72;
}

.gp-options {
  display: grid;
  gap: 0.45rem;
  margin: 0 0.9rem;
}

.gp-option {
  position: relative;
  display: grid;
  grid-template-columns: 1.3rem 1fr auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
  cursor: pointer;
}

.gp-option input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--gp-deep);
}

.gp-option__text {
  min-width: 0;
}

.gp-option__text strong {
  display: block;
  font-size: 0.84rem;
}

.gp-option__text span {
  display: block;
  margin-top: 0.15rem;
  color: var(--gp-muted);
  font-size: 0.73rem;
  line-height: 1.4;
}

.gp-option__price {
  flex: none;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.gp-option:has(input:checked) {
  border-color: var(--gp-deep);
  background: var(--gp-lime-soft);
}

.gp-option--closed {
  cursor: not-allowed;
  background: var(--gp-paper-deep);
}

.gp-option--closed .gp-option__text strong {
  color: var(--gp-muted);
}

.gp-option__why {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.4rem;
  color: var(--gp-coral-ink);
  font-size: 0.71rem;
  line-height: 1.4;
}

.gp-option__why .gp-icon {
  margin-top: 0.12rem;
  width: 0.9rem;
  height: 0.9rem;
}

.gp-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0.9rem;
}

.gp-time {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  background: var(--gp-card);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.gp-time input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gp-time:has(input:checked) {
  border-color: transparent;
  background: var(--gp-deep);
  color: var(--gp-lime);
}

.gp-time:has(input:focus-visible) {
  outline: 3px solid var(--gp-coral);
  outline-offset: 2px;
}

.gp-total {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0.9rem 0;
  padding: 0.9rem;
  border-radius: var(--gp-r);
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-total__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--gp-cream);
  font-size: 0.76rem;
}

.gp-total__line strong {
  color: var(--gp-paper);
  font-weight: 700;
}

.gp-total__grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--gp-line-light);
}

.gp-total__grand span {
  font-size: 0.82rem;
  font-weight: 700;
}

.gp-total__grand strong {
  color: var(--gp-lime);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.gp-total .gp-btn {
  margin-top: 0.15rem;
  background: var(--gp-lime);
  color: var(--gp-ink);
}

.gp-total p {
  color: var(--gp-mist);
  font-size: 0.69rem;
}

/* ------------------------------------------------------------------ salon -- */

.gp-coatnote {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.7rem;
  align-items: center;
  margin: 0.2rem 0.9rem 0;
  padding: 0.8rem;
  border-radius: var(--gp-r);
  background: var(--gp-coral-soft);
}

.gp-coatswatch {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(23, 54, 45, 0.18);
}

.gp-coatswatch--smooth {
  background: linear-gradient(135deg, #e6c79a, #cba36c);
}

.gp-coatswatch--double {
  background:
    repeating-linear-gradient(58deg, rgba(255, 255, 255, 0.5) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #d8b183, #a97b46);
}

.gp-coatswatch--curly {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0 22%, transparent 23%),
    radial-gradient(circle at 70% 62%, rgba(255, 255, 255, 0.45) 0 20%, transparent 21%),
    linear-gradient(135deg, #d9c6a4, #a58a63);
}

.gp-coatswatch--wire {
  background:
    repeating-linear-gradient(24deg, rgba(23, 54, 45, 0.24) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, #c9b294, #8d7452);
}

.gp-coatnote strong {
  display: block;
  color: var(--gp-coral-ink);
  font-size: 0.8rem;
}

.gp-coatnote p {
  margin-top: 0.12rem;
  color: var(--gp-ink);
  font-size: 0.73rem;
  line-height: 1.4;
}

.gp-chair {
  margin: 0.9rem 0.9rem 0;
  padding: 0.85rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
}

.gp-chair__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.gp-chair__top p {
  font-size: 0.74rem;
  font-weight: 750;
}

.gp-chair__top strong {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.gp-chair__bar {
  display: flex;
  height: 0.85rem;
  overflow: hidden;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--gp-paper-deep);
}

.gp-chair__seg {
  height: 100%;
  transition: width 0.25s ease;
}

.gp-chair__seg--base {
  background: var(--gp-deep);
}

.gp-chair__seg--dry {
  background: var(--gp-coral);
}

.gp-chair__seg--extra {
  background: var(--gp-lime);
}

.gp-chair__key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
  color: var(--gp-muted);
  font-size: 0.68rem;
}

.gp-chair__key span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.gp-chair__key i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.gp-chair__key i.is-base {
  background: var(--gp-deep);
}

.gp-chair__key i.is-dry {
  background: var(--gp-coral);
}

.gp-chair__key i.is-extra {
  background: var(--gp-lime);
}

.gp-addon {
  display: grid;
  grid-template-columns: 1.3rem 1fr auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
  cursor: pointer;
}

.gp-addon input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  accent-color: var(--gp-deep);
}

.gp-addon:has(input:checked) {
  border-color: var(--gp-deep);
  background: var(--gp-lime-soft);
}

.gp-addon strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.gp-addon span {
  display: block;
  margin-top: 0.15rem;
  color: var(--gp-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.gp-addon b {
  font-size: 0.82rem;
  white-space: nowrap;
}

/* -------------------------------------------------------------------- dog -- */

.gp-membercard {
  position: relative;
  overflow: hidden;
  margin: 0.2rem 0.9rem 0;
  border-radius: var(--gp-r-lg);
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-membercard__top {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem;
}

.gp-membercard__portrait {
  position: relative;
  padding: 0.28rem;
  border-radius: 0.9rem;
  background: var(--gp-paper);
}

.gp-membercard__portrait img {
  width: 100%;
  height: 6rem;
  border-radius: 0.7rem;
  object-fit: cover;
  object-position: 50% 26%;
}

.gp-membercard__id {
  min-width: 0;
}

.gp-membercard__id p:first-child {
  color: var(--gp-lime);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gp-membercard__id h2 {
  margin-top: 0.25rem;
  color: var(--gp-paper);
  font-size: 1.85rem;
}

.gp-membercard__id .gp-membercard__owner {
  margin-top: 0.3rem;
  color: var(--gp-cream);
  font-size: 0.76rem;
}

.gp-membercard__no {
  margin-top: 0.4rem;
  color: var(--gp-mist);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.gp-membercard__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gp-line-light);
}

.gp-membercard__facts > div {
  padding: 0.65rem 0.95rem;
  border-top: 1px solid var(--gp-line-light);
  border-right: 1px solid var(--gp-line-light);
}

.gp-membercard__facts > div:nth-child(-n + 2) {
  border-top: 0;
}

.gp-membercard__facts > div:nth-child(2n) {
  border-right: 0;
}

.gp-membercard__facts dt {
  color: var(--gp-mist);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gp-membercard__facts dd {
  margin: 0.15rem 0 0;
  color: var(--gp-paper);
  font-size: 0.86rem;
  font-weight: 700;
}

.gp-membercard__facts dd small {
  display: block;
  color: var(--gp-cream);
  font-size: 0.68rem;
  font-weight: 500;
}

.gp-membercard__actions {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem 0.95rem 0.9rem;
  border-top: 1px solid var(--gp-line-light);
}

.gp-membercard__actions .gp-btn {
  flex: 1;
  min-height: 2.6rem;
  font-size: 0.76rem;
}

.gp-seg {
  display: flex;
  gap: 0.35rem;
  margin: 0 0.9rem;
  padding: 0;
  border: 0;
}

.gp-seg label {
  flex: 1;
  min-height: 3.1rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.1rem;
  padding: 0.4rem 0.3rem;
  border: 1px solid var(--gp-line);
  border-radius: 0.8rem;
  background: var(--gp-card);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.gp-seg label small {
  color: var(--gp-muted);
  font-size: 0.63rem;
  font-weight: 500;
}

.gp-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gp-seg label:has(input:checked) {
  border-color: transparent;
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-seg label:has(input:checked) small {
  color: var(--gp-lime);
}

.gp-seg label:has(input:focus-visible) {
  outline: 3px solid var(--gp-coral);
  outline-offset: 2px;
}

.gp-shots {
  display: grid;
  gap: 0.45rem;
  margin: 0 0.9rem;
  padding: 0;
  list-style: none;
}

.gp-shot {
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-r);
  background: var(--gp-card);
}

.gp-shot__node {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gp-lime-soft);
}

.gp-shot--soon .gp-shot__node {
  background: var(--gp-amber);
  color: var(--gp-amber-ink);
}

.gp-shot strong {
  display: block;
  font-size: 0.82rem;
}

.gp-shot small {
  display: block;
  color: var(--gp-muted);
  font-size: 0.71rem;
}

.gp-shot__act {
  min-height: 2.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--gp-paper-deep);
  font-size: 0.71rem;
  font-weight: 750;
  white-space: nowrap;
}

.gp-notefield {
  display: grid;
  gap: 0.35rem;
  margin: 0 0.9rem;
}

.gp-notefield span {
  font-size: 0.76rem;
  font-weight: 750;
}

.gp-notefield textarea {
  min-height: 5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gp-line-strong);
  border-radius: var(--gp-r);
  background: var(--gp-card);
  font-size: 0.8rem;
  line-height: 1.45;
  resize: vertical;
}

.gp-notefield .gp-fine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.gp-shelf {
  display: grid;
  gap: 0.45rem;
  margin: 0 0.9rem;
  padding: 0;
  list-style: none;
}

.gp-shelfcard {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--gp-line);
  border-left: 4px solid var(--gp-coral);
  border-radius: var(--gp-r);
  background: var(--gp-card);
  text-align: left;
}

.gp-shelfcard strong {
  display: block;
  font-size: 0.82rem;
}

.gp-shelfcard small {
  display: block;
  color: var(--gp-muted);
  font-size: 0.71rem;
}

.gp-reset {
  margin: 1.2rem 0.9rem 0;
  padding: 0.85rem;
  border: 1px dashed var(--gp-line-strong);
  border-radius: var(--gp-r);
  text-align: center;
}

.gp-reset p {
  color: var(--gp-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.gp-reset .gp-btn {
  margin-top: 0.6rem;
}

/* ---------------------------------------------------------------- dialogs -- */

/* Sheets are centred on the phone rather than on the browser window, so on a
   desktop they read as something the phone opened. JS feeds the custom
   properties from the device's bounding box; the fallbacks centre on the
   viewport if scripting is off mid-flight. Note that the global
   `* { margin: 0 }` reset kills the UA's `margin: auto` on <dialog>, so the
   position has to be set explicitly either way. */
.gp-sheet {
  position: fixed;
  top: var(--gp-sheet-y, 50%);
  left: var(--gp-sheet-x, 50%);
  width: min(var(--gp-sheet-w, 24rem), calc(100vw - 1.5rem));
  max-width: min(var(--gp-sheet-w, 24rem), calc(100vw - 1.5rem));
  max-height: min(var(--gp-sheet-h, 40rem), calc(100svh - 1.5rem));
  overflow-y: auto;
  margin: 0;
  padding: 1.3rem 1.15rem 1.2rem;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 1.4rem;
  background: var(--gp-paper);
  color: var(--gp-ink);
  box-shadow: var(--gp-shadow);
}

.gp-sheet::backdrop {
  background: rgba(15, 42, 34, 0.62);
  backdrop-filter: blur(3px);
}

.gp-sheet__close-form {
  float: right;
  margin: -0.35rem -0.25rem 0 0.6rem;
}

.gp-sheet__close {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gp-paper-deep);
}

.gp-sheet__kicker {
  color: var(--gp-coral-ink);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gp-sheet h2 {
  margin-top: 0.3rem;
  font-size: 1.45rem;
}

.gp-sheet__lede {
  margin-top: 0.5rem;
  color: var(--gp-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.gp-sheet__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.gp-sheet__actions .gp-btn {
  flex: 1;
}

.gp-sheet--small {
  text-align: center;
}

.gp-sheet--small .gp-sheet__lede {
  margin-inline: auto;
  max-width: 22rem;
}

.gp-sheet--small .gp-btn {
  width: 100%;
  margin-top: 1rem;
}

.gp-say__mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--gp-lime);
  color: var(--gp-ink);
}

.gp-say__mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gp-form {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.gp-field {
  display: grid;
  gap: 0.3rem;
}

.gp-field > span {
  font-size: 0.76rem;
  font-weight: 750;
}

.gp-field input,
.gp-field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--gp-line-strong);
  border-radius: 0.8rem;
  background: var(--gp-card);
  font-size: 0.85rem;
  line-height: 1.45;
}

.gp-field textarea {
  resize: vertical;
}

.gp-form__fine {
  color: var(--gp-muted);
  font-size: 0.71rem;
  line-height: 1.45;
}

.gp-form__preview {
  padding: 0.6rem 0.7rem;
  border-radius: 0.7rem;
  background: var(--gp-lime-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.gp-confirm {
  margin-top: 0.85rem;
}

.gp-confirm dl {
  display: grid;
  margin: 0;
}

.gp-confirm dl > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--gp-line);
}

.gp-confirm dl > div:last-child {
  border-bottom: 0;
}

.gp-confirm dt {
  color: var(--gp-muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.gp-confirm dd {
  margin: 0;
  font-size: 0.81rem;
}

.gp-confirm__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: var(--gp-deep);
  color: var(--gp-paper);
}

.gp-confirm__total strong {
  color: var(--gp-lime);
  font-size: 1.25rem;
}

.gp-confirm__photo img {
  width: 100%;
  height: 8rem;
  margin-bottom: 0.6rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

/* ------------------------------------------------------------------ toast -- */

.gp-toast {
  position: fixed;
  bottom: calc(var(--gp-toast-bottom, 1.5rem));
  left: 50%;
  z-index: 250;
  width: max-content;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  background: var(--gp-deep);
  color: var(--gp-lime);
  font-size: 0.79rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.9rem);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gp-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gp-noscript {
  max-width: 34rem;
  margin: 2rem auto;
  padding: 1.2rem;
  border-radius: var(--gp-r);
  background: var(--gp-paper);
  color: var(--gp-ink);
  font-size: 0.9rem;
}

.gp-noscript a {
  text-decoration: underline;
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 62rem) {
  .gp-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .gp-pitch {
    height: 3.5rem;
    min-height: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.6rem;
    overflow: hidden;
    padding: 0 1rem;
  }

  .gp-pitch__back {
    min-height: 2.5rem;
    flex: none;
    font-size: 0.78rem;
  }

  .gp-pitch__back span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gp-pitch__link {
    min-height: 2.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .gp-pitch__copy {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .gp-pitch__foot {
    margin-left: auto;
    justify-content: end;
    gap: 0.6rem;
  }

  .gp-pitch__foot p {
    display: none;
  }

  .gp-deck {
    min-height: 0;
    padding: 0.9rem;
  }

  .gp-phone {
    height: min(52rem, calc(100svh - 5.3rem));
    min-height: 0;
  }
}

@media (max-width: 34rem) {
  .gp-deck {
    padding: 0;
    background: var(--gp-paper);
  }

  .gp-phone {
    width: 100%;
    height: calc(100svh - 3.5rem);
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .gp-pitch__back,
  .gp-pitch__link {
    font-size: 0.78rem;
  }

  .gp-pitch__long {
    display: none;
  }

  .gp-pitch__short {
    display: inline;
  }

  .gp-phone__ear {
    display: none;
  }

  .gp-statusbar {
    padding-top: max(0.55rem, env(safe-area-inset-top));
    height: calc(var(--gp-status-h) + env(safe-area-inset-top));
  }

  .gp-screen {
    top: calc(var(--gp-status-h) + var(--gp-bar-h) + var(--gp-demo-h) + env(safe-area-inset-top));
    bottom: calc(var(--gp-tabs-h) + env(safe-area-inset-bottom));
  }

  .gp-tabs {
    height: calc(var(--gp-tabs-h) + env(safe-area-inset-bottom));
    padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  }


}

@media (max-width: 23rem) {
  .gp-report__lines > div,
  .gp-confirm dl > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .gp-membercard__top {
    grid-template-columns: 4.4rem 1fr;
  }

  .gp-tabs button {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
