/* ==========================================================================
   Blok „Serwis: 4 na 100” (.lift.g100): zwarty arkusz w jednym rzędzie –
   liczba z tekstem, mała siatka 10 × 10 drukarek i trzy notatki jako lista faktów
   z małymi wykresami (na telefonie: liczba obok siatki, pod nimi tekst i lista).
   Źródło (prototyp): assets/css/podstrona.css (4 in 100), podstrony/serwis.css (4 na 100)
   ========================================================================== */

/* a tighter sheet than the shared .lift__sheet: this card is a small module, not a page */
.g100 .lift__sheet { padding: clamp(.875rem, 1.6vw, 1.25rem) clamp(1.25rem, 2.4vw, 2rem) clamp(1.25rem, 2.4vw, 2rem); }
.g100 .lift__top { padding-bottom: .7rem; }
.g100 .lift__title { display: flex; align-items: center; gap: .75rem; }
.g100 .lift__title .sv-tile { width: 34px; height: 34px; border-radius: 10px; }

.g100__layout {
  display: grid; grid-template-columns: minmax(0, 15fr) minmax(0, 13fr) minmax(0, 24fr);
  gap: 1.25rem clamp(1.5rem, 3.2vw, 3rem); align-items: center;
  padding-top: clamp(1rem, 1.8vw, 1.5rem);
}
.g100__layout--bez-notatek { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }

/* the number and what it means */
.g100__num { margin: 0 0 .65rem; color: var(--navy-900); font-weight: 300; letter-spacing: -.035em; line-height: .9; }
.g100__num span[aria-hidden] { display: inline-flex; align-items: baseline; gap: .5rem; }
.g100__num b { font-weight: 300; font-size: clamp(3.25rem, 2.2rem + 2.6vw, 4.5rem); font-variant-numeric: tabular-nums; color: var(--orange-ink); }
.g100__num small { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); font-weight: 400; letter-spacing: -.01em; }
.g100__lead { margin: 0; color: var(--text); font-size: .9375rem; line-height: 1.55; text-wrap: pretty; }

/* 100 small printers, the lit ones Orange Deep */
.g100__map { display: grid; gap: .75rem; }
.g100__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px 4px; }
.g100__p { display: block; width: 100%; height: auto; fill: var(--navy-100); transition: fill .3s var(--ease), transform .45s var(--ease), opacity .4s var(--ease); }
.g100.is-armed .g100__p { opacity: .15; transform: scale(.82); }
.g100.is-armed.is-filled .g100__p { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
/* lit = Orange Deep fill only; the pop is transient (no resting glow: orange light belongs to a hover) */
.g100__p.is-lit { fill: var(--orange-600); }
.g100.is-armed .g100__p.is-lit { animation: g100-pop .7s var(--ease) both; }
.g100.is-armed.is-filled .g100__p.is-lit { transition-delay: 0s; }
@keyframes g100-pop { from { transform: scale(1.35); } to { transform: none; } }
.g100__key {
  display: flex; align-items: center; gap: .45rem; margin: 0;
  font-family: var(--font-ui); font-weight: 500; font-size: .8125rem; line-height: 1.3; color: var(--muted);
}
.g100__key svg { flex: none; width: 18px; height: 12px; fill: var(--navy-900); }

/* three notes = one panel of fact lines: title + unit, a small chart, one short line */
.g100__notes { list-style: none; margin: 0; padding: .2rem clamp(1rem, 1.6vw, 1.25rem); border-radius: 16px; background: var(--paper-2); }
.g100__note { display: grid; gap: .4rem; padding: .65rem 0; }
.g100__note + .g100__note { border-top: 1px solid var(--line); }
.g100__nhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem; }
.g100__nhead h3 { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; color: var(--navy-900); }
.g100__cap { margin: 0; font-family: var(--font-ui); font-size: .8125rem; line-height: 1.3; color: var(--muted); }
.g100__ntext { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }

