/* TIME ERP — Website hub (marketing_website.html) */
a.sidebar__item { color: inherit; text-decoration: none; }

.mws-top-checkout {
  height: 32px; padding: 0 14px; border: none; border-radius: 4px;
  background: #25b7a7; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.mws-top-clock {
  font-size: 16px; font-weight: 600; color: #25B7A7;
  font-variant-numeric: tabular-nums; min-width: 46px; text-align: center;
}
.mws-top-icon { color: #25B7A7 !important; }
.mws-profile-caret { width: 14px; height: 14px; color: #94a3b8; flex-shrink: 0; }

.mws-intro {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.mws-intro .hub-intro { margin-bottom: 0; }

.mws-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; user-select: none; flex-shrink: 0; margin-top: 6px;
}
.mws-toggle__label { font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, .65); }
.mws-toggle input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.mws-toggle__track {
  width: 44px; height: 22px; border-radius: 11px; background: #d9d9d9;
  position: relative; transition: background .2s;
}
.mws-toggle__thumb {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s;
}
.mws-toggle input:checked + .mws-toggle__track { background: #25b7a7; }
.mws-toggle input:checked + .mws-toggle__track .mws-toggle__thumb { transform: translateX(22px); }

@media (max-width: 640px) {
  .mws-intro { flex-direction: column; align-items: stretch; }
  .mws-toggle { margin-top: 0; align-self: flex-end; }
}

/* Match Home / Community hub cards */
.hub-page .hub-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.hub-page .hub-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; min-height: 160px; padding: 22px 14px 18px;
  background: #fff; border: 1px solid #e8edf2; border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06); text-align: center;
  text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hub-page .hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 183, 167, .45);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .1);
}
.hub-page .hub-card__art {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e8f8f6, #fff 70%);
  border: 1px solid #e8edf2;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hub-page .hub-card__art img { width: 48px; height: 48px; object-fit: contain; }
.hub-page .hub-card:hover .hub-card__art {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 20px rgba(37, 183, 167, .2);
}
.hub-page .hub-card__title {
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: #0f3d38; line-height: 1.35;
}

@media (max-width: 1200px) {
  .hub-page .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hub-page .hub-grid { grid-template-columns: 1fr; }
}
