/* ==========================================================================
   爬虫控制台 · 设计系统
   ========================================================================== */

:root {
  /* 表面与文字 */
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --surface-3: #f0f2f5;
  --border: #e3e6ea;
  --border-strong: #d3d8de;
  --text: #14181d;
  --text-2: #4a5259;
  --text-3: #7d868f;

  /* 品牌 */
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-soft: #eff4ff;
  --brand-border: #c7d7fe;

  /* 语义 */
  --ok: #15803d;
  --ok-soft: #eefbf3;
  --ok-border: #b7e4c7;
  --warn: #a16207;
  --warn-soft: #fefce8;
  --warn-border: #f0e0a8;
  --err: #c02626;
  --err-soft: #fef2f2;
  --err-border: #f7c9c9;

  /* 阴影与圆角 */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .07), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, .08), 0 2px 4px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .12), 0 4px 8px rgba(16, 24, 40, .05);
  --r-sm: 6px;
  --r-md: 9px;
  --r-lg: 13px;
  --r-full: 999px;

  --sidebar-w: 216px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }

::selection { background: #dbe7fe; }

/* ---------- 布局 ---------- */

.shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: #101419;
  color: #9aa4ae;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #1c2229;
}

.brand {
  padding: 20px 18px 18px;
  border-bottom: 1px solid #1c2229;
}
.brand-line { display: flex; align-items: center; gap: 9px; }
.brand-mark {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .4);
}
.brand-title {
  color: #fff; font-size: 14.5px; font-weight: 600;
  letter-spacing: .2px; white-space: nowrap;
}
.brand small {
  display: block; font-weight: 400; font-size: 11px;
  color: #626d78; margin-top: 7px; letter-spacing: .2px;
}

.nav { padding: 10px 10px; flex: 1; overflow-y: auto; }
.nav-group {
  font-size: 10.5px; font-weight: 600; letter-spacing: .8px;
  color: #4d5763; text-transform: uppercase;
  padding: 12px 10px 6px;
}
.nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: var(--r-sm);
  color: #aeb7c1; font-size: 13.5px;
  margin-bottom: 1px;
  transition: background .12s ease, color .12s ease;
}
.nav a:hover { background: #1a2027; color: #fff; text-decoration: none; }
.nav a.active {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
}
.nav a.active .ico { opacity: 1; }
.nav .ico { width: 15px; height: 15px; opacity: .75; flex: 0 0 15px; }
.nav .count {
  margin-left: auto; font-size: 11px; color: #7d8792;
  background: #1e252d; padding: 0 6px; border-radius: var(--r-full);
  font-variant-numeric: tabular-nums;
}
.nav a.active .count { background: rgba(255,255,255,.2); color: #fff; }

.sidebar-foot {
  padding: 12px;
  border-top: 1px solid #1c2229;
  font-size: 12px;
}
.sidebar-foot .who {
  color: #7d8792; display: flex; align-items: center; gap: 8px;
  padding: 4px 6px 10px;
}
.sidebar-foot .avatar {
  width: 24px; height: 24px; border-radius: var(--r-full);
  background: #262e37; display: grid; place-items: center;
  font-size: 11px; color: #c3ccd6; font-weight: 600;
}
.sidebar-foot button {
  width: 100%; justify-content: center;
  background: transparent; border: 1px solid #262e37; color: #9aa4ae;
  font-size: 12.5px;
}
.sidebar-foot button:hover { background: #1a2027; color: #e6edf3; border-color: #333c47; }

.main { flex: 1; min-width: 0; padding: 26px 30px 70px; }
.main-inner { max-width: 1180px; margin: 0 auto; }

/* ---------- 页头 ---------- */

.page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; margin-bottom: 22px; flex-wrap: wrap;
}
.page-head h1 {
  font-size: 21px; margin: 0 0 5px; font-weight: 650;
  letter-spacing: -.3px; color: var(--text);
}
.page-head p { margin: 0; color: var(--text-3); font-size: 13px; max-width: 620px; }
.page-head .actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- 面板 ---------- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px; flex-wrap: wrap;
}
.panel-head h2 {
  font-size: 14.5px; margin: 0; font-weight: 620;
  letter-spacing: -.1px; color: var(--text);
}
.panel-head .sub { font-size: 12.5px; color: var(--text-3); margin: 3px 0 0; }
.panel-tight { padding: 0; overflow: hidden; }
.panel-tight > .panel-head { padding: 16px 20px 0; }
.panel-tight > table, .panel-tight > .table-wrap { border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* ---------- 统计卡 ---------- */

.grid { display: grid; gap: 14px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.stat .label {
  font-size: 11.5px; color: var(--text-3); font-weight: 500;
  display: flex; align-items: center; gap: 6px; letter-spacing: .2px;
}
.stat .value {
  font-size: 25px; font-weight: 650; margin-top: 6px;
  letter-spacing: -1px; line-height: 1.15; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat .value.sm { font-size: 17px; letter-spacing: -.2px; }
.stat .hint { font-size: 11.5px; color: var(--text-3); margin-top: 5px; }
.stat.link { transition: border-color .14s ease, box-shadow .14s ease; }
.stat.link:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-sm);
}
.stat .accent-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand);
}