.g100 :is(.ratio, .drop, .toll) {
  font-family: var(--font-ui); font-size: .875rem; font-weight: 500; line-height: 1.3;
  color: var(--navy-900); font-variant-numeric: tabular-nums;
}
.g100 :is(.ratio, .drop) p { margin: 0; }

/* 100 → 5, 1000 → 50: two rows joined by an orange thread */
.ratio { display: grid; gap: .3rem; max-width: 24rem; }
.ratio__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(var(--orange-100), var(--orange-100)) center / 100% 2px no-repeat;
}
.ratio__from { display: inline-flex; align-items: center; gap: .4rem; padding-right: .5rem; background: var(--paper-2); white-space: nowrap; }
.ratio__to {
  position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .22em .7em;
  border-radius: var(--radius-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; white-space: nowrap;
}
.ratio .icon { width: 1rem; height: 1rem; color: var(--navy); }
.ratio__to .icon { color: var(--orange-600); }
.ratio__to::before {
  content: ""; position: absolute; right: calc(100% + 2px); top: 50%; margin-top: -4px;
  border: 4px solid transparent; border-left: 6px solid var(--orange); border-right: 0;
}

/* about 400 → under 50: one scale, the drop hatched (Hatch Rule) */
.drop { display: grid; gap: .3rem; max-width: 24rem; }
.drop__row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 4rem; align-items: center; gap: .6rem; }
.drop__label { color: var(--muted); }
.drop__bar {
  position: relative; height: 8px; border-radius: 4px; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--line-strong) 0 2px, transparent 2px 6px);
}
.drop__bar i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 4px; background: var(--navy-900); }
.drop__row--after .drop__bar i { background: var(--orange-600); }
.drop__row b { font-weight: 600; text-align: right; white-space: nowrap; }

/* one ticket = a pause, a phone call and waiting – one line; on narrow cards the whole list moves under the pill */
.toll { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.toll__one {
  display: inline-flex; align-items: center; gap: .4rem; padding: .22em .7em; border-radius: var(--radius-pill);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 600; white-space: nowrap;
}
.toll__one .icon { width: 1rem; height: 1rem; color: var(--orange-600); }
.toll__eq { font-size: 1.125rem; line-height: 1; color: var(--muted); }
.toll__list { flex: 0 1 auto; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem .85rem; }
.toll__list li { display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: 0; border: 0; white-space: nowrap; }
.toll__list .icon { width: .95rem; height: .95rem; color: var(--navy); }

/* small laptop: a little more room for the lead, a smaller grid */
@media (max-width: 1199px) {
  .g100__layout { grid-template-columns: minmax(0, 16fr) minmax(0, 11fr) minmax(0, 24fr); }
}
/* tablet: number + grid side by side, the notes panel below */
@media (max-width: 959px) {
  .g100__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g100__map { width: 100%; max-width: 17rem; justify-self: end; }
  .g100__notes { grid-column: 1 / -1; }
}

/* phone: number + legend beside a small grid, the lead and the fact list below */
@media (max-width: 640px) {
  .g100 .lift__top { gap: .35rem 1rem; }
  .g100__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-areas: "num grid" "key grid" "lead lead" "notes notes";
    gap: .75rem 1rem; align-items: start;
  }
  .g100__fig, .g100__map { display: contents; }
  .g100__num { grid-area: num; margin: .15rem 0 0; }
  .g100__key { grid-area: key; align-self: end; align-items: flex-start; }
  .g100__key svg { margin-top: .1rem; }
  .g100__grid { grid-area: grid; width: 100%; max-width: 15rem; justify-self: end; gap: 4px 3px; }
  .g100__lead { grid-area: lead; }
  .g100__notes { grid-area: notes; padding-inline: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .g100.is-armed .g100__p { opacity: 1; transform: none; }
  .g100__p.is-lit, .g100.is-armed .g100__p.is-lit { animation: none; }
}
