/* Dashboard launcher grid (option 1). Uses legal.css tokens + shell. */
.dashboard-page .dash {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto 96px;
}
.dash-head {
  margin: 0 0 26px;
}
.dash-head h1 {
  font-family: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 6px 0 0;
}
.dash-lead {
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 12px 0 0;
}

.dash-signin {
  border: 1px solid var(--line);
  background: rgba(138, 109, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 20px;
}
.dash-signin p {
  color: var(--mute);
  font-size: 13.5px;
  margin: 0;
}
.dash-signin a {
  color: var(--ink);
  font-weight: 600;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dash-tile {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 152px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 7, 11, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.dash-tile:hover {
  border-color: color-mix(in srgb, var(--acid) 45%, transparent);
  background: rgba(214, 255, 75, 0.05);
  transform: translateY(-2px);
}
.dash-tile:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: 3px;
}
.dash-tile[hidden] {
  display: none;
}

.dash-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(138, 109, 255, 0.14);
  color: var(--violet);
}
.dash-ico svg {
  width: 22px;
  height: 22px;
}
.dash-tile.app .dash-ico {
  background: rgba(214, 255, 75, 0.14);
  color: var(--acid);
}
.dash-tile.acct .dash-ico {
  background: rgba(75, 192, 255, 0.14);
  color: #4bc0ff;
}

.dash-tile h3 {
  font-family: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-tile p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}
.dash-go {
  font-size: 13px;
  font-weight: 600;
  color: #cdcad6;
}
.dash-go::after {
  content: " \2192";
}
.dash-tile:hover .dash-go {
  color: var(--ink);
}

.dash-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acid);
  background: rgba(214, 255, 75, 0.12);
  border-radius: 6px;
  padding: 3px 7px;
}
.dash-tag.soft {
  color: #4bc0ff;
  background: rgba(75, 192, 255, 0.12);
}

@media (max-width: 860px) {
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* Desktop app download. A band under the grid rather than another tile: it is
   one action, not a place to go, and only some accounts ever see it. */
.dash-download {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 7, 11, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dash-download[hidden] {
  display: none;
}
.dash-dl-ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(214, 255, 75, 0.14);
  color: var(--acid);
}
.dash-dl-ico svg {
  width: 22px;
  height: 22px;
}
/* min-width:0 so the copy wraps inside the band instead of widening it. */
.dash-dl-body {
  flex: 1 1 260px;
  min-width: 0;
}
.dash-dl-body h2 {
  font-family: "Sora", "Manrope", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-dl-body p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 0;
}
.dash-dl-go {
  flex: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bg, #07070b);
  background: var(--acid);
  border-radius: 10px;
  padding: 11px 18px;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.dash-dl-go:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.dash-dl-go:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .dash-dl-go { width: 100%; text-align: center; }
}
