.app { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .app:lang(ar) { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; } .header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; } .title { margin: 0; font-size: 1.375rem; font-weight: 700; line-height: 1.2; } .meta { margin: 0.25rem 0 0; font-size: 0.875rem; color: color-mix(in oklab, currentColor 60%, transparent); } /* A segmented control: the view on show sits raised on the track. */ .switch { display: inline-flex; flex-wrap: wrap; min-width: 0; margin: 0; padding: 3px; border: 0; border-radius: 999px; background: color-mix(in oklab, currentColor 7%, transparent); } .switch button { height: 2rem; padding: 0 0.875rem; border: 0; border-radius: 999px; background: none; color: color-mix(in oklab, currentColor 65%, transparent); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; } .switch button[aria-pressed="true"] { background: Canvas; color: inherit; box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }