.top { display: flex; gap: 16px; align-items: center; padding: 10px 20px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
#nav { display: flex; gap: 4px; } #nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); } #nav a.on { background: var(--bg); color: var(--ink); font-weight: 600; text-decoration: none; }
main { max-width: none; width: 100%; margin: 20px 0; padding: 0 24px 60px; }
.mst-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
.mst-side { position: sticky; top: 64px; max-height: calc(100vh - 80px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.mst-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 10px 4px; }
.mst-item { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; }
.mst-item:hover { background: var(--bg); } .mst-item.on { background: var(--bg); box-shadow: inset 3px 0 0 var(--brand); font-weight: 600; }
.mst-item small { display: block; color: var(--muted); font-weight: 400; }
.pill { display: inline-block; font-size: 11px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); margin-left: 6px; }
.entry { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: var(--panel); }
.form2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 4px 20px; }
.eye { display: flex; gap: 6px; } .eye button { white-space: nowrap; }
details.tg { border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; padding: 6px 12px; } details.tg summary { cursor: pointer; font-weight: 600; }
@media (max-width: 860px) { .mst-layout { grid-template-columns: 1fr; } .mst-side { position: static; max-height: none; } }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.secret-set { color: var(--ok); font-size: 12px; }
.url { word-break: break-all; }
dialog { max-height: 90vh; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); max-width: 720px; width: 92vw; }
dialog::backdrop { background: rgba(0,0,0,.45); }