/* ---------- 表格 ---------- */

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td {
  text-align: left; padding: 11px 16px;
  border-bottom: 1px solid var(--border); vertical-align: middle;
}
th {
  font-weight: 550; font-size: 11.5px; color: var(--text-3);
  background: var(--surface-2); white-space: nowrap;
  letter-spacing: .3px; text-transform: uppercase;
  position: sticky; top: 0; z-index: 1;
}
tbody tr { transition: background .1s ease; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* ---------- 徽章 ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 1.5px 9px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 550; white-space: nowrap;
  border: 1px solid transparent; line-height: 1.7;
}
.badge::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .85;
}
.badge.badge-plain::before { display: none; }
.badge-success { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-border); }
.badge-partial { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-border); }
.badge-failed  { background: var(--err-soft); color: var(--err); border-color: var(--err-border); }
.badge-running { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-border); }
.badge-off     { background: var(--surface-3); color: var(--text-3); border-color: var(--border); }
.badge-on      { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-border); }
.badge-site    {
  background: var(--surface-3); color: var(--text-2);
  border-color: var(--border); font-weight: 500;
}

/* ---------- 表单控件 ---------- */

label.field { display: block; margin-bottom: 15px; }
label.field > .lbl {
  display: block; font-size: 12.5px; font-weight: 550;
  margin-bottom: 6px; color: var(--text-2);
}
label.field > .help {
  display: block; font-size: 11.5px; color: var(--text-3); margin-top: 5px;
  line-height: 1.5;
}
label.field > .help code {
  background: var(--surface-3); padding: 1px 5px; border-radius: 4px;
  font-size: 11px;
}

input[type=text], input[type=password], input[type=number], input[type=email],
input[type=time], input[type=date], input[type=url], select, textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  transition: border-color .13s ease, box-shadow .13s ease;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: #a8b0b8; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, .12);
}
input:disabled, select:disabled { background: var(--surface-3); color: var(--text-3); }
textarea { resize: vertical; min-height: 78px; line-height: 1.65; }

.row { display: flex; gap: 13px; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 170px; min-width: 0; }
.row > .shrink { flex: 0 0 auto; }

.check {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; margin-bottom: 11px; color: var(--text-2);
  cursor: pointer; user-select: none;
}
.check input[type=checkbox] {
  width: 16px; height: 16px; margin: 0; flex: 0 0 16px;
  accent-color: var(--brand); cursor: pointer;
}

