/* Sidebar shell (loaded after spring.css) */
.shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}
.side{position:sticky;top:0;height:100vh;overflow-y:auto;background:var(--raised);border-right:1px solid var(--line);padding:22px 14px 16px;display:flex;flex-direction:column;gap:6px;z-index:40}
.side .brand-row{display:flex;align-items:center;gap:10px;padding:2px 10px 18px;text-decoration:none;color:var(--ink)}
.side .logo{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,var(--mint) 0 50%,var(--lime) 50% 100%);box-shadow:inset 0 0 0 2px var(--ink);flex:none}
.side .brand-row b{font-size:18px;font-weight:800;letter-spacing:-.02em;display:block;line-height:1.1}
.side .brand-row small{font-size:11px;color:var(--ink-3);font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.side .grp{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);padding:14px 12px 6px}
.side a.item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;color:var(--ink-2);text-decoration:none;font-size:14px;font-weight:600}
.side a.item svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.side a.item:hover{background:var(--surface);color:var(--ink)}
.side a.item[aria-current="page"]{background:var(--lime);color:#1C2A10}
.side .spacer{flex:1}
.side .promo{background:var(--mint-2);border-radius:14px;padding:16px;margin:10px 2px}
.side .promo b{display:block;font-size:14px;margin-bottom:4px}.side .promo p{margin:0 0 12px;font-size:12.5px;color:var(--ink-2);line-height:1.45}
.side .promo a{display:block;text-align:center;background:var(--lime);color:#1C2A10;font-weight:700;font-size:13px;border-radius:999px;padding:9px;text-decoration:none}
.side .foot{display:flex;align-items:center;justify-content:space-between;padding:8px 10px 0;font-size:12px;color:var(--ink-3)}
.side .tt{border:0;background:var(--surface);color:var(--ink-2);border-radius:999px;padding:6px 12px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.content{min-width:0;display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;gap:14px;padding:18px 20px 0;max-width:1120px;width:100%;margin:0 auto}
.topbar .menu{display:none;border:0;background:var(--raised);box-shadow:var(--shadow);border-radius:12px;width:40px;height:40px;cursor:pointer;color:var(--ink)}
.topbar .menu svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.topbar .m-brand{display:none;font-weight:800;letter-spacing:-.02em}
.topbar form{flex:1;max-width:460px;position:relative}
.topbar input{width:100%;border:0;background:var(--raised);box-shadow:var(--shadow);border-radius:999px;padding:11px 16px 11px 40px;font:inherit;font-size:14px;color:var(--ink)}
.topbar input::placeholder{color:var(--ink-3)}
.topbar form svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--ink-3);fill:none;stroke-width:2;stroke-linecap:round}
.topbar .sp{flex:1}
.topbar .acct{background:var(--raised);box-shadow:var(--shadow);border-radius:999px;padding:9px 16px;font-size:13px;font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap}
.topbar .acct.cta{background:var(--lime);color:#1C2A10;box-shadow:none}
.shell .themebtn{display:none}
.shell header.mast .mast-in{padding-block:20px 6px}
.scrim{display:none}
body.admin #tabs{display:none}
@media(max-width:900px){
  .shell{display:block}
  .side{position:fixed;top:0;bottom:0;left:0;width:280px;height:auto;transform:translateX(-102%);transition:transform .22s ease;box-shadow:var(--shadow)}
  .side.open{transform:none}
  .scrim.open{display:block;position:fixed;inset:0;background:rgba(10,20,15,.45);z-index:35}
  .topbar .menu,.topbar .m-brand{display:block}
  .topbar form{max-width:none}
  .topbar .acct{display:none}
}
@media (prefers-reduced-motion:reduce){.side{transition:none}}
/* the sidebar and top bar replace the dashboard's tab row and in-list search box (both stay in the DOM for scripts) */
.shell .tabs{display:none}
.shell #srch{display:none}

/* beta sign-in */
.beta{font-size:12.5px;color:var(--ink-2);padding:10px 12px;margin:0 8px 8px;border-radius:12px;background:var(--surface)}
.beta b{color:var(--ink)}.beta button{border:0;background:none;padding:0;font:inherit;font-weight:700;color:var(--ink);text-decoration:underline;cursor:pointer}
.cwdlg{border:0;border-radius:18px;padding:24px 26px;max-width:340px;width:calc(100% - 32px);background:var(--raised);color:var(--ink);box-shadow:0 20px 60px rgba(0,0,0,.3)}
.cwdlg::backdrop{background:rgba(10,20,15,.45)}
.cwdlg h3{margin:0 0 6px}.cwdlg p{margin:0 0 14px;font-size:13.5px;color:var(--ink-2)}
.cwdlg input{width:100%;box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);border-radius:999px;padding:12px 16px;font:inherit}
.cwerr{margin-top:10px;font-size:13px;color:#8A3B12}
.cwbtns{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}
.cwbtns button{border:0;border-radius:999px;padding:10px 18px;font:inherit;font-weight:700;background:var(--surface);color:var(--ink-2);cursor:pointer}.cwbtns .go{background:var(--lime);color:#1C2A10}
