:root{
  /* Чистий професійний */
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --muted: #6B7280;
  --primary: #0F172A;
  --accent: #0066CC;
  --radius: 10px;
  --container: 1100px;
  --shadow: 0 8px 24px rgba(15,23,42,0.06);
  --gap: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* Container */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:20px;
}

/* Header */
.site-header{
  background:var(--surface);
  border-bottom:1px solid rgba(15,23,42,0.04);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--gap);
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:12px}
.logo{display:inline-flex;align-items:center;text-decoration:none}
.brand-text{line-height:1}
.site-title{margin:0;font-size:1.05rem;font-weight:600;color:var(--primary)}
.site-subtitle{margin:2px 0 0 0;color:var(--muted);font-size:0.95rem}

/* Nav */
.main-nav{position:relative}
.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(15,23,42,0.06);
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
}
.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:14px;
}
.nav-list a{
  text-decoration:none;
  color:var(--text);
  padding:8px 10px;
  border-radius:8px;
}
.nav-list a:hover,
.nav-list a:focus{background:#f1f5f9; outline:none}

/* Layout */
.layout{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:28px;
  padding:28px 0;
}

/* Sidebar */
.sidebar{
  background:var(--surface);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.sidebar h2, .sidebar h3{margin-top:0}
.sidebar ul{padding-left:18px;margin:8px 0}

/* Content */
.content{
  background:var(--surface);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.content h2{margin-top:0}
.channels-wrapper{overflow:auto;margin-top:12px}
.channels-table{
  width:100%;
  border-collapse:collapse;
  border-radius:8px;
  overflow:hidden;
  background:var(--surface);
}
.channels-table thead{background:#fbfbfd}
.channels-table th, .channels-table td{
  padding:12px 14px;
  text-align:left;
  border-bottom:1px solid #f1f5f9;
  font-size:0.95rem;
}
.channels-table tbody tr:hover{background:#fbfbfd}

/* CTA */
.channels-cta{margin-top:16px;display:flex;gap:12px;align-items:center}
.btn-primary{
  background:var(--accent);
  color:#fff;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 8px 20px rgba(0,102,204,0.12);
}
.btn-outline{
  background:transparent;
  color:var(--primary);
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  border:1px solid rgba(15,23,42,0.06);
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(15,23,42,0.04);
  margin-top:28px;
  padding:18px 0;
}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px}
.footer-nav a{color:var(--muted);text-decoration:none;margin-right:12px}

/* Responsive */
@media (max-width:980px){
  .layout{grid-template-columns:1fr;padding:18px 0}
  .nav-list{display:none;flex-direction:column;position:absolute;right:18px;top:64px;background:var(--surface);padding:12px;border-radius:8px;box-shadow:var(--shadow)}
  .nav-list.open{display:flex}
  .nav-toggle{display:inline-block}
  .channels-table{display:block}
  .channels-table thead{display:none}
  .channels-table tbody tr{display:block;margin-bottom:12px;border-radius:10px;padding:12px;background:var(--surface);box-shadow:0 6px 18px rgba(15,23,42,0.04)}
  .channels-table td{display:flex;justify-content:space-between;padding:6px 0;border-bottom:none}
  .channels-table td[data-label]:before{content:attr(data-label);color:var(--muted);margin-right:8px;font-weight:600}
}
