/* Showcase pages (docs/showcase.mjs): layout on top of GGDS components, from GGDS tokens only. */
.sc-layout { display: grid; gap: var(--ggds-space-8); align-items: start; }
.sc-layout > * { min-width: 0; }

/* The theme picker. */
.sc-themebar { background: var(--ggds-color-surface-sunken); border-bottom: 1px solid var(--ggds-color-border-subtle); }
.sc-themebar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ggds-space-2) var(--ggds-space-3); padding-block: var(--ggds-space-2); }
.sc-themebar__label { font-weight: 700; font-size: var(--ggds-font-size-sm); }
.sc-themebar__select { width: auto; max-width: 100%; margin: 0; }
@media (min-width: 64rem) {
  .sc-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .sc-layout--filters { grid-template-columns: 16rem minmax(0, 1fr); }
}
.sc-narrow { max-width: 34rem; }
.sc-aside { background: var(--ggds-color-surface-sunken); border-radius: var(--ggds-radius-lg); padding: var(--ggds-space-6); border-top: 4px solid var(--ggds-color-institution); }
.sc-aside > :last-child { margin-bottom: 0; }
.sc-layout .ggds-disclosure { margin-bottom: var(--ggds-space-8); }
.sc-aside--alert { border-top-color: var(--ggds-color-status-danger-strong); }
.sc-aside__title { display: flex; align-items: center; gap: var(--ggds-space-2); margin-top: 0; font-size: var(--ggds-font-size-xl); }
.sc-ticks, .sc-downloads, .sc-messages { list-style: none; padding: 0; margin: 0 0 var(--ggds-space-6); }
.sc-ticks li { display: flex; align-items: center; gap: var(--ggds-space-2); margin-bottom: var(--ggds-space-2); }
.sc-eyebrow, .sc-place { display: flex; align-items: center; gap: var(--ggds-space-2); color: var(--ggds-color-text-muted); font-weight: 700; margin-bottom: var(--ggds-space-2); }

/* A chart that is a table: GGDS meters, with the normal in its own column. */
.sc-chart td:nth-child(3) { min-width: 14rem; }

.sc-card-tag { margin: 0 0 var(--ggds-space-2); }
.ggds-card .ggds-progress { margin: var(--ggds-space-3) 0 0; }
@media (min-width: 48rem) { .sc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The forecast. */
.sc-forecast { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: var(--ggds-space-3); list-style: none; padding: 0; margin: 0 0 var(--ggds-space-8); }
.sc-forecast__day { text-align: center; padding: var(--ggds-space-4); border-radius: var(--ggds-radius-md); background: var(--ggds-color-surface-sunken); color: var(--ggds-color-institution); }
.sc-forecast__day p { margin: 0; color: var(--ggds-color-text); }
.sc-forecast__day .sc-forecast__name { font-weight: 700; margin-bottom: var(--ggds-space-2); }
.sc-forecast__mm { font-weight: 700; font-size: var(--ggds-font-size-lg); }

.sc-call { display: flex; flex-direction: column; margin-bottom: var(--ggds-space-4); }
.sc-call__number { font-size: var(--ggds-font-size-2xl); font-weight: 700; }

/* Messages. */
.sc-messages__item { padding: var(--ggds-space-3) 0 var(--ggds-space-3) var(--ggds-space-4); border-bottom: 1px solid var(--ggds-color-border-subtle); border-left: 4px solid transparent; }
.sc-messages__item--new { border-left-color: var(--ggds-color-institution); }
.sc-messages__item--new .sc-messages__title { font-weight: 700; }
.sc-messages__title, .sc-messages__meta { margin: 0; }
.sc-messages__meta { color: var(--ggds-color-text-muted); font-size: var(--ggds-font-size-sm); }

/* Book an appointment. */
.sc-slot { display: inline-block; margin-left: var(--ggds-space-2); font-size: var(--ggds-font-size-sm); color: var(--ggds-color-status-success-strong); font-weight: 700; }
.sc-slot--full { color: var(--ggds-color-text-muted); }
.sc-wide { width: 100%; }
.sc-muted { color: var(--ggds-color-text-muted); font-size: var(--ggds-font-size-sm); font-weight: 400; }
.sc-search { max-width: 40rem; }

/* A register's answer: one line people can trust at a glance. */
.sc-verdict { margin: 0 0 var(--ggds-space-8); padding: var(--ggds-space-6); border-radius: var(--ggds-radius-lg); background: var(--ggds-color-status-success-subtle); border-left: 6px solid var(--ggds-color-status-success-strong); }
.sc-verdict__title { display: flex; align-items: center; gap: var(--ggds-space-2); margin: 0 0 var(--ggds-space-1); color: var(--ggds-color-status-success-strong); font-size: var(--ggds-font-size-xl); font-weight: 700; }
.sc-verdict__text { margin: 0; }
@media (min-width: 48rem) { .sc-wide { width: auto; } }

