.cc-workspace {
  margin: 28px 0 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(123, 167, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 37, 61, 0.96), rgba(9, 23, 38, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}
.cc-workspace h2 {
  margin: 0;
  font-size: 30px;
  max-width: 780px;
}
.cc-workspace p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  max-width: 800px;
}
.cc-workspace-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cc-platform-card {
  border: 1px solid rgba(85, 214, 190, 0.22);
  border-radius: 20px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(7, 26, 42, 0.9), rgba(8, 19, 33, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
}
.cc-platform-badge {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(85, 214, 190, 0.25);
  border-radius: 999px;
  padding: 6px 9px;
  margin-bottom: 15px;
}
.cc-platform-card > strong {
  font-size: 21px;
}
.cc-platform-card > span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}
.cc-platform-pulse {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #c8d7e6;
  font-size: 11px;
}
.cc-platform-pulse i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(85, 214, 190, 0.09);
}
.cc-section {
  margin-top: 34px;
}
.cc-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.cc-resource-card,
.cc-host-card,
.cc-payment-card,
.cc-doc-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 30, 48, 0.96), rgba(9, 21, 35, 0.98));
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}
.cc-resource-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
}
.cc-resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cc-resource-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #152b42;
  border: 1px solid #28445f;
  color: var(--accent);
  font-weight: 900;
}
.cc-resource-card > small,
.cc-doc-card small {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 14px;
}
.cc-resource-card h3,
.cc-payment-card h3,
.cc-doc-card h3 {
  margin: 6px 0 0;
  font-size: 18px;
}
.cc-resource-card p,
.cc-payment-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.cc-resource-actions {
  margin-top: auto;
}
.cc-managed {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 10px;
  background: #102337;
  color: #9fb3c7;
  font-size: 11px;
}
.cc-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 850;
  border: 1px solid;
}
.cc-status.online {
  color: var(--accent);
  background: rgba(85, 214, 190, 0.08);
  border-color: rgba(85, 214, 190, 0.28);
}
.cc-status.available {
  color: var(--accent2);
  background: rgba(123, 167, 255, 0.08);
  border-color: rgba(123, 167, 255, 0.28);
}
.cc-status.attention {
  color: var(--gold);
  background: rgba(229, 189, 102, 0.08);
  border-color: rgba(229, 189, 102, 0.28);
}
.cc-status.offline {
  color: var(--danger);
  background: rgba(255, 125, 136, 0.08);
  border-color: rgba(255, 125, 136, 0.28);
}
.cc-host-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.cc-host-card small,
.cc-host-card strong,
.cc-host-card span {
  display: block;
}
.cc-host-card small {
  color: var(--muted);
}
.cc-host-card strong {
  font-size: 24px;
  margin: 7px 0 4px;
}
.cc-host-card span {
  font-size: 11px;
  color: #b5c5d5;
}
.cc-meter {
  height: 7px;
  border-radius: 999px;
  background: #071421;
  margin-top: 13px;
  overflow: hidden;
}
.cc-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: inherit;
  transition: width 0.3s ease;
}
.cc-host-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}
.cc-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.cc-payment-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}
.cc-payment-card > strong {
  font-size: 11px;
  color: #c6d5e3;
  text-align: right;
  max-width: 45%;
}
.cc-doc-search {
  min-width: 260px;
}
.cc-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.cc-doc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cc-doc-card small {
  margin-top: 0;
}
.cc-doc-card dl {
  margin: 0;
  display: grid;
  gap: 7px;
}
.cc-doc-card dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
}
.cc-doc-card dt {
  color: var(--muted);
  font-size: 10px;
}
.cc-doc-card dd {
  margin: 0;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cc-doc-card button {
  margin-top: auto;
  align-self: flex-start;
}
.cc-loading {
  grid-column: 1/-1;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 1240px) {
  .cc-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-host-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc-docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .cc-workspace {
    grid-template-columns: 1fr;
  }
  .cc-payment-grid {
    grid-template-columns: 1fr;
  }
  .cc-platform-card {
    min-height: auto;
  }
}
@media (max-width: 640px) {
  .cc-workspace {
    padding: 20px;
  }
  .cc-workspace h2 {
    font-size: 25px;
  }
  .cc-resource-grid,
  .cc-host-grid,
  .cc-docs-grid {
    grid-template-columns: 1fr;
  }
  .cc-doc-search {
    min-width: 0;
    width: 100%;
  }
  .cc-payment-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .cc-payment-card > strong {
    max-width: none;
    text-align: left;
  }
}
