:root { --bg:#f6f7f9; --card:#fff; --text:#1c1f26; --muted:#667085; --accent:#fc3f1d; --line:#e4e7ec; --err:#b42318; --ok:#067647; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.5 system-ui, "Segoe UI", Roboto, sans-serif; }
main { max-width:720px; margin:0 auto; padding:24px 16px 64px; }
h1 { margin:0 0 4px; font-size:28px; }
h2 { margin:0 0 12px; font-size:20px; }
.lead { color:var(--muted); margin:0 0 20px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; margin-bottom:16px; }
label { display:block; margin:14px 0 4px; font-weight:600; }
.check { font-weight:400; display:flex; gap:8px; align-items:flex-start; margin-top:0; }
.hint { color:var(--muted); font-weight:400; font-size:14px; }
input[type=text], input[type=password] { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font:inherit; }
button { margin-top:18px; padding:11px 20px; border:0; border-radius:8px; background:var(--accent); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
button:disabled { opacity:.6; cursor:default; }
.status { min-height:1.5em; margin:12px 0 0; }
.status.err { color:var(--err); }
.status.ok { color:var(--ok); }
.top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:4px; }
.user { display:flex; gap:12px; align-items:center; font-size:14px; color:var(--muted); }
button.link { margin:0; padding:0; background:none; color:var(--accent); font-weight:600; }
.tabs { display:flex; gap:8px; margin-bottom:8px; }
.tab { margin:0; padding:8px 14px; background:var(--bg); color:var(--text); }
.tab.active { background:var(--accent); color:#fff; }
.list { list-style:none; margin:0; padding:0; }
.list li { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:10px 0; border-bottom:1px solid var(--line); }
.list li:last-child { border-bottom:0; }
button.small { margin:0 6px 0 0; padding:7px 12px; font-size:14px; }
button.secondary { background:var(--bg); color:var(--text); border:1px solid var(--line); }
input[type=email] { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font:inherit; }
h3 { margin:22px 0 4px; font-size:16px; }
textarea, select, input[type=number] { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:8px; font:inherit; background:#fff; color:var(--text); }
textarea { resize:vertical; }
input[type=file] { max-width:100%; }
.main-tabs { margin-bottom:12px; }
.row { display:flex; gap:24px; flex-wrap:wrap; }
.color { display:flex; align-items:center; gap:10px; }
input[type=color] { width:56px; height:38px; padding:2px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.chip { margin:0; padding:8px 14px; background:var(--bg); color:var(--text); border:1px solid var(--line); }
.chip.active { background:var(--accent); color:#fff; border-color:var(--accent); }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(120px, 1fr)); gap:10px; margin-bottom:10px; }
.thumb { position:relative; border:1px solid var(--line); border-radius:8px; overflow:hidden; background:var(--bg); font-size:13px; }
.thumb img, .thumb video { display:block; width:100%; height:100px; object-fit:cover; }
.thumb .cap { padding:4px 8px; color:var(--muted); }
.thumb button { position:absolute; top:4px; right:4px; margin:0; padding:2px 8px; font-size:13px; background:rgba(0,0,0,.65); }
.logo-box { margin-bottom:8px; }
.logo-box img { max-width:160px; max-height:100px; border:1px solid var(--line); border-radius:8px; padding:6px; background:#fff; }
.upload-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.upload-row select { width:auto; }
#business-delete { margin-left:8px; }
.notice { background:#fff6e5; border:1px solid #f1d9a5; border-radius:8px; padding:10px 12px; margin:0 0 12px; }
.actions { display:flex; flex-wrap:wrap; gap:6px; }
.actions button { margin:0; }
.tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(130px, 1fr)); gap:10px; margin:14px 0; }
.tile { border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:var(--bg); }
.tile .num { font-size:20px; font-weight:700; }
.tile .lbl { font-size:13px; color:var(--muted); }
.bar { height:10px; background:var(--line); border-radius:6px; overflow:hidden; margin-bottom:14px; }
.bar .fill { height:100%; background:var(--ok); width:0; }
.bar .fill.warn { background:#d97706; }
.bar .fill.full { background:var(--err); }
.badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:13px; white-space:nowrap; background:var(--line); }
.badge.good { background:#dcfce7; color:#14532d; }
.badge.bad { background:#fee2e2; color:#7f1d1d; }
.badge.borderline { background:#fef3c7; color:#78350f; }
.badge.paused { background:#e5e7eb; color:#374151; }
td .sub { display:block; font-size:12px; color:var(--muted); }
tr.off td { color:var(--muted); }
.history li { align-items:flex-start; }
.history .when { font-size:13px; color:var(--muted); }
.history .text { margin:2px 0; }
.history .what { font-weight:600; }
.or { text-align:center; margin:16px 0 8px; }
.btn-yandex { display:block; text-align:center; padding:11px 20px; border-radius:8px; background:#000; color:#fff; font-weight:600; text-decoration:none; }
.btn-yandex:hover { background:#222; }
.radio { display:flex; gap:10px; align-items:flex-start; font-weight:400; padding:10px 12px; border:1px solid var(--line); border-radius:10px; margin:8px 0; cursor:pointer; }
.radio input { margin-top:5px; }
.stopbar { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:0 0 12px; }
.stopbar .hint { flex:1 1 200px; }
.stopbar button { margin:0; }
button.danger { background:#fff; color:var(--err); border:1px solid var(--err); }
.checklist { margin:0 0 14px; }
.checklist .step { display:flex; gap:10px; align-items:flex-start; padding:8px 0; border-bottom:1px solid var(--line); }
.checklist .step:last-child { border-bottom:0; }
.checklist .mark { flex:0 0 22px; height:22px; border-radius:50%; border:2px solid var(--line); text-align:center; line-height:18px; font-size:14px; }
.checklist .done .mark { background:var(--ok); border-color:var(--ok); color:#fff; }
.checklist .next .mark { border-color:var(--accent); }
.checklist .soon .mark { border-style:dashed; }
.checklist .title { font-weight:600; }
.checklist .done .title { font-weight:400; color:var(--muted); }
.checklist a { color:var(--accent); font-weight:600; cursor:pointer; }
.proposals { background:#eef4ff; border-color:#c7d7f5; }
.proposals a { color:var(--accent); font-weight:600; cursor:pointer; }
.pill { display:inline-block; padding:2px 8px; border-radius:10px; font-size:12px; background:#eef4ff; color:#1d4ed8; margin-left:6px; }
.history .btns { display:flex; gap:6px; flex-wrap:wrap; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th, td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); }
th { color:var(--muted); font-size:14px; font-weight:600; }
