/* Staff hub (/team) — builds on partner.css tokens, so it follows light/dark like the other systems. */
.hub { max-width: 1120px; margin: 0 auto; padding: 28px 20px 64px; display: grid; gap: 30px; }
.hub section { display: grid; gap: 12px; }
.sec-t { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-t .sp { flex: 1; }
.sec-t h2 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0; }
.sec-t span { font-size: 12.5px; color: var(--muted); }

/* greeting */
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hello h1 { font-size: 26px; }
.hello p { margin: 4px 0 0; color: var(--muted); }
.hello .date { text-align: right; color: var(--muted); font-size: 14px; }
.hello .date b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }

/* needs attention */
.att { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.att a {
  display: grid; gap: 2px; align-content: start; padding: 16px 18px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.att a:hover { transform: translateY(-2px); border-color: var(--blue); }
.att b { font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.25; font-variant-numeric: tabular-nums; }
.att .lb { font-size: 13.5px; }
.att .sys { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.att .sys svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }
.att a.hot-warn { background: var(--warn-soft); border-color: transparent; } .att a.hot-warn b { color: var(--warn); }
.att a.hot-bad { background: var(--bad-soft); border-color: transparent; } .att a.hot-bad b { color: var(--bad); }
.allclear { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--ok-soft); color: var(--ok); font-size: 14.5px; }
.allclear svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }

/* main systems */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fcard {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 22px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.fcard:hover { transform: translateY(-2px); border-color: var(--blue); }
.fcard > i { width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(160deg, #4a9be8, #1d5fa8); display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(47, 128, 209, .9); }
.fcard > i svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { font-size: 18px; }
.fcard p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.stats div { font-size: 12.5px; color: var(--muted); }
.stats b { display: block; font-size: 19px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.fcard .open { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue-d); font-weight: 500; font-size: 14px; }
.fcard .open svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .15s; }
.fcard:hover .open svg { transform: translateX(3px); }

/* link cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.lcard {
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px;
  text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); transition: border-color .15s, background .15s;
}
.lcard:hover { border-color: var(--blue); }
.lcard > i { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); display: grid; place-items: center; }
.lcard > i svg { width: 21px; height: 21px; stroke: var(--blue); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lcard b { display: block; color: var(--ink); font-weight: 500; font-size: 15px; }
.lcard span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.lcard > svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 2; opacity: .7; }

/* storage usage */
.usage { padding: 20px 22px; }
.meters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.meter-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.meter-h b { color: var(--ink); font-weight: 500; }
.meter-n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter-n b { font-size: 20px; font-weight: 600; }
.meter-p { font-size: 12.5px; color: var(--blue-d); font-weight: 500; }
.meter-bar { height: 10px; background: var(--surface2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.meter-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.meter.warn .meter-bar i { background: var(--warn); } .meter.warn .meter-p { color: var(--warn); }
.meter.bad .meter-bar i { background: var(--bad); } .meter.bad .meter-p { color: var(--bad); }
.meter-d { color: var(--muted); line-height: 1.75; font-size: 13px; }
.meter-d b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

.foot { font-size: 12.5px; color: var(--muted); text-align: center; }
.login .brand { margin-bottom: 4px; }
.login .panel p { margin: 0; }

@media (max-width: 1020px) { .att { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hub { padding: 20px 16px 48px; gap: 26px; }
  .feat, .meters { grid-template-columns: 1fr; }
  .att { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hello .date { text-align: left; }
}
@media (max-width: 520px) {
  .top .who .nm { display: none; } .att b { font-size: 26px; }
  .fcard { grid-template-columns: 1fr; gap: 12px; padding: 18px; } .fcard > i { width: 48px; height: 48px; } .stats { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .att a, .fcard, .fcard .open svg { transition: none; } }

/* team accounts */
#staff table td, #staff table th { vertical-align: middle; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.roles div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.roles b { color: var(--ink); font-weight: 500; font-size: 14px; }
.roles span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
