/* Pastel clay surfaces. Theme changes swap colors without moving elements. */
html.light body.glw-v5.glw-colorful {
  --cw-bg: #faf8f7;
  --cw-paper: #fffdfc;
  --cw-peach: #fbe9e1;
  --cw-mint: #e6f2e9;
  --cw-purple: #efe9f8;
  --cw-rose: #f8e7ee;
  --cw-sky: #e7f0f9;
  --cw-gold: #f8efd8;
  --cw-shadow: #49385412;
}
html body.glw-v5.glw-colorful {
  --clay-depth: inset 0 1px 2px var(--cw-highlight), 0 8px 24px var(--cw-shadow);
}
html body.glw-v5.glw-colorful .main .grid.g4 > .card,
html body.glw-v5.glw-colorful #main-content .landing-work-card,
html body.glw-v5.glw-colorful #main-content .auth-card {
  border-radius: clamp(22px, 3vw, 36px) !important;
  border-color: transparent !important;
  box-shadow: var(--clay-depth) !important;
}
html body.glw-v5.glw-colorful #main-content .home-collab-card {
  border-radius: clamp(22px, 3vw, 36px) !important;
  background: var(--cw-rose) !important;
  box-shadow: var(--clay-depth) !important;
}
html body.glw-v5.glw-colorful .main .card .card {
  border-radius: 22px !important;
  box-shadow: none !important;
}
html body.glw-v5.glw-colorful .main .admin-home-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  padding: 16px 22px !important;
  border: 0 !important;
  border-radius: 26px !important;
  box-shadow: none !important;
}
html body.glw-v5.glw-colorful .main .admin-home-card .admin-home-copy {
  grid-column: 1 / -1;
}
html body.glw-v5.glw-colorful .main .admin-home-card .admin-home-link {
  grid-column: auto !important;
}
html body.glw-v5.glw-colorful .main .admin-home-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)) !important;
  gap: 12px !important;
}
html body.glw-v5.glw-colorful .main .admin-home-actions {
  box-shadow: none !important;
}
html body.glw-v5.glw-colorful :is(.landing-nav,.mobilebar,.landing-nav nav>a,.sidebar .nav a,.actions > .btn,.hero-actions > .btn) {
  border-radius: 999px !important;
}
html body.glw-v5.glw-colorful .landing-nav .public-mobile-nav nav {
  border-radius: 24px;
}
html body.glw-v5.glw-colorful #main-content .landing-work-photo {
  margin: 12px 12px 0;
  border-radius: 25px !important;
  overflow: hidden;
}

/* The local preview uses the same palette and depth hierarchy. */
body.glw-clay-preview {
  background: #faf8f7;
  --paper: #fffdfc;
  --peach: #fbe9e1;
  --mint: #e6f2e9;
  --lavender: #efe9f8;
  --rose: #f8e7ee;
  --sky: #e7f0f9;
  --gold: #f8efd8;
}
.glw-clay-preview .clay {
  border-color: transparent;
  border-radius: clamp(22px, 3vw, 36px);
  box-shadow: inset 0 1px 2px #ffffffb8, 0 8px 24px #49385412;
}
.glw-clay-preview .visual {
  border-radius: 38px 72px 38px 38px;
}
.glw-clay-preview .summary article {
  box-shadow: none;
}
.glw-clay-preview .work h3 {
  line-height: 1.25;
}
.glw-clay-preview .work.peach h3 { color: #8e3825; font-family: Georgia, serif; }
.glw-clay-preview .work.mint h3 { color: #155749; font-weight: 800; }
.glw-clay-preview .work.lavender h3 { color: #643080; font-family: Consolas, monospace; }
.glw-clay-preview .work.rose h3 { color: #852454; font: italic 700 21px Georgia, serif; }
