/* Paid listings (mediakit.uk/listings, 2026-11-17). Builds on home.css (.mk tokens) and directory.css (.dir-* blocks). */

.ls-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ls-type { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.ls-type:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(23,19,15,.08); }
.ls-type-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--accent); }
.ls-type h2 { font-size: 1.3rem; }
.ls-type p { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.55; }
.ls-type-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--line); }
.ls-type-foot b { color: var(--ink); }
.ls-type-foot .go { color: var(--accent); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.ls-type-foot .go svg { width: 15px; height: 15px; }

.ls-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.ls-steps li { counter-increment: s; position: relative; padding: 20px 20px 20px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; }
.ls-steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 .9rem var(--f-sans); }
.ls-steps span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

.ls-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.ls-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ls-main .dir-panel + .dir-panel { margin-top: 0; }
.ls-sum { position: sticky; top: 96px; }
.ls-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.ls-sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; }
.ls-sum-total b { font: 700 1.7rem/1 var(--f-display); }
.ls-assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: var(--ink-2); }
.ls-assure li { display: flex; gap: 8px; align-items: center; }
.ls-assure svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

.ls-tiers { display: grid; gap: 10px; }
/* labels: text and the required star on one line, the field under them */
.ls-main .dir-form > label, .ls-main .dir-form .row2 > label { display: block; }
.ls-main .dir-form > label > input, .ls-main .dir-form > label > select, .ls-main .dir-form > label > textarea,
.ls-main .dir-form .row2 > label > input, .ls-main .dir-form .row2 > label > select { display: block; margin-top: 5px; }
.ls-main .dir-form label > small.ls-err { display: block; margin-top: 4px; }
.ls-req { color: var(--accent); }
.ls-err { color: #b42318; font-weight: 600; font-size: .8rem; }
.ls-check { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.ls-check input { width: auto !important; }

.ls-pick-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.ls-pick-h h2 { margin: 0 !important; }
.ls-pick-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ls-pick-tools input { padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 8px; font: 400 .9rem var(--f-sans); min-width: 220px; }
.ls-mini { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 600 .82rem var(--f-sans); color: var(--ink); cursor: pointer; text-decoration: none; }
.ls-mini:hover { border-color: var(--ink); }
.ls-mini svg { width: 15px; height: 15px; }

.ls-sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; max-height: 560px; overflow: auto; padding: 2px; }
.ls-site { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.ls-site:hover { border-color: var(--line-2); }
.ls-site:has(input:checked) { border-color: var(--ink); background: #fffdf8; box-shadow: inset 3px 0 0 var(--accent); }
.ls-site input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.ls-site-n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ls-site-n b { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ls-site-n small, .ls-site-p small { color: var(--ink-3); font-size: .76rem; }
.ls-site-p { text-align: right; font: 600 .9rem var(--f-sans); display: flex; flex-direction: column; white-space: nowrap; }

.ls-chosen { display: flex; flex-wrap: wrap; gap: 6px; }
.ls-chosen span { padding: 6px 10px; border-radius: 99px; background: var(--paper-2); font-size: .82rem; color: var(--ink-2); }
.ls-chosen b { color: var(--ink); margin-left: 4px; }
.ls-warn { display: flex; gap: 10px; margin-top: 14px; padding: 13px 14px; border-radius: 10px; background: #fdf3e2; border: 1px solid #f1d39a; color: #6b4200; font-size: .9rem; line-height: 1.5; }
.ls-warn svg { flex: none; }

.dir-cta { grid-template-columns: minmax(0, 1fr) auto; }

@media (max-width: 980px) {
    .ls-layout { grid-template-columns: minmax(0, 1fr); }
    .ls-sum { position: static; }
}
@media (max-width: 720px) {
    .dir-claim[style*="grid"] { grid-template-columns: minmax(0, 1fr) !important; }
    .ls-pick-tools input { min-width: 0; flex: 1; }
}
