/*
 * Daryng Workspace launcher alignment
 *
 * Presentation-only convergence with the shared Daryng visual language.
 * Workspace remains a thin launcher; Product workflow and authority stay outside it.
 */

:root {
  --ink: #334155;
  --ink-soft: #64748b;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --action: #6366f1;
  --action-hover: #4f46e5;
  --accent: #6366f1;
  --focus: #6366f1;
  --shadow-soft: 0 12px 32px rgba(15, 39, 71, 0.08);
}

body {
  background: #f4f6f9;
}

body::after {
  opacity: 0.018;
}

.wallpaper::before {
  background: rgba(244, 246, 249, 0.78);
}

.wallpaper span {
  opacity: 0.22;
}

.status-bar {
  top: 0;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding-inline: clamp(16px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 4px 18px rgba(15, 39, 71, 0.05);
  backdrop-filter: blur(14px);
}

.os-brand img {
  width: 36px;
  height: 38px;
  filter: none;
}

.os-brand:hover img {
  transform: none;
}

.status-button {
  min-height: 40px;
  border-radius: 10px;
  background: #fff;
}

.command-button {
  min-width: 150px;
}

.account-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #0f2747;
}

.home-screen {
  width: min(100%, 1360px);
  min-height: calc(100dvh - 64px);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 48px) 96px;
}

.home-meta {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  max-width: 1240px;
  min-height: 0;
  margin: 0 auto 36px;
  gap: 32px;
}

.home-meta::before {
  display: none;
}

.greeting,
.section-kicker {
  color: var(--accent);
  letter-spacing: 0.09em;
}

.home-meta h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1;
}

.home-meta h1 span {
  color: #0f2747;
  -webkit-text-stroke: 0;
}

.workspace-context {
  margin-top: 12px;
  font-size: 0.82rem;
}

.hero-console {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.network-line {
  min-height: 38px;
  padding-inline: 4px;
}

.hero-command {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
}

.hero-command:hover:not(:disabled) {
  border-color: var(--line-strong);
  box-shadow: none;
  transform: none;
}

.edit-banner {
  max-width: 1240px;
  margin: 0 auto 28px;
  border-radius: 12px;
}

.products-section,
.shortcuts-section,
.operational-section,
.attention-section,
.recent-section,
.activity-layout {
  max-width: 1240px;
}

.section-heading {
  align-items: center;
  margin-bottom: 16px;
}

.section-heading h2 {
  max-width: none;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 14px;
}

.product-tile,
.product-tile:nth-child(2) {
  grid-column: auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 39, 71, 0.05);
}

.product-tile::before,
.product-tile::after {
  display: none;
}

.product-tile:hover {
  border-color: var(--line-strong);
}

.product-mark {
  border-radius: 12px;
}

.product-launch {
  min-height: 150px;
}

.text-button,
.done-button,
.primary-button {
  border-radius: 10px;
}

.done-button,
.primary-button {
  background: #0f2747;
}

.done-button:hover,
.primary-button:hover {
  background: #173a66;
}

@media (max-width: 900px) {
  .status-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .clock {
    display: none;
  }

  .home-meta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-console {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .status-bar {
    min-height: 58px;
    padding-inline: 12px;
  }

  .command-button span,
  .edit-toggle {
    display: none;
  }

  .command-button {
    min-width: 40px;
    width: 40px;
    padding: 0;
    place-items: center;
  }

  .command-button kbd {
    display: none;
  }

  .account-summary > span:last-child {
    display: none;
  }

  .home-screen {
    padding: 22px 14px 72px;
  }

  .home-meta h1 {
    font-size: 2rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .section-heading > p {
    max-width: none;
    text-align: left;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
