/* The web admin's frame (site/frame.js): a rail down the left on a computer, a bar
   along the top, and tabs along the bottom on a phone with Reports and Settings at the top. */
.fr-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.fr-ic.sm{width:18px;height:18px}
body.fr{padding-left:96px}
body.fr>header.top{display:none}
.fr-rail{position:fixed;left:0;top:0;bottom:0;width:96px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 0;z-index:30;overflow-y:auto}
.fr-rail>.fr-logo{margin-bottom:10px;display:flex}
#frRail{display:flex;flex-direction:column;gap:6px}
.fr-r{width:76px;min-height:62px;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:13px;font-weight:700;color:var(--ink2);text-decoration:none}
.fr-r:hover{background:var(--bg);color:var(--ink)}
.fr-r.on{background:#e3eef6;color:var(--accent)}
.fr-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;min-height:68px;padding:10px 28px;background:#fff;border-bottom:1px solid var(--line)}
.fr-bar>.fr-logo{display:none}
.fr-cong{min-width:0;display:flex;align-items:center}
.fr-cong b{font:700 18px 'Bricolage Grotesque',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#frSw{height:44px;border:1px solid var(--line);border-radius:12px;padding:0 10px;font:inherit;font-weight:700;background:#fff;color:var(--ink);max-width:260px}
.fr-acts{margin-left:auto;display:flex;align-items:center;gap:8px}
#frTop{display:none;gap:6px}
.fr-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink2);font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}
.fr-btn:hover{color:var(--ink);border-color:var(--field)}
.fr-btn.on{background:#e3eef6;border-color:#c5dbea;color:var(--accent)}
.fr-av{flex:none;width:44px;height:44px;border-radius:50%;background:#dfe9f1;color:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;text-decoration:none}
.fr-tabs{display:none}
/* while /me loads, and the Admins only screen */
body.fr-wait>:not(.fr-rail):not(.fr-bar):not(.fr-tabs):not(script){visibility:hidden}
body.fr-gated>:not(.fr-bar):not(.fr-gate):not(script){display:none!important}
body.fr-gated{padding-left:0;padding-bottom:0}
body.fr-gated .fr-bar>.fr-logo{display:flex}
body.fr-gated #frTop,body.fr-gated #frMe{display:none}
.fr-gate{display:flex;justify-content:center;padding:48px 16px}
.fr-gcard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px 24px;max-width:440px;width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.fr-gcard h1{font-size:30px}
.fr-gic{width:64px;height:64px;border-radius:18px;background:#e3eef6;color:var(--accent);display:flex;align-items:center;justify-content:center}
.fr-gic .fr-ic{width:32px;height:32px}
.fr-st{margin:0;display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--muted)}
.fr-gacts{display:flex;flex-direction:column;gap:10px;width:100%}
.fr-gacts .btn,.fr .btn{gap:8px}
#frRail{flex:none}
.fr-ver{margin-top:auto;border:none;background:none;cursor:pointer;font:inherit;font-size:13px;font-weight:700;color:var(--muted)}
[data-fr-ver][hidden]{display:none!important}
/* What's new card (frame.js showNew) */
.fr-new{border:none;border-radius:20px;padding:0;width:min(520px,calc(100vw - 32px));max-height:min(80vh,640px);background:#fff;color:var(--ink);box-shadow:0 18px 50px rgba(0,0,0,.22)}
.fr-new[open]{display:flex;flex-direction:column}
.fr-new::backdrop{background:rgba(20,28,24,.45)}
.fr-nt{display:flex;align-items:flex-start;gap:12px;padding:20px 20px 8px}
.fr-nt>div{flex:1;min-width:0}
.fr-nt h2{margin:0;display:flex;align-items:center;gap:8px;font:700 22px 'Bricolage Grotesque',sans-serif}
.fr-nt h2 .fr-ic{color:var(--accent)}
.fr-nt p{margin:4px 0 0;color:var(--muted);font-weight:600;font-size:14px}
.fr-nx{flex:none;width:44px;height:44px;border-radius:50%;border:none;background:var(--bg);color:var(--ink2);display:flex;align-items:center;justify-content:center;cursor:pointer}
.fr-nl{overflow-y:auto;padding:0 20px}
.fr-nl h3{margin:14px 0 6px;font-size:15px;color:var(--ink2)}
.fr-nl ul{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;line-height:1.4}
.fr-nf{display:flex;flex-wrap:wrap;gap:10px;padding:16px 20px 20px}
.fr-nf .btn{flex:1 1 180px;justify-content:center}
.fr-nup{border-color:var(--line)}
@media (max-width:899px){
  body.fr{padding-left:0;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .fr-rail{display:none}
  .fr-bar{padding:8px 16px;min-height:60px;gap:10px}
  .fr-bar>.fr-logo{display:flex}
  .fr-bar>.fr-logo svg{width:34px;height:34px}
  #frTop{display:flex}
  #frMaster{display:none}
  .fr-av{display:none}
  #frSw{max-width:150px}
  .fr-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid var(--line);padding:6px 6px calc(8px + env(safe-area-inset-bottom))}
  .fr-t{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:56px;font-size:12px;font-weight:700;color:var(--ink2);text-decoration:none}
  .fr-t.on{color:var(--accent)}
  .fr-t.on .fr-ic{background:#e3eef6;border-radius:99px;padding:4px 16px;box-sizing:content-box}
}
@media (max-width:420px){.fr-btn{padding:0 8px;font-size:14px;gap:4px}.fr-btn .fr-ic{width:20px;height:20px}.fr-cong b{font-size:16px}.fr-bar{gap:8px}.fr-acts{gap:6px}}
@media print{.fr-rail,.fr-bar,.fr-tabs{display:none!important}body.fr{padding:0}}
