/* top1search — интерфейс в стиле Топвизора */
:root {
    --bg: #e4ebef;
    --panel: #ffffff;
    --panel-2: #f3f6f7;
    --line: #d5dde1;
    --line-2: #bdc3c7;
    --text: #34495e;
    --muted: #8a979e;
    --primary: #1bab8a;
    --primary-d: #15916f;
    --blue: #2f8fd8;
    --danger: #e0533f;
    --up: #1e9e5a;
    --down: #e0533f;
    --tab: #a7b3b9;
    --tab-active: #6f7d84;
    --radius: 4px;
    --shadow: 0 1px 3px rgba(52, 73, 94, .12);
    --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.4 var(--font); min-height: 100vh; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; font-weight: 600; margin: 0; }
h2 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.ico { display: inline-flex; align-items: center; vertical-align: middle; }
.ico svg { display: block; }
[hidden] { display: none !important; }

/* ---------- шапка ---------- */
.topbar {
    display: flex; align-items: center; gap: 24px; height: 48px; padding: 0 16px;
    background: #2c3e50; color: #dfe6e9; position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
    background: var(--primary); color: #fff; font-size: 15px;
}
.topnav { display: flex; gap: 4px; }
.topnav a { color: #c8d3d8; padding: 6px 12px; border-radius: var(--radius); }
.topnav a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.topnav a.active { background: rgba(255,255,255,.14); color: #fff; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.topbar .balance b { color: #fff; }
.user-email { color: #aab7bd; }
.guest-badge { background: rgba(255,255,255,.12); padding: 3px 10px; border-radius: 10px; }

main#app { padding: 14px 16px 40px; max-width: 100%; }

/* ---------- кнопки и формы ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 32px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius);
    background: #fff; color: var(--text); font: inherit; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: #9aa6ab; text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #dfe6e9; }
.btn-sm { height: 26px; padding: 0 10px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 32px; padding: 0; }
.btn-green-sq {
    display: inline-grid; place-items: center; cursor: pointer;
    width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--radius);
    background: var(--primary); color: #fff;
}
.btn-green-sq:hover { background: var(--primary-d); }
.link-btn { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0; font: inherit; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--danger); }

input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=url], select, textarea {
    height: 32px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--radius);
    background: #fff; color: var(--text); font: inherit; max-width: 100%;
}
textarea { height: auto; padding: 8px 9px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(27,171,138,.35); outline-offset: 0; border-color: var(--primary); }
label { display: block; }
.form-row { margin-bottom: 12px; }
.form-row > label, .form-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.form-row input:not([type=checkbox]), .form-row select, .form-row textarea { width: 100%; }
.form-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.panel { background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-pad { padding: 16px; }

/* ---------- таблицы общего вида ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { background: var(--panel-2); font-weight: 600; font-size: 13px; color: #5d6d74; }
.tbl tr:hover td { background: #fafcfc; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }

/* ---------- страница динамики ---------- */
.dyn-toolbar {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    background: #fff; padding: 8px 10px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.sel-wrap {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff;
}
.sel-wrap select { border: 0; height: 30px; padding: 0 2px; outline: none; background: transparent; min-width: 0; cursor: pointer; }
.sel-wrap .ico { color: #6a7b83; }
.sel-wrap.sel-region .ico:first-child { color: var(--blue); }
.sel-period { cursor: pointer; user-select: none; }
.dyn-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.dyn-title a.site { font-size: 14px; }
.tb-spacer { flex: 1; }
.check-box { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #f39c12; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.progress { width: 160px; height: 8px; background: #e3e9ec; border-radius: 4px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); transition: width .4s; }

.site-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 8px 0; }
.site-tab {
    height: 30px; padding: 0 16px; border: 0; border-radius: var(--radius); background: var(--tab); color: #fff;
    font: inherit; font-size: 13px; cursor: pointer; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.site-tab:hover { background: #95a3aa; }
.site-tab.active { background: var(--tab-active); }
.site-tab.add { padding: 0 10px; background: #c5ced2; }

/* графики */
.charts { overflow: hidden; }
.chart-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #eef2f3; }
.chart-tab {
    height: 46px; border: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer;
    border-bottom: 2px solid transparent;
}
.chart-tab:hover { background: #e6ecee; }
.chart-tab.active { background: #fff; font-weight: 600; border-bottom-color: var(--primary); }
.charts-body { display: grid; grid-template-columns: 280px 1fr; min-height: 300px; }
.chart-side { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; align-items: center; }
.chart-side h3 { font-size: 16px; margin: 4px 0 0; font-weight: 600; }
.chart-side .side-canvas { width: 100%; height: 250px; }
.chart-main { padding: 6px 8px 0; min-width: 0; }
.chart-main .main-canvas { width: 100%; height: 280px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 12px 292px; }
.legend-chip {
    height: 26px; padding: 0 12px; border: 0; border-radius: 3px; color: #fff; font: inherit; font-size: 12px;
    cursor: pointer; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.legend-chip.off { opacity: .35; }
.chart-empty { display: grid; place-items: center; height: 260px; color: var(--muted); }

/* сводка */
.summary { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.sum-group { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sum-card {
    min-width: 92px; padding: 8px 12px; border: 0; border-right: 1px solid var(--line); background: transparent;
    font: inherit; color: inherit; text-align: left;
}
.sum-card:last-child { border-right: 0; }
button.sum-card { cursor: pointer; }
button.sum-card:hover { background: #f5f8f9; }
.sum-card.active { background: #e3f4ef; box-shadow: inset 0 -2px 0 var(--primary); }
.sum-card .lbl { font-size: 13px; font-weight: 600; white-space: nowrap; }
.sum-card .lbl .pc { font-weight: 400; color: var(--muted); }
.sum-card .val { font-size: 22px; font-weight: 600; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-card .dlt { font-size: 12px; font-weight: 400; margin-left: 4px; color: var(--muted); }
.sum-card .dlt.good { color: var(--up); }
.sum-card .dlt.bad { color: var(--down); }
.sum-card .dot {
    display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; color: #fff; vertical-align: -2px;
}
.dot.up { background: var(--up); } .dot.down { background: var(--down); } .dot.stay { background: #9aa6ab; }
.warn-ico { color: #e8a317; cursor: help; margin-left: 4px; }

/* таблица динамики */
.dt-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.dt-tools { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: #f3f6f7; flex-wrap: wrap; }
.dt-tools .seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.dt-tools .seg button { height: 26px; padding: 0 10px; border: 0; background: #fff; font: inherit; font-size: 12px; cursor: pointer; color: var(--text); }
.dt-tools .seg button + button { border-left: 1px solid var(--line-2); }
.dt-tools .seg button.on { background: var(--tab-active); color: #fff; }
.dt-tools .filter-tag { background: #e3f4ef; color: #127a60; border-radius: 12px; padding: 2px 10px; font-size: 12px; }
.dt-scroll { overflow: auto; max-height: calc(100vh - 120px); }
table.dt { border-collapse: separate; border-spacing: 0; font-size: 13px; }
table.dt th, table.dt td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0; }
table.dt thead th { position: sticky; top: 0; z-index: 3; background: #f5f7f8; font-weight: 400; }
table.dt .c-grp { width: 22px; min-width: 22px; background: #fafbfb; position: sticky; left: 0; z-index: 2; }
table.dt thead .c-grp { z-index: 4; }
table.dt .c-tgt { width: 40px; min-width: 40px; text-align: center; position: sticky; left: 22px; z-index: 2; background: #fff; color: #aab4b9; }
table.dt thead .c-tgt { z-index: 4; background: #f5f7f8; }
table.dt .c-kw { width: 320px; min-width: 260px; max-width: 420px; position: sticky; left: 62px; z-index: 2; background: #fff; padding: 0 10px; box-shadow: 1px 0 0 var(--line-2); }
table.dt thead .c-kw { z-index: 4; background: #f5f7f8; padding: 8px 10px; vertical-align: bottom; }
table.dt thead .c-kw .kw-head { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
table.dt thead .c-kw .kw-head .cnt { font-size: 13px; font-weight: 400; color: var(--muted); }
table.dt thead .c-kw input { height: 26px; width: 100%; margin-top: 6px; font-size: 12px; }
table.dt .c-vol { width: 70px; min-width: 70px; text-align: right; padding: 0 8px; color: #5d6d74; font-variant-numeric: tabular-nums; }
table.dt tbody tr { height: 41px; }
table.dt tbody tr:hover td.c-kw, table.dt tbody tr:hover td.c-tgt { background: #f6f9fa; }
table.dt .kw-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px; }
table.dt .kw-url { display: block; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 400px; }
table.dt .url-badge { display: inline-block; background: #f39c12; color: #fff; border-radius: 3px; padding: 0 4px; margin-right: 5px; font-size: 10px; line-height: 14px; }
th.c-date { width: 78px; min-width: 78px; text-align: center; padding: 6px 4px !important; cursor: pointer; white-space: nowrap; position: relative; }
th.c-date:hover { background: #e9eff1 !important; }
th.c-date .d { font-size: 13px; }
th.c-date .t10 { font-size: 11px; color: var(--muted); }
th.c-date .pct-badge {
    display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #a7b3b9; color: #fff;
    font-size: 9px; margin-right: 2px; vertical-align: 0;
}
th.c-date.sorted { box-shadow: inset 0 -2px 0 var(--primary); }
th.c-date .sort-ar { font-size: 10px; color: var(--primary); }
th.c-date .del-date {
    position: absolute; top: 1px; right: 2px; border: 0; background: none; color: #b9c3c7; cursor: pointer; font-size: 13px; line-height: 1; padding: 2px; display: none;
}
th.c-date:hover .del-date { display: block; }
th.c-date .del-date:hover { color: var(--danger); }
td.c-grp .vlabel {
    writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; color: #8f9ca2; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; max-height: 100%; padding: 6px 0; margin: 0 auto;
}
td.c-grp { vertical-align: top; }
td.c-tgt .tg { cursor: default; display: inline-flex; }
td.c-tgt .tg.ok { color: var(--up); }
td.c-tgt .tg.bad { color: var(--down); }
td.c-tgt .tg.none { color: #c3ccd0; font-size: 16px; }
td.c-tgt.editable .tg { cursor: pointer; }

td.cell { position: relative; width: 78px; min-width: 78px; text-align: left; padding: 0 0 0 12px !important; cursor: pointer; white-space: nowrap; }
td.cell .p { font-size: 18px; font-variant-numeric: tabular-nums; }
td.cell .dl { font-size: 10px; margin-left: 2px; position: relative; top: -7px; }
td.cell .dl.up { color: #20a35b; }
td.cell .dl.down { color: #e2462f; }
td.cell .u { display: block; font-size: 10px; color: #7b8a91; overflow: hidden; text-overflow: ellipsis; max-width: 120px; margin-top: -3px; }
td.cell.empty { background: #f4f6f7; cursor: default; }
td.cell.nf .p { color: #7f8c8d; }
td.cell.url-chg::after {
    content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 7px 7px 0;
    border-color: transparent #f39c12 transparent transparent;
}
td.cell:hover { outline: 1px solid #7fb9ab; outline-offset: -1px; }

/* цвета ячеек: режим «рост/падение» (шкала Топвизора) */
.cm-move td.m10 { background: #84dfab; } .cm-move td.m9 { background: #8fe2b3; } .cm-move td.m8 { background: #99e4b9; }
.cm-move td.m7 { background: #a1e8c0; } .cm-move td.m6 { background: #aceac6; } .cm-move td.m5 { background: #b5eccd; }
.cm-move td.m4 { background: #beeed3; } .cm-move td.m3 { background: #c8f0da; } .cm-move td.m2 { background: #def5e9; }
.cm-move td.m1 { background: #ecf9f2; } .cm-move td.m0 { background: #fcfefd; }
.cm-move td.m-1 { background: #fff9f9; } .cm-move td.m-2 { background: #fef2f1; } .cm-move td.m-3, .cm-move td.m-4 { background: #fdebea; }
.cm-move td.m-5, .cm-move td.m-6, .cm-move td.m-7, .cm-move td.m-8, .cm-move td.m-9, .cm-move td.m-10 { background: #fbe1df; }
/* режим «топ» */
.cm-top td.t1 { background: #a3d1ee; } .cm-top td.t2, .cm-top td.t3 { background: #b4d9f1; }
.cm-top td.t4 { background: #8fe2b3; } .cm-top td.t5 { background: #99e4b9; } .cm-top td.t6 { background: #a1e8c0; }
.cm-top td.t7 { background: #aceac6; } .cm-top td.t8 { background: #b5eccd; } .cm-top td.t9 { background: #beeed3; }
.cm-top td.t10 { background: #c8f0da; } .cm-top td.nf { background: #f6e9c5; }

.dt-more { padding: 10px; text-align: center; border-top: 1px solid var(--line); }
.dt-empty { padding: 40px; text-align: center; color: var(--muted); }

/* снимок выдачи */
.serp-list { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow: auto; }
.serp-list li { display: flex; gap: 10px; padding: 5px 8px; border-bottom: 1px solid #eef2f3; font-size: 13px; }
.serp-list li .n { width: 28px; text-align: right; color: var(--muted); flex: none; }
.serp-list li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-list li.mark { font-weight: 600; }
.serp-list li .who { margin-left: auto; font-size: 11px; color: #fff; padding: 1px 8px; border-radius: 10px; flex: none; }

/* ---------- список проектов ---------- */
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.page-head .tb-spacer { flex: 1; }
.proj-name { font-weight: 600; font-size: 15px; color: var(--text); }
.proj-site { font-size: 12px; color: var(--muted); }
.delta { font-size: 12px; margin-left: 4px; }
.delta.good { color: var(--up); } .delta.bad { color: var(--down); }
.status-pill { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #eef2f3; color: #5d6d74; }
.status-pill.running, .status-pill.queued { background: #e3f4ef; color: #127a60; }
.status-pill.failed { background: #fde6e3; color: #b23a2a; }
.empty-state { padding: 50px 20px; text-align: center; color: var(--muted); }

/* ---------- настройки / вкладки ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button {
    height: 36px; padding: 0 16px; border: 0; background: transparent; font: inherit; cursor: pointer; color: var(--text);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.active { border-bottom-color: var(--primary); font-weight: 600; }
.kw-layout { display: grid; grid-template-columns: 240px 1fr; gap: 14px; align-items: start; }
.vol-row { font-size: 13px; padding: 6px 10px; background: #f3f7f8; border-radius: var(--radius); }
.vol-row .progress { width: 120px; }
.group-list { list-style: none; margin: 0; padding: 0; }
.group-list li { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--radius); cursor: pointer; }
.group-list li:hover { background: #f1f5f6; }
.group-list li.active { background: #e3f4ef; font-weight: 600; }
.group-list li .cnt { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 400; }
.toolbar-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.days { display: flex; gap: 4px; flex-wrap: wrap; }
.days label { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 30px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; user-select: none; }
.days input { display: none; }
.days label:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }
.guest-url { display: flex; gap: 8px; }
.guest-url input { flex: 1; }

/* ---------- модальные окна, меню, уведомления ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(44, 62, 80, .45); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: 6px; width: 520px; max-width: 100%; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.modal-wide { width: 820px; }
.modal-head { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.modal-x { margin-left: auto; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-body { padding: 16px; overflow: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.dropdown-menu { position: absolute; z-index: 120; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.15); min-width: 200px; padding: 4px 0; }
.dropdown-item { display: block; width: 100%; text-align: left; padding: 8px 14px; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; }
.dropdown-item:hover { background: #f1f5f6; }
.dropdown-sep { height: 1px; background: var(--line); margin: 4px 0; }
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: #2c3e50; color: #fff; padding: 10px 16px; border-radius: var(--radius); box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: opacity .4s; max-width: 420px; }
.toast-err { background: #c0392b; }
.toast.hide { opacity: 0; }
.period-pop { position: absolute; z-index: 120; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,.15); padding: 10px; width: 280px; }
.period-pop .presets { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 10px; }
.period-pop .presets button { height: 28px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; font: inherit; font-size: 13px; }
.period-pop .presets button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.period-pop .range { display: flex; gap: 6px; align-items: center; }
.period-pop .range input { flex: 1; min-width: 0; }

/* ---------- вход ---------- */
.page-login { display: grid; place-items: center; padding: 16px; }
.login-card { background: #fff; width: 360px; max-width: 100%; padding: 28px; border-radius: 6px; box-shadow: var(--shadow); }
.login-card label { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.login-card input { width: 100%; margin-top: 4px; }
.login-logo { font-size: 24px; font-weight: 700; color: var(--text); }
.login-sub { color: var(--muted); margin-bottom: 20px; }
.login-error { color: var(--danger); margin-bottom: 10px; font-size: 13px; }

@media (max-width: 900px) {
    .charts-body { grid-template-columns: 1fr; }
    .chart-side { border-right: 0; border-bottom: 1px solid var(--line); }
    .chart-legend { padding-left: 12px; }
    .kw-layout { grid-template-columns: 1fr; }
    .topbar .user-email { display: none; }
    table.dt .c-kw { width: 180px; min-width: 160px; }
}