/* ---------- 按钮 ---------- */

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  font-size: 13.5px; font-family: inherit; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease, color .12s ease;
  box-shadow: var(--shadow-xs);
}
button:hover, .btn:hover {
  background: var(--surface-2); border-color: var(--border-strong);
  color: var(--text); text-decoration: none;
}
button:active, .btn:active { transform: translateY(.5px); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

button.primary, .btn.primary {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 1px 2px rgba(37,99,235,.3);
}
button.primary:hover, .btn.primary:hover {
  background: var(--brand-hover); border-color: var(--brand-hover); color: #fff;
}
button.danger { color: var(--err); border-color: var(--err-border); }
button.danger:hover { background: var(--err-soft); color: var(--err); }
button.success { color: var(--ok); border-color: var(--ok-border); }
button.success:hover { background: var(--ok-soft); color: var(--ok); }
button.ghost, .btn.ghost {
  background: transparent; border-color: transparent; box-shadow: none; color: var(--text-3);
  padding: 5px 9px;
}
button.ghost:hover, .btn.ghost:hover { background: var(--surface-3); color: var(--text); }
button.sm, .btn.sm { padding: 5px 11px; font-size: 12.5px; border-radius: var(--r-sm); }
button.icon { padding: 0; width: 30px; height: 30px; }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- 自定义下拉框 ---------- */

.select {
  position: relative;
  display: inline-block;
  width: 100%;
}
.select-trigger {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 11px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 13.5px; color: var(--text);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: border-color .13s ease, box-shadow .13s ease;
  font-family: inherit;
}
.select-trigger:hover { border-color: #b9c1ca; }
.select-trigger:focus-visible {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(37,99,235,.12);
}
.select.open .select-trigger {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(37,99,235,.12);
}
.select-value { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.select-value.placeholder { color: #a8b0b8; }
.select-arrow {
  flex: 0 0 auto; width: 14px; height: 14px; color: var(--text-3);
  transition: transform .16s ease;
}
.select.open .select-arrow { transform: rotate(180deg); }

.select-menu {
  position: absolute; z-index: 60;
  top: calc(100% + 5px); left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 5px;
  max-height: 260px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-5px) scale(.985);
  transform-origin: top center;
  transition: opacity .13s ease, transform .13s ease, visibility .13s;
}
.select.open .select-menu {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.select-option {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--text-2);
  cursor: pointer; user-select: none;
  transition: background .1s ease, color .1s ease;
}
.select-option:hover { background: var(--surface-3); color: var(--text); }
.select-option[aria-selected="true"] {
  background: var(--brand-soft); color: var(--brand); font-weight: 550;
}
.select-option .tick {
  margin-left: auto; width: 14px; height: 14px; opacity: 0;
  color: var(--brand); flex: 0 0 14px;
}
.select-option[aria-selected="true"] .tick { opacity: 1; }
.select-option .opt-desc {
  display: block; font-size: 11.5px; color: var(--text-3);
  font-weight: 400; margin-top: 1px;
}
.select-option[aria-selected="true"] .opt-desc { color: #5b7fd4; }

/* 原生 select 作为无 JS 回退，在有 JS 时隐藏 */
select[data-native] { display: none; }
.no-js select[data-native] { display: block; }

/* ---------- 多选标签 ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 12.5px; color: var(--text-2);
  cursor: pointer; user-select: none;
  transition: all .12s ease;
}
.chip:hover { border-color: var(--brand-border); background: var(--brand-soft); }
.chip input { display: none; }
.chip.on {
  background: var(--brand-soft); border-color: var(--brand-border);
  color: var(--brand); font-weight: 550;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5;
}
.chip.on .dot { opacity: 1; }

/* ---------- 提示条 ---------- */

.flash {
  padding: 11px 15px; border-radius: var(--r-md); margin-bottom: 16px;
  font-size: 13px; border: 1px solid; display: flex; gap: 9px; align-items: flex-start;
}
.flash::before { font-weight: 700; flex: 0 0 auto; }
.flash-ok { background: var(--ok-soft); border-color: var(--ok-border); color: var(--ok); }
.flash-ok::before { content: "✓"; }
.flash-err { background: var(--err-soft); border-color: var(--err-border); color: var(--err); }
.flash-err::before { content: "!"; }
.flash-info { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand); }
.flash-info::before { content: "i"; }

/* ---------- 标签页 ---------- */

.tabs {
  display: flex; gap: 3px; margin-bottom: 16px;
  background: var(--surface-3); padding: 3px;
  border-radius: var(--r-md); width: fit-content;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.tabs a {
  padding: 5px 13px; border-radius: var(--r-sm);
  font-size: 12.5px; color: var(--text-3); font-weight: 500;
  transition: all .12s ease;
}
.tabs a:hover { color: var(--text); background: rgba(255,255,255,.7); text-decoration: none; }
.tabs a.active {
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-xs); font-weight: 550;
}

/* ---------- 工具类 ---------- */

.muted { color: var(--text-3); }
.small { font-size: 12px; }
.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
}
.break { word-break: break-all; }
.nowrap { white-space: nowrap; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt8 { margin-top: 8px; } .mb8 { margin-bottom: 8px; }
.mt12 { margin-top: 12px; } .mb12 { margin-bottom: 12px; }
.mt16 { margin-top: 16px; } .mb16 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; border: 0; }
.empty {
  padding: 44px 20px; text-align: center; color: var(--text-3); font-size: 13px;
}
.empty strong { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 4px; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; }
.w-full { width: 100%; }

/* ---------- 登录页 ---------- */

.login-page {
  min-height: 100vh; display: grid; place-items: center;
  background:
    radial-gradient(1000px 600px at 15% -10%, #1e3a8a 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 110%, #0f2c4d 0%, transparent 60%),
    #0b0f14;
  padding: 24px;
}
.login-card {
  width: 100%; max-width: 388px;
  background: var(--surface);
  border-radius: 16px; padding: 34px 30px 30px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45), 0 2px 8px rgba(0,0,0,.2);
}
.login-card .brand-line { margin-bottom: 22px; }
.login-card h1 {
  font-size: 19px; margin: 0 0 5px; font-weight: 650; letter-spacing: -.3px;
}
.login-card p.sub { color: var(--text-3); font-size: 12.5px; margin: 0 0 24px; }
.login-card button { width: 100%; justify-content: center; padding: 9px; margin-top: 4px; }
.login-foot {
  margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-3); text-align: center;
}

/* ---------- 爬虫卡片 ---------- */

.site-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color .14s ease;
}
.site-card:hover { border-color: var(--border-strong); }
.site-card.off { opacity: .72; background: var(--surface-2); }

