/* maketag.app/promo/ «Реклама MakeTag со своей ссылкой» — on top of customtag.css (the /pr/ look): the compact panel at the top
   (sign in / the invite / your link, its numbers, what a visitor sees), the comparison + calculator, numbered steps, the ready
   ad text, the questions. */
.pm-main { max-width: 900px; }
.pm-head { margin-bottom: 26px; }
.pm-head h1 { max-width: 800px; }
.pm-head .ct-lead { margin-top: 16px; }

/* ── the panel ── */
.ct-main > .pm-panel { text-align: left; padding: 22px 24px; margin: 0 0 40px; }
.ct-mode[hidden] { display: none !important; }      /* the admin's pencil in the top row (#pmModeTop) */
.pm-k { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft, #a3a3ad); }
.pm-sub { margin: -4px 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft, #a3a3ad); max-width: 620px; }
.pm-skel { height: 120px; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); background-size: 200% 100%; animation: pm-skel 1.4s linear infinite; }
@keyframes pm-skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pm-skel { animation: none; } }
.pm-login { display: flex; align-items: center; justify-content: space-between; gap: 14px 22px; flex-wrap: wrap; }
.pm-login p { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.55; color: var(--ink-soft, #a3a3ad); }
.pm-login .btn { display: inline-flex; align-items: center; gap: 10px; }

.pm-lbl { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft, #a3a3ad); }
.pm-in { height: 46px; box-sizing: border-box; padding: 0 16px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); border-radius: 12px; background: rgba(0, 0, 0, .35); color: #f2f2f4; font: inherit; font-size: 16px; outline: 0; }
.pm-inv-row { display: flex; gap: 10px; }
.pm-inv { flex: 1; min-width: 0; }
.pm-go { flex: none; }
.pm-go:disabled { opacity: .45; cursor: default; }
.pm-inv-state { min-height: 22px; margin: 10px 0 0; }
.pm-inv-h { font-size: 13px; color: rgba(255, 255, 255, .45); }
.pm-wait { color: var(--ink-soft, #a3a3ad); }
.pm-inv-bad, .pm-err { font-size: 13.5px; color: #f87171; }
.pm-err { margin: 10px 0 0; }
.pm-x { margin: 10px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--ink-soft, #a3a3ad); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pm-x:hover { color: #f2f2f4; }

/* a server: icon (or its letter), name, a line under it */
.pm-srv { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pm-srv > div { min-width: 0; }
.pm-srv > div > b { display: block; font-size: 15.5px; font-weight: 600; color: #f2f2f4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-srv > div > span { display: block; font-size: 13px; color: var(--ink-soft, #a3a3ad); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-srv-ic, .pm-pv-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: rgba(255, 255, 255, .08); color: #f2f2f4; font-weight: 600; }
.pm-srv-ic img, .pm-pv-ic img { width: 100%; height: 100%; object-fit: cover; }
.pm-tick { font-style: normal; color: #7ee2a8; font-weight: 700; margin-left: 4px; }

.pm-top { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.pm-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; line-height: 1.35; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); color: var(--ink-soft, #a3a3ad); }
.pm-pill::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
.pm-pill.ok { color: #7ee2a8; border-color: rgba(126, 226, 168, .35); }
.pm-pill.wait { color: #fbbf24; border-color: rgba(251, 191, 36, .35); }
.pm-pill.bad { color: #f87171; border-color: rgba(248, 113, 113, .4); }
.pm-why { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft, #a3a3ad); }

.pm-link { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 8px 8px 8px 16px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); border-radius: 14px; background: rgba(0, 0, 0, .35); }
.pm-link-ic { flex: none; color: var(--ink-soft, #a3a3ad); display: flex; }
.pm-link code { background: none; padding: 0; border-radius: 0; flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 17px; color: #f2f2f4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-link .btn { flex: none; }

.pm-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 0; border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-fig { padding: 14px 10px 14px 0; min-width: 0; }
.pm-fig + .pm-fig { padding-left: 14px; border-left: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-fig b { display: block; font-size: 32px; font-weight: 300; letter-spacing: -.02em; line-height: 1.05; color: #f2f2f4; font-variant-numeric: tabular-nums; }
.pm-fig span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft, #a3a3ad); }
.pm-fig i { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .42); }
.pm-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.pm-acts .btn { padding: 9px 16px; font-size: 13.5px; }
.pm-form { margin-top: 16px; }
.pm-top + .pm-form, .pm-sub + .pm-form { margin-top: 0; }

/* what a visitor sees at the last step */
.pm-pv { margin: 18px 0 0; }
.pm-pv-k { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft, #a3a3ad); }
.pm-pv-box { padding: 12px 14px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 14px; }
.pm-pv-t { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #f2f2f4; }
.pm-pv-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; min-width: 0; }
.pm-pv-row + .pm-pv-row { border-top: 1px solid var(--line, rgba(255, 255, 255, .08)); }
.pm-pv-row b { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: #f2f2f4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-pv-ic { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.pm-pv-blank { background: rgba(255, 255, 255, .05); }
.pm-pv-other { color: rgba(255, 255, 255, .38) !important; font-weight: 400 !important; }
.pm-pv-you { flex: none; padding: 3px 10px; border-radius: 999px; background: #f2f2f4; color: #0a0a0c; font-size: 11.5px; font-weight: 600; }

/* ── the sections ── */
.pm-sec h2 { max-width: 720px; }
.pm-p { margin: 0 0 20px; max-width: 700px; font-size: 16px; line-height: 1.65; color: var(--ink-soft, #a3a3ad); }
.pm-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pm-col { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line, rgba(255, 255, 255, .1)); border-radius: 18px; min-width: 0; }
.pm-col-b { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .03); }
.pm-col-k { font-size: 13px; font-weight: 600; color: var(--ink-soft, #a3a3ad); }
.pm-msg { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: #1e1f22; flex: 1; }
.pm-msg-av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, #4b5563, #374151); overflow: hidden; }
.pm-msg-mt { background: none; }
.pm-msg-mt img { display: block; width: 34px; height: 34px; }
.pm-msg-b { min-width: 0; }
.pm-msg-b b { display: block; font-size: 14px; font-weight: 600; color: #f2f3f5; }
.pm-msg-b span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: #dbdee1; overflow-wrap: anywhere; }
.pm-col-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); padding-top: 12px; }
.pm-col-row span { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft, #a3a3ad); }
.pm-col-row b { flex: none; font-size: 34px; font-weight: 300; letter-spacing: -.02em; color: #f2f2f4; font-variant-numeric: tabular-nums; }

.pm-calc { margin: 14px 0 0; }
.pm-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pm-row .pm-in { width: 150px; font-variant-numeric: tabular-nums; }
.pm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-chip { height: 34px; padding: 0 14px; border: 1px solid var(--line-2, rgba(255, 255, 255, .17)); border-radius: 999px; background: transparent; color: var(--ink-soft, #a3a3ad); font: inherit; font-size: 13.5px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.pm-chip:hover { color: #f2f2f4; border-color: rgba(255, 255, 255, .45); }
.pm-chip.on { background: #f2f2f4; border-color: #f2f2f4; color: #0a0a0c; }
.pm-bars { margin: 22px 0 0; display: grid; gap: 14px; }
.pm-bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; }
.pm-bar-k { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-soft, #a3a3ad); }
.pm-bar-t { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pm-bar-t i { display: block; height: 100%; border-radius: inherit; background: rgba(255, 255, 255, .3); transition: width .35s ease; }
.pm-bar.b .pm-bar-t i { background: #f2f2f4; }
.pm-bar b { font-size: 22px; font-weight: 300; color: #f2f2f4; font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.pm-x-big { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-x-big b { font-size: 48px; font-weight: 300; letter-spacing: -.03em; line-height: 1; color: #f2f2f4; }
.pm-x-big span { font-size: 15px; color: var(--ink-soft, #a3a3ad); }
.pm-note { margin: 18px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .45); }
@media (prefers-reduced-motion: reduce) { .pm-bar-t i { transition: none; } }

.pm-steps, .pm-faq { border-top: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-step { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-n { flex: none; width: 48px; font-size: 28px; font-weight: 300; line-height: 1.05; color: rgba(255, 255, 255, .42); font-variant-numeric: tabular-nums; }
.pm-step b { display: block; font-size: 18px; font-weight: 600; color: #f2f2f4; letter-spacing: -.01em; }
.pm-step span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-soft, #a3a3ad); }

.pm-adtext { padding: 20px; }
.pm-ad-body { padding: 14px 16px; border-radius: 12px; background: #1e1f22; color: #dbdee1; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.pm-ad-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 14px 0 0; }
.pm-ad-hint { font-size: 13px; color: rgba(255, 255, 255, .45); }
.pm-ad-copy { margin-left: auto; }

.pm-qa { padding: 20px 0; border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1)); }
.pm-qa b { display: block; font-size: 17px; font-weight: 600; color: #f2f2f4; }
.pm-qa span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-soft, #a3a3ad); max-width: 720px; }

/* the admin's editor */
.pm-hint { margin: 0 0 18px; padding: 12px 16px; border: 1px dashed rgba(255, 255, 255, .3); border-radius: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft, #a3a3ad); }

@media (max-width: 760px) {
  .pm-cmp { grid-template-columns: 1fr; }
  .pm-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-fig, .pm-fig + .pm-fig { padding: 12px 10px 12px 0; border-left: 0; }
  .pm-fig:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line, rgba(255, 255, 255, .1)); }
  .pm-fig:nth-child(-n + 2) { border-bottom: 1px solid var(--line, rgba(255, 255, 255, .1)); }
}
@media (max-width: 640px) {
  .ct-main > .pm-panel { padding: 18px 16px; margin-bottom: 30px; }
  .pm-login { flex-direction: column; align-items: stretch; }
  .pm-login .btn { justify-content: center; min-height: 50px; }
  .pm-inv-row { flex-direction: column; }
  .pm-go { width: 100%; justify-content: center; min-height: 48px; }
  .pm-link { flex-wrap: wrap; padding: 12px; }
  .pm-link code { font-size: 15.5px; flex-basis: calc(100% - 30px); }
  .pm-link .btn { width: 100%; justify-content: center; }
  .pm-fig b { font-size: 28px; }
  .pm-acts .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .pm-step { gap: 14px; }
  .pm-n { width: 34px; font-size: 22px; }
  .pm-step b { font-size: 16.5px; }
  .pm-row .pm-in { width: 100%; }
  .pm-x-big b { font-size: 40px; }
  .pm-ad-copy { width: 100%; justify-content: center; margin-left: 0; }
}
