/* Clipper panel: sidebar layout and phase-2 components (loaded after app.css) */
body.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 20px 14px;
  background: rgba(10, 9, 18, .78); backdrop-filter: blur(16px); border-right: 1px solid var(--line); }
.side .brand { margin: 2px 8px 22px; }
.side a.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: var(--mut);
  font-weight: 600; font-size: 14px; position: relative; transition: background .15s, color .15s, transform .15s; }
.side a.nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side a.nav:hover { color: #fff; background: rgba(255, 255, 255, .06); transform: translateX(2px); }
.side a.nav.on { color: #fff; background: linear-gradient(100deg, rgba(255, 61, 154, .22), rgba(139, 92, 246, .16)); }
.side a.nav.on::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.side .badge { margin-left: auto; padding: 0 8px; border-radius: 20px; font-size: 11px; line-height: 19px; background: var(--pink); color: #fff; }
.side .sp { flex: 1; }
.side .sys { margin: 0 4px 10px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 12px; color: var(--mut); }
.side .sys div { display: flex; justify-content: space-between; padding: 2px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #555; margin-right: 6px; }
.dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); } .dot.off { background: var(--bad); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.top h1 { font-size: 26px; font-weight: 800; } .top p { margin: 2px 0 0; color: var(--mut); }
.stats.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1200px) { .stats.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  body.app { display: block; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; }
  .side .brand { margin: 0 10px 0 4px; } .side .sp, .side .sys { display: none; }
  .side a.nav.on::before { display: none; } .side a.nav span.t { display: none; }
  .stats.six { grid-template-columns: repeat(2, 1fr); }
}
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
table.list th { font-size: 11px; color: var(--mut); text-transform: uppercase; letter-spacing: .07em; }
table.list tr:last-child td { border-bottom: 0; } table.list form { margin: 0; display: inline; }
table.list td.clipped { max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pub input { font-size: 13px; padding: 8px 10px; margin: 0 0 8px; }
.pub .row > * { flex: 1; padding: 8px 6px; font-size: 13px; }
button:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.posts { margin: 8px 0 0; font-size: 12px; } .posts div { margin-top: 4px; }
.sect { margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }
.sect:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.conn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 12px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.conn form { margin: 0; } code { background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; font-size: 12px; word-break: break-all; }
.wide { max-width: 760px; }
