  /* ---------- shared by every page the panel serves ---------- */
  :root {
    --bg:#f4f5f7; --card:#ffffff; --line:#e3e6ec; --line2:#eef0f4;
    --txt:#161a20; --dim:#6b7280; --dim2:#9aa1ad;
    --acc:#2f6bff; --acc-d:#2256d8; --acc-soft:rgba(47,107,255,.10);
    --green:#059669; --green-bg:#ecfdf5; --green-line:#a7f3d0;
    --amber:#b45309; --amber-bg:#fffbeb; --amber-line:#fde68a;
    --red:#dc2626; --red-bg:#fef2f2; --red-line:#fecaca;
    --radius:10px;
  }
  * { box-sizing:border-box; }
  body {
    margin:0; background:var(--bg); color:var(--txt);
    font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
  }
  /* the top bar and the frame the three kinds of page are drawn in */
  .topbar {
    position:sticky; top:0; z-index:40; height:56px; background:var(--card);
    border-bottom:1px solid var(--line); display:flex; align-items:center;
    gap:12px; padding:0 16px;
  }
  .brand { display:flex; align-items:center; gap:10px; font-weight:600; font-size:15px; }
  .logo { width:32px; height:32px; border-radius:8px; background:var(--acc); color:#fff;
          display:flex; align-items:center; justify-content:center; font-weight:700;
          font-size:15px; flex:0 0 auto; }
  .tag { font-size:11px; font-weight:500; padding:2px 8px; border-radius:6px;
         background:var(--bg); color:var(--dim); border:1px solid var(--line); }
  .spacer { flex:1; }

  /* the blocks a page is built of */
  .card, .panel { background:var(--card); border:1px solid var(--line);
                  border-radius:var(--radius); }
  .empty { text-align:center; }
  .err { color:var(--red); word-break:break-word; }
