/*
 * Platform essentials for themes that bring all their own styling (theme.yaml: base: minimal).
 * Only what platform features need to work: hidden/skip-link/screen-reader helpers, the consent banner,
 * the preview bar and form notices. Everything is overridable from the theme's theme.css.
 */
[hidden]{display:none!important}
.sr-only,.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0}
.skip-link:focus{left:1rem;background:#111;color:#fff;padding:.5rem 1rem;z-index:500}
.preview-bar{position:sticky;top:0;z-index:400;background:#ffd84d;color:#111;text-align:center;font:600 13px/2 system-ui,sans-serif}
.linklike{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}

.notice{padding:.75rem 1rem;border-radius:8px}
.notice--ok{background:#e8f3ec;color:#14532d}
.notice--error{background:#fdecec;color:#7f1d1d}
.form__status:empty{display:none}

.consent{position:fixed;inset:auto 1rem 1rem 1rem;z-index:300;display:flex;justify-content:center;font:15px/1.5 system-ui,sans-serif;color:#111}
.consent[hidden]{display:none}
.consent__box{background:#fff;color:#111;border:1px solid #ddd;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.2);padding:1rem 1.25rem;max-width:720px}
.consent__title{font-size:1.1rem;margin:0 0 .4rem}
.consent__text{margin:0 0 .75rem}
.consent__text a{color:inherit;text-decoration:underline}
.consent__details{display:grid;gap:.5rem;margin:.75rem 0}
.consent__cat{display:flex;gap:.6rem;align-items:flex-start}
.consent__cat span{display:grid}
.consent__cat small{color:#555;font-size:.85rem}
.consent__actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}
.consent__actions button{padding:.5rem 1rem;border-radius:8px;border:1px solid #111;background:#fff;color:#111;font:inherit;cursor:pointer}
.consent__actions [data-consent-action=accept_all]{background:#111;color:#fff}
