/* Collective Hub styles. Scoped to #smc-hub so they cannot leak into the theme. */
#smc-hub{--bg:#F6F8FB;--surface:#fff;--ink:#14213D;--muted:#4A5672;--line:#D5DCE8;--blue:#1F3FA0;--on-blue:#fff;--brick:#A8412A;--ok:#17613A;--soft:#E6ECF8;
  color:var(--ink);font:400 1rem/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;max-width:64rem;margin:0 auto;padding:0 .25rem}
@media (prefers-color-scheme:dark){#smc-hub{--bg:#0E1526;--surface:#16203A;--ink:#EEF2FA;--muted:#A9B5CE;--line:#2A3757;--blue:#8FA8F5;--on-blue:#0E1526;--brick:#E58A70;--ok:#6FD39B;--soft:#1C2848}}
#smc-hub *,#smc-hub *::before,#smc-hub *::after{box-sizing:border-box}
#smc-hub h2,#smc-hub h3{margin:.2rem 0 .6rem;line-height:1.2}
#smc-hub .smc-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;padding:.7rem 0;border-bottom:1px solid var(--line);margin-bottom:1rem}
#smc-hub .smc-bar nav{display:flex;flex-wrap:wrap;gap:.25rem;flex:1}
#smc-hub .smc-who{color:var(--muted);font-size:.9rem}
#smc-hub .smc-tab,#smc-hub .smc-link{font:inherit;background:none;border:0;color:var(--blue);cursor:pointer;padding:.45rem .6rem;border-radius:.4rem;text-decoration:underline}
#smc-hub .smc-tab{text-decoration:none;color:var(--ink)}
#smc-hub .smc-tab[aria-current="page"]{background:var(--soft);font-weight:600}
#smc-hub .smc-btn{font:inherit;font-weight:600;background:var(--blue);color:var(--on-blue);border:2px solid var(--blue);border-radius:.4rem;padding:.6rem 1rem;cursor:pointer;min-height:44px}
#smc-hub .smc-btn-quiet{background:transparent;color:var(--blue)}
#smc-hub :focus-visible{outline:3px solid var(--brick);outline-offset:2px}
#smc-hub .smc-card{background:var(--surface);border:1px solid var(--line);border-radius:.5rem;padding:1.1rem;margin-bottom:1rem}
#smc-hub .smc-narrow{max-width:26rem;margin:2rem auto}
#smc-hub .smc-grid{display:grid;gap:1rem}
@media(min-width:700px){#smc-hub .smc-grid{grid-template-columns:repeat(3,1fr)}}
#smc-hub .smc-field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.9rem}
#smc-hub .smc-field label{font-weight:600}
#smc-hub input:not([type=checkbox]),#smc-hub select,#smc-hub textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:.4rem;padding:.55rem .6rem;width:100%;min-height:44px}
#smc-hub small,#smc-hub .smc-muted{color:var(--muted)}
#smc-hub fieldset.smc-checks{border:1px solid var(--line);border-radius:.4rem;margin:0 0 .9rem;padding:.6rem .8rem}
#smc-hub fieldset legend{font-weight:600;padding:0 .3rem}
#smc-hub .smc-checks label{display:block;padding:.2rem 0}
#smc-hub .smc-checks input[type=checkbox]{width:1.1rem;height:1.1rem;vertical-align:-.15rem}
#smc-hub .smc-indent{margin-left:1.6rem}
#smc-hub .smc-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
#smc-hub .smc-scroll{overflow-x:auto}
#smc-hub .smc-table{border-collapse:collapse;width:100%}
#smc-hub .smc-table th,#smc-hub .smc-table td{text-align:left;padding:.55rem .6rem;border-bottom:1px solid var(--line);vertical-align:top}
#smc-hub .smc-notice{min-height:0;margin:.5rem 0}
#smc-hub .smc-notice:not(:empty){padding:.7rem .9rem;border-radius:.4rem;border:1px solid var(--line);background:var(--soft)}
#smc-hub .smc-notice-error{border-color:var(--brick);color:var(--brick)}
#smc-hub .smc-notice-ok{border-color:var(--ok);color:var(--ok)}