.site-head {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
}
.site-head:hover { background: var(--surface-2); }
.site-logo {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 650; color: #fff;
  background: linear-gradient(135deg, #4f8ff7, #2563eb);
  box-shadow: 0 2px 6px rgba(37,99,235,.28);
}
.site-meta { flex: 1; min-width: 0; }
.site-name {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.site-url {
  font-size: 11.5px; color: var(--text-3); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.site-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.site-body {
  border-top: 1px solid var(--border);
  padding: 18px;
  background: var(--surface-2);
  display: none;
}
.site-card.open .site-body { display: block; }
.site-body .grid-2 { gap: 16px; }

.chev {
  width: 16px; height: 16px; color: var(--text-3);
  transition: transform .18s ease; flex: 0 0 16px;
}
.site-card.open .chev { transform: rotate(90deg); }

/* ---------- 测试结果面板 ---------- */

.test-result {
  margin-top: 12px; border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  display: none;
}
.test-result.show { display: block; }
.test-result .head {
  padding: 10px 14px; font-size: 12.5px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.test-result .head.ok { color: var(--ok); }
.test-result .head.err { color: var(--err); }
.test-result ol { margin: 0; padding: 10px 14px 14px 32px; font-size: 12.5px; }
.test-result li { margin-bottom: 7px; line-height: 1.55; }
.test-result li .u {
  display: block; font-size: 11px; color: var(--text-3);
  word-break: break-all; margin-top: 1px;
}

/* ---------- 类型说明卡 ---------- */

.type-hint {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-size: 12.5px;
  color: #1e40af;
  margin-bottom: 16px;
  line-height: 1.6;
}
.type-hint strong { font-weight: 650; }

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar {
    width: 100%; flex: none; height: auto; position: static;
    flex-direction: row; align-items: center; overflow-x: auto;
  }
  .brand { border-bottom: 0; border-right: 1px solid #1c2229; padding: 14px; flex: 0 0 auto; }
  .brand small, .brand .brand-title { display: none; }
  .nav { display: flex; padding: 8px; flex: 1; overflow-x: auto; }
  .nav-group { display: none; }
  .nav a { white-space: nowrap; padding: 7px 11px; }
  .nav a .ico { display: none; }
  .nav .count { display: none; }
  .sidebar-foot { border-top: 0; border-left: 1px solid #1c2229; padding: 8px; }
  .sidebar-foot .who { display: none; }
  .main { padding: 18px 15px 50px; }
  th, td { padding: 9px 12px; }
}
