@use '../tokens' as t; .zone { @include t.column(t.space(2), center); @include t.transition(background-color, border-color); position: relative; border: t.stroke(thick) dashed t.role('line'); border-radius: t.radius(lg); background: t.role('surface'); padding-block: t.space(8); padding-inline: t.space(6); text-align: center; cursor: pointer; // The hidden input keeps the focus, so the ring has to be drawn on the surface around it. &:focus-within { border-color: t.role('accent'); outline: t.stroke(thick) solid t.role('accent'); outline-offset: t.stroke(thick); } &[data-over='true'] { border-color: t.role('accent'); border-style: solid; background: t.role('bg-soft'); } // Dimmed directly: `@include t.disabled` appends `:disabled`, which a `