/* Страница партнёров и кабинет партнёра */
body.pt { margin: 0; background: #F5F6F8; color: var(--ink); font-family: var(--font); }
.pt-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.pt-top { background: #fff; border-bottom: 1px solid var(--line); }
.pt-top .pt-wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.pt-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.pt-logo img { border-radius: 8px; }
.pt-tag { padding: 3px 10px; border-radius: 999px; background: #FFF3C4; font-size: .85rem; font-weight: 600; }
.pt-sp { flex: 1; }
.pt-hero { padding: 48px 0 28px; }
.pt-hero h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; max-width: 760px; }
.pt-lead { margin: 0 0 28px; max-width: 680px; font-size: 1.12rem; line-height: 1.55; color: #4A4F57; }
.pt-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pt-mode { padding: 26px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-mode.hot { box-shadow: inset 0 0 0 2px var(--accent); }
.pt-mode h2 { margin: 0 0 8px; font-size: 1.25rem; }
.pt-mode p { margin: 0 0 12px; line-height: 1.5; color: #4A4F57; }
.pt-mode ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.45; color: #4A4F57; }
.pt-pct { margin: 0 0 6px !important; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--ink) !important; }
.pt-note { margin: 18px 0 0; color: var(--muted); }
.pt-sec { padding: 12px 0 56px; }
.pt-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: start; }
.pt-two > div { display: grid; gap: 18px; }
.pt-card { padding: 24px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-card h2 { margin: 0 0 14px; font-size: 1.2rem; }
.pt-card h3 { margin: 18px 0 8px; font-size: 1rem; }
.pt-card label:not(.check):not(.pt-radio) { display: block; margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.pt-card label input:not([type=checkbox]):not([type=radio]) { display: block; width: 100%; margin-top: 4px; }
.pt-card .check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: .95rem; }
.pt-card .btn.primary { margin-top: 6px; }
.pt-l { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }
.pt-radio { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin: 0 0 8px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.pt-radio:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: #FFFBEA; }
.pt-radio input { margin-top: 3px; }
.pt-radio b { display: block; } .pt-radio small { color: var(--muted); }
.pt-seg { display: inline-flex; margin: 0 0 12px; border-radius: 12px; background: #F0F1F3; padding: 3px; }
.pt-seg label { margin: 0 !important; }
.pt-seg input { position: absolute; opacity: 0; }
.pt-seg span { display: block; padding: 7px 18px; border-radius: 10px; cursor: pointer; color: var(--ink); font-size: .95rem; }
.pt-seg input:checked + span { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.pt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.pt-small { font-size: .88rem; }
.pt-how ol { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.45; }
.pt-foot { padding: 22px 0 36px; color: var(--muted); font-size: .9rem; }
.pt-foot a { color: var(--muted); }
/* кабинет */
#ptApp { padding: 28px 0 40px; }
.pt-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pt-head h1 { margin: 0 0 4px; font-size: 1.6rem; } .pt-head p { margin: 0; }
.pt-bal { padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); text-align: right; }
.pt-bal small, .pt-nums small, .pt-client small { display: block; font-size: .8rem; color: var(--muted); }
.pt-bal b { font-size: 1.4rem; }
.pt-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; padding: 4px; border-radius: 14px; background: #E9EBEE; width: fit-content; max-width: 100%; }
.pt-tabs a { padding: 8px 16px; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 500; }
.pt-tabs a.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); font-weight: 600; }
.pt-tools { margin: 0 0 14px; }
#ptNewBox .pt-card { margin-bottom: 16px; max-width: 640px; }
.pt-sub { display: flex; align-items: center; gap: 6px; } .pt-sub input { flex: 1; } .pt-sub i { font-style: normal; color: var(--ink); white-space: nowrap; }
.pt-done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; } .pt-done dt { color: var(--muted); } .pt-done dd { margin: 0; font-weight: 600; word-break: break-all; }
.pt-list { display: grid; gap: 10px; }
.pt-client { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-client.off { opacity: .6; }
.pt-client > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pt-client .a b { font-size: 1.05rem; } .pt-client a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-client .muted, .pt-client i { font-size: .86rem; font-style: normal; }
.pt-st { align-self: flex-start; padding: 2px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #EEF0F2; }
.pt-st.paid { background: #DDF3E2; color: #1F6B33; } .pt-st.trial { background: #FFF3C4; color: #6B5300; }
.pt-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 16px; }
.pt-nums > div { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-nums > div.hot { box-shadow: inset 0 0 0 2px var(--accent); }
.pt-nums b { font-size: 1.3rem; }
.pt-inline { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; } .pt-inline label { margin: 0 !important; } .pt-inline .btn { margin: 0 !important; }
.pt-h { margin: 26px 0 10px; font-size: 1.15rem; }
.pt-table { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pt-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pt-table th, .pt-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.pt-table th { font-size: .8rem; font-weight: 500; color: var(--muted); } .pt-table tr:last-child td { border-bottom: 0; }
.pt-copy { display: flex; gap: 10px; margin-bottom: 12px; } .pt-copy input { flex: 1; min-width: 0; }
.pt-empty p { margin: 0 0 6px; }
.pt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 10px 18px; border-radius: 12px; background: #25282D; color: #fff; z-index: 50; }
/* оферта */
.pt-doc { max-width: 820px; padding-top: 36px; padding-bottom: 40px; line-height: 1.6; }
.pt-doc h1 { margin: 0 0 4px; font-size: 1.9rem; } .pt-doc h2 { margin: 28px 0 8px; font-size: 1.2rem; }
.pt-doc p { margin: 0 0 10px; } .pt-doc ul { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 6px; }
@media (max-width: 860px) {
  .pt-modes, .pt-two { grid-template-columns: 1fr; }
  .pt-client { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .pt-client { grid-template-columns: 1fr; } .pt-copy { flex-direction: column; } .pt-hero { padding-top: 30px; } }
.pt-radio input, .pt-card .check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; }
.pt-radio span { flex: 1; min-width: 0; }
