/* Ink and Lime /for/agencies (Vytas, 2026-11-03), English on dev only. Template: frontend/for/agencies_ink.pug.
   Loads after ink/home.css, which owns the tokens, header, footer and every shared section. This file adds only what the
   agencies page has that the homepage does not: the workspace list, client cards, the report, plan tiles, setup screens and the fit lists.
   Own file on purpose: ink/for.css belongs to the other /for pages. */

/* ---------- 1. Hero: the homepage H1 size; the sentence a little wider; the workspace list beside the phone ---------- */
html body.ik.ika:not(#_) .is-left p.ik-hero__sub { max-width: 540px; }
.ika-hero__visual { position: relative; }
/* The app's workspace icon: a colour square with the client's first letter. */
.ika-wsico { --s: 24px; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .3); font-size: calc(var(--s) * .5); font-style: normal; font-weight: 600; line-height: 1; }
/* Sits over the phone's lower left edge, flat: no shadow, a hairline border (CLAUDE.md rule 2). */
.ika-ws { position: absolute; right: 270px; bottom: 56px; z-index: 2; width: 232px; padding: 12px; border: 1px solid #e4e4e7; border-radius: 20px; background: #fff; color: #111; }
html body.ik:not(#_) p.ika-ws__h { padding: 2px 8px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #63636b; }
.ika-ws ul { display: flex; flex-direction: column; gap: 2px; }
.ika-ws li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 14px; }
.ika-ws li b { flex: 1; font-weight: 500; }
.ika-ws li.is-on { background: var(--cf-mist); }
.ika-ws li.is-on b { font-weight: 600; }
.ika-ws li i { display: grid; color: #111; }
html body.ik:not(#_) p.ika-ws__add { margin-top: 6px; padding: 10px 8px 2px; border-top: 1px solid #efeff0; font-size: 13px; font-weight: 600; }

/* ---------- 2. Client cards: the homepage use-case card, with the client's account on the post ---------- */
html body.ik.ika:not(#_) .ika-cards .ik-art { height: 220px; }
html body.ik.ika:not(#_) .ika-cards .ik-ucard__pic { width: 38%; }
html body.ik.ika:not(#_) .ika-cards .ik-ucard__dm { width: 56%; }
html body.ik.ika:not(#_) .ika-cards .ik-ucard__dm p.ik-dm__btn { align-self: stretch; text-align: center; }
html body.ik.ika:not(#_) .ika-cards .ik-ucard__cmt { right: auto; padding: 4px 8px 4px 5px; }
html body.ik:not(#_) .ika-pic--reel > img { object-position: center 25%; }
/* The account name on the post, as Instagram shows it. */
.ika-pic__by, .ika-story__by { position: absolute; top: 6px; left: 6px; display: flex; align-items: center; gap: 4px; max-width: calc(100% - 12px); padding: 3px 7px 3px 3px; border-radius: 999px; background: #fff; font-size: 9px; font-weight: 600; color: #111; white-space: nowrap; }
.ika-story__by { top: 13px; padding: 0; background: none; color: #fff; }
/* A Story: two progress bars on top, the sticker that asks for the keyword. */
.ika-story__bars { position: absolute; top: 6px; left: 6px; right: 6px; display: flex; gap: 3px; }
.ika-story__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .55); }
.ika-story__bars i:first-child { background: #fff; }
.ika-story__ask { position: absolute; left: 50%; bottom: 14px; padding: 5px 9px; border-radius: 8px; background: #fff; font-size: 10px; font-weight: 600; color: #111; white-space: nowrap; transform: translateX(-50%) rotate(-3deg); }

/* ---------- 3. Reports: the workspace dashboard and the contacts list ---------- */
html body.ik.ika:not(#_) .ika-bento .ik-art { height: 250px; }
.ika-dash { display: flex; flex-direction: column; gap: 8px; width: min(560px, 100%); padding: 12px 14px; border-radius: 16px; background: #fff; color: #111; }
.ika-dash__top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ika-dash__top b { flex: 1; font-weight: 600; }
.ika-dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ika-dash__stats span { display: flex; flex-direction: column; gap: 1px; padding: 5px 10px; border: 1px solid #ececef; border-radius: 10px; }
.ika-dash__stats i { font-style: normal; font-size: 11px; color: #63636b; }
.ika-dash__stats b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ika-dash__table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.ika-dash__table th { padding: 0 0 4px; font-weight: 500; color: #63636b; text-align: right; }
.ika-dash__table th:first-child, .ika-dash__table td:first-child { text-align: left; }
.ika-dash__table td { padding: 4px 0; border-top: 1px solid #f0f0f2; text-align: right; }
.ika-dash__table td:first-child { display: flex; align-items: center; gap: 8px; }
html body.ik:not(#_) .ika-dash__table img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.ika-dash__table th:not(:first-child), .ika-dash__table td:not(:first-child) { width: 52px; }
.ika-cts { width: min(270px, 100%); padding: 12px; border-radius: 16px; background: #fff; color: #111; }
.ika-cts__top { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 8px; font-size: 14px; }
.ika-cts__top b { font-weight: 600; }
.ika-cts__top span { padding: 5px 9px; border-radius: 8px; background: #111; font-size: 11px; font-weight: 600; color: #fff; }
.ika-cts__row { display: flex; align-items: center; gap: 9px; padding: 7px 2px; border-top: 1px solid #f0f0f2; }
html body.ik:not(#_) .ika-cts__row img { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ika-cts__row span { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 1.3; }
.ika-cts__row b { font-weight: 600; }
.ika-cts__row i { font-style: normal; color: #737373; }

/* ---------- 4. Cost: four plan tiles, Growth on lime, then the notes and links ---------- */
html body.ik:not(#_) .ika-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
html body.ik:not(#_) .ika-plan { display: flex; flex-direction: column; padding: 22px 24px 24px; border-radius: 28px; background: #fff; color: var(--cf-text); }
html body.ik:not(#_) .ika-plan.is-on { background: var(--cf-lime); }
.ika-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.ika-plan__name { font-size: 15px; font-weight: 600; }
.ika-plan__badge { padding: 4px 10px; border-radius: 999px; background: var(--cf-ink); font-size: 12px; font-weight: 600; color: var(--cf-lime); white-space: nowrap; }
html body.ik:not(#_) p.ika-plan__price { margin-top: 10px; }
.ika-plan__price b { font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.ika-plan__price small { font-size: 14px; color: var(--cf-text-2); }
.ika-plan.is-on .ika-plan__price small { color: var(--cf-text); }
.ika-plan__ws { display: flex; align-items: center; gap: 4px; min-height: 22px; margin-top: 18px; }
.ika-plan__more { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--cf-mist); font-size: 14px; font-weight: 600; }
html body.ik:not(#_) p.ika-plan__acc { margin-top: 12px; font-size: 16px; font-weight: 500; }
html body.ik:not(#_) .ika-plan__dms { margin-top: 2px; font-size: 14px; color: var(--cf-text-2); }
html body.ik:not(#_):not(#_) [role="main"] a.ika-plan__dms { font-weight: 600; color: var(--cf-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body.ik:not(#_) .ika-cost__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; margin-top: 16px; padding: 20px 24px; border-radius: 28px; background: #fff; color: var(--cf-text); }
html body.ik:not(#_) .ika-cost__foot ul { display: flex; flex-direction: column; gap: 6px; }
html body.ik:not(#_) .ika-cost__foot li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; color: var(--cf-text-2); }
.ika-cost__foot li > i, .ika-list li > i { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--cf-lime); font-style: normal; color: var(--cf-ink); }
html body.ik:not(#_) p.ika-cost__links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; color: var(--cf-text-2); text-align: right; }
html body.ik:not(#_):not(#_) [role="main"] p.ika-cost__links a { font-weight: 600; color: var(--cf-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
html body.ik:not(#_):not(#_) [role="main"] p.ika-cost__links > a { font-size: 16px; }

/* ---------- 5. Setup: three app screens on white step cards over the ink band ---------- */
html body.ik.ika:not(#_) .ika-steps .ik-art { height: 230px; padding: 18px; }
html body.ik:not(#_) .ika-steps h3.ik-h3 { color: var(--cf-text); }
html body.ik:not(#_) .ika-steps p.ik-p { color: var(--cf-text-2); }
.ika-new { display: flex; flex-direction: column; }
html body.ik:not(#_) p.ika-new__t { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
html body.ik:not(#_) .ika-new .ik-ui__field, html body.ik:not(#_) .ika-conn .ik-ui__field { margin-bottom: 10px; padding: 7px 10px; font-size: 13px; }
.ika-new__dots { display: flex; gap: 6px; margin-bottom: 12px; }
.ika-new__dots i { width: 20px; height: 20px; border-radius: 50%; }
.ika-new__dots i.is-on { outline: 2px solid #111; outline-offset: 2px; }
.ika-new__btn { padding: 8px; border-radius: 8px; background: var(--cf-lime); font-size: 13px; font-weight: 600; text-align: center; }
.ika-conn .ik-ui--acct { padding-top: 10px; border-top: 1px solid #efeff0; }
html body.ik:not(#_) p.ika-test { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--cf-on-ink-2); }
.ika-test b { font-weight: 600; color: var(--cf-on-ink); }

/* ---------- 6. Fit: two white lists ---------- */
html body.ik:not(#_) .ika-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
html body.ik:not(#_) .ika-list { display: flex; flex-direction: column; padding: 22px 24px 24px; border-radius: 28px; background: #fff; color: var(--cf-text); }
html body.ik:not(#_) p.ika-list__t { margin-bottom: 6px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
html body.ik:not(#_) .ika-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--cf-text-2); }
.ika-list li b { font-weight: 600; color: var(--cf-text); }
.ika-list li > i.is-x { background: var(--cf-mist); font-size: 10px; font-weight: 700; color: #8a8a92; }
html body.ik:not(#_):not(#_) [role="main"] a.ika-list__link { align-self: flex-start; margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 600; color: var(--cf-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- 7. Proof: only the rating line under the quotes ---------- */
html body.ik:not(#_) .ika-tp { padding: 16px 24px; }
html body.ik:not(#_) .ika-tp .ik-tp__top a { padding: 8px 0; }

/* ---------- 8. FAQ: related pages as one inline line under the heading ---------- */
/* pricing-redesign-2026-07.css paints #faq white with !important; the sheet stays mist like every other sheet. */
html body.ik.ika:not(#_) section#faq.ik-sheet { background: var(--cf-mist) !important; }
html body.ik:not(#_) p.ika-more { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 24px; font-size: 15px; color: var(--cf-text-2); }
.ika-more span { width: 100%; font-weight: 600; color: var(--cf-text); }
html body.ik:not(#_):not(#_) [role="main"] p.ika-more a { color: var(--cf-text-2); }
html body.ik:not(#_):not(#_) [role="main"] p.ika-more a:hover { color: var(--cf-text); }

/* ---------- Close: the client's name on the results card ---------- */
.ika-res__ws { display: flex; align-items: center; gap: 8px; }

/* ---------- Tablets ---------- */
@media (max-width: 1099px) {
  .ika-ws { right: auto; left: calc(50% - 260px); }
  html body.ik:not(#_) .ika-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.ik:not(#_) .ika-cost__foot { grid-template-columns: minmax(0, 1fr); }
  html body.ik:not(#_) p.ika-cost__links { align-items: flex-start; text-align: left; }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  /* The phone shows only its top half (INK-SYSTEM.md), where the list would cover the DM. The next section shows the workspaces. */
  .ika-ws { display: none; }
  html body.ik.ika:not(#_) .ika-cards .ik-art { height: 210px; }
  html body.ik.ika:not(#_) .ika-cards .ik-ucard__pic { width: 42%; }
  html body.ik.ika:not(#_) .ika-cards .ik-ucard__dm { width: 56%; right: 8px; }
  html body.ik.ika:not(#_) .ika-bento .ik-art { height: auto; min-height: 200px; padding: 14px 12px; }
  .ika-dash { padding: 10px; gap: 8px; }
  .ika-dash__stats b { font-size: 16px; }
  .ika-dash__stats i { font-size: 10px; }
  .ika-dash__table th:first-child { white-space: nowrap; }
  html body.ik:not(#_):not(#_) .ika-fit.ik-scroll { display: flex; }
  /* All four plans on one screen, two by two, so Growth is seen without a swipe. */
  html body.ik:not(#_):not(#_) .ika-plans.ik-scroll { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-right: 0; padding-right: 0; overflow: visible; }
  html body.ik:not(#_) .ika-plans.ik-scroll > * { flex: none; }
  html body.ik:not(#_) .ika-plan { padding: 16px; border-radius: 22px; }
  .ika-plan__top { flex-wrap: wrap; gap: 6px; }
  .ika-plan__badge { order: 3; padding: 3px 8px; font-size: 11px; }
  html body.ik:not(#_) p.ika-plan__price { margin-top: 8px; }
  .ika-plan__price b { font-size: 30px; }
  .ika-plan__price small { display: block; margin-top: 2px; font-size: 13px; }
  .ika-plan__ws { margin-top: 12px; gap: 3px; }
  .ika-plan__ws .ika-wsico, .ika-plan__more { --s: 18px !important; width: 18px; height: 18px; font-size: 9px; }
  html body.ik:not(#_) p.ika-plan__acc { margin-top: 10px; font-size: 14px; }
  html body.ik:not(#_) .ika-plan__dms { font-size: 13px; line-height: 1.35; }
  html body.ik:not(#_) .ika-cost__foot { padding: 20px; }
  html body.ik.ika:not(#_) .ika-steps .ik-art { height: 220px; padding: 14px; }
  html body.ik:not(#_) .ika-list { padding: 20px; }
  html body.ik:not(#_) p.ika-test { font-size: 14px; }
}

/* Translated column heads ("Kliknięcia") filled their narrow columns and touched the next one; a small gap keeps them apart (2026-11-07). */
html:not([lang^="en"]) .ika-dash__table :is(th, td):not(:first-child) { padding-left: 6px; }
