* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2933;
}

.topbar {
  height: 62px;
  background: #0b78c2;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.brand-title {
  font-size: 19px;
  font-weight: 650;
}

.brand-subtitle {
  font-size: 12px;
  opacity: .88;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search {
  width: 330px;
  max-width: 42vw;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.16);
  color: #fff;
  outline: none;
}

.search::placeholder {
  color: rgba(255,255,255,.84);
}

.login-btn {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.16);
  color: #fff;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: default;
}

.layout {
  display: flex;
  min-height: calc(100vh - 62px);
}

.sidebar {
  width: 260px;
  background: #fff;
  border-right: 1px solid #e3e9f2;
  padding: 18px;
}

.share-box,
.storage-box {
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  padding: 14px;
  background: #fbfdff;
  font-size: 13px;
  color: #52606d;
}

.share-title {
  color: #1f2933;
  font-weight: 650;
  margin-bottom: 8px;
}

.share-line {
  margin: 6px 0;
}

.online {
  color: #16803c;
  font-weight: 600;
}

.menu-title {
  margin: 22px 0 8px;
  color: #8a97a8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334e68;
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 14px;
}

.menu-item span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa5b1;
}

.menu-item.active {
  background: #eaf5fc;
  color: #0b78c2;
  font-weight: 650;
}

.menu-item.active span {
  background: #0b78c2;
}

.storage-box {
  margin-top: 24px;
}

.progress {
  margin: 10px 0 8px;
  height: 8px;
  background: #d8e2ee;
  border-radius: 999px;
  overflow: hidden;
}

.progress div {
  height: 100%;
  width: 43%;
  background: #0b78c2;
}

.content {
  flex: 1;
  padding: 24px;
}

.hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 560;
}

.hero p {
  margin: 0;
  color: #62748a;
}

.status-card {
  min-width: 270px;
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-card span {
  display: block;
  margin-top: 4px;
  color: #62748a;
  font-size: 13px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #1f9d55;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(31,157,85,.12);
}

.panel,
.card {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.panel {
  overflow: hidden;
}

.panel-head {
  padding: 14px 16px;
  background: #fbfdff;
  border-bottom: 1px solid #edf2f7;
  display: flex;
  justify-content: space-between;
  color: #69778a;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  text-align: left;
  padding: 12px 16px;
  color: #52606d;
  border-bottom: 1px solid #edf2f7;
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid #f0f4f8;
  color: #334e68;
}

tr:hover td {
  background: #fafcff;
}

.name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1f2933;
  font-weight: 520;
}

.icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.folder { background: #f0b429; }
.xls { background: #2f855a; }
.pdf { background: #d64545; }
.video { background: #4c63b6; }
.zip { background: #805ad5; }

.pill {
  display: inline-block;
  background: #eaf5fc;
  color: #0b78c2;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 650;
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 18px;
}

.card {
  padding: 18px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.card p,
.meta {
  margin: 9px 0;
  color: #52606d;
  font-size: 14px;
}

@media (max-width: 980px) {
  .sidebar {
    display: none;
  }

  .content {
    padding: 16px;
  }

  .hero,
  .cards {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .search {
    width: 220px;
  }
}