/* Greenpeg Quality: theme styles. Same tokens and fonts as the Greenpeg Wellness Wall. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Montech"; src: url("../fonts/montech-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montech"; src: url("../fonts/montech-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Robout"; src: url("../fonts/robout-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Robout"; src: url("../fonts/robout-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Robout"; src: url("../fonts/robout-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Robout"; src: url("../fonts/robout-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--gqw-green: #2AC940;
	--gqw-green-bright: #34F74E;
	--gqw-teal: #2AC9AC;
	--gqw-forest: #354837;
	--gqw-ink: #28332A;
	--gqw-sun: #F4E139;
	--gqw-mint: #C4FFD0;
	--gqw-grey: #B7B7B7;
	--gqw-slate: #495057;

	--gqw-bg: #F5F8F3;
	--gqw-surface: #FFFFFF;
	--gqw-border: #DCE3DA;
	--gqw-focus: 0 0 0 3px rgba(42, 201, 64, .45);
	--gqw-radius: 14px;
	--gqw-shadow: 0 1px 2px rgba(40, 51, 42, .06), 0 8px 24px -12px rgba(40, 51, 42, .25);
	--gqw-hero-overlay: .65;

	--gqw-note-0: #C4FFD0;
	--gqw-note-1: #FAF0A0;
	--gqw-note-2: #BDEFE5;
	--gqw-note-3: #A8EDB3;
	--gqw-note-4: #FFFFFF;

	--gqw-font: "Robout", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gqw-display: "Montech", "Robout", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--gqw-font);
	font-weight: 400;
	color: var(--gqw-ink);
	background: var(--gqw-bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.gqw-skip {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	padding: 10px 16px; border-radius: 8px; background: var(--gqw-sun); color: var(--gqw-ink);
	font-weight: 600; text-decoration: none;
}
.gqw-skip:focus { top: 16px; }

.gqw {
	background:
		radial-gradient(circle at 1px 1px, rgba(53, 72, 55, .09) 1px, transparent 0) 0 0 / 22px 22px,
		var(--gqw-bg);
	min-height: 100vh;
}

/* ---------- Hero ---------- */
.gqw-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--gqw-ink);
	color: #fff;
	padding: clamp(40px, 7vw, 88px) 16px clamp(64px, 9vw, 112px);
}
.gqw-hero::after { /* soft brand glow when there's no image */
	content: "";
	position: absolute; right: -10%; bottom: -60%; z-index: -1;
	width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(42, 201, 64, .35), transparent 65%);
	pointer-events: none;
}
.gqw-hero.has-image::after { display: none; }
.gqw-hero__img {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.gqw-hero.has-image::before { /* overlay keeps the headline readable on any photo */
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg,
		rgba(40, 51, 42, calc(var(--gqw-hero-overlay) + .15)) 0%,
		rgba(40, 51, 42, var(--gqw-hero-overlay)) 45%,
		rgba(40, 51, 42, calc(var(--gqw-hero-overlay) - .2)) 100%);
}

.gqw-hero__inner { max-width: 1320px; margin: 0 auto; }
.gqw-hero__logo { margin-bottom: 28px; }
.gqw-hero__logo img { display: block; height: 40px; width: auto; }
.gqw-hero__inner { position: relative; }

/* Giant outline check mark: the quality "seal", sitting behind the headline. */
.gqw-hero__mark {
	position: absolute; right: max(-60px, calc((100vw - 1320px) / 2 - 40px)); top: 50%; z-index: -1;
	transform: translateY(-50%); font-size: clamp(260px, 38vw, 520px); line-height: 0;
	color: rgba(42, 201, 64, .16); pointer-events: none;
}
.gqw-hero__mark svg { stroke-width: .6; }
.gqw-hero.has-image .gqw-hero__mark { color: rgba(255, 255, 255, .1); }

.gqw-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.gqw-tag {
	margin: 0; display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px;
	border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
	font-family: var(--gqw-display); font-size: 12px; font-weight: 600;
	letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.gqw-tag--solid { background: var(--gqw-green); border-color: var(--gqw-green); color: var(--gqw-ink); }

.gqw-hero__title {
	font-family: var(--gqw-display); font-weight: 700;
	font-size: clamp(38px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.01em;
	margin: 0 0 16px; max-width: 13ch; color: #fff;
}
.gqw-hero__theme {
	display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
	font-family: var(--gqw-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 24px);
	color: var(--gqw-green-bright);
}
.gqw-hero__theme-icon { display: inline-flex; font-size: 1.1em; }
.gqw-hero__subtitle {
	margin: 0 0 26px; font-size: clamp(16px, 2vw, 19px); font-weight: 300;
	max-width: 54ch; color: #E3ECE4;
}

.gqw-hero__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gqw-stat {
	display: inline-flex; gap: 6px; align-items: center; margin: 0;
	padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: #E3ECE4;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.gqw-stat strong { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.gqw-stat--total strong { color: var(--gqw-mint); }
.gqw-stat__icon { display: inline-flex; font-size: 15px; color: var(--gqw-kind-accent); }

/* ---------- Note kinds ---------- */
/* Each kind gets one brand accent, used for its icon and badge. */
.gqw-k-shoutout { --gqw-kind-accent: var(--gqw-green-bright); --gqw-kind-bg: var(--gqw-ink); --gqw-kind-fg: var(--gqw-mint); }
.gqw-k-pledge   { --gqw-kind-accent: var(--gqw-teal); --gqw-kind-bg: var(--gqw-teal); --gqw-kind-fg: var(--gqw-ink); }
.gqw-k-idea     { --gqw-kind-accent: var(--gqw-sun); --gqw-kind-bg: var(--gqw-sun); --gqw-kind-fg: var(--gqw-ink); }

/* ---------- Layout ---------- */
.gqw-main {
	max-width: 1320px; margin: -48px auto 0; padding: 0 16px 56px;
	display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr);
	position: relative; z-index: 2;
}
@media (min-width: 1060px) {
	.gqw-main { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
	.gqw-composer { position: sticky; top: 24px; }
}

/* ---------- Composer ---------- */
.gqw-composer {
	background: var(--gqw-surface); border-radius: var(--gqw-radius);
	box-shadow: var(--gqw-shadow); border: 1px solid var(--gqw-border);
	padding: 24px;
}
.gqw-composer__title { font-family: var(--gqw-display); font-weight: 700; font-size: 24px; margin: 0 0 18px; }

.gqw-field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.gqw-field label, .gqw-field legend, .gqw-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.gqw-optional { font-weight: 400; color: var(--gqw-slate); }
.gqw input[type="text"], .gqw input[type="search"], .gqw input[type="password"], .gqw input[type="email"], .gqw select, .gqw textarea {
	width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zoom */
	color: var(--gqw-ink); background: #FBFCFA;
	border: 1px solid var(--gqw-border); border-radius: 10px; padding: 11px 13px;
	transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.gqw textarea { resize: vertical; min-height: 112px; }
.gqw input::placeholder, .gqw textarea::placeholder { color: #7D857F; }
.gqw select {
	padding-right: 40px; cursor: pointer;
	background: #FBFCFA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2328332A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center;
}
.gqw input:focus, .gqw select:focus, .gqw textarea:focus { outline: none; border-color: var(--gqw-green); box-shadow: var(--gqw-focus); }
.gqw [aria-invalid="true"] { border-color: #C0392B !important; }

.gqw-field .gqw-sublabel { margin-top: 12px; }
.gqw-hint { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--gqw-slate); }
.gqw-field[hidden], .gqw [hidden] { display: none !important; }

/* ---------- Staff search (same pattern as the Greenpeg Awards site) ---------- */
.gqw-combo { position: relative; }
.gqw-combo__icon {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	display: inline-flex; font-size: 17px; color: var(--gqw-ink); pointer-events: none;
}
.gqw .gqw-combo input { padding-left: 42px; }
.gqw-combo__list {
	position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
	list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow-y: auto;
	background: var(--gqw-surface); border: 1px solid var(--gqw-border); border-radius: 12px;
	box-shadow: 0 24px 48px -16px rgba(40, 51, 42, .35);
}
.gqw-combo__opt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.gqw-combo__opt:hover, .gqw-combo__opt[aria-selected="true"] { background: #EEF8EF; }
.gqw-combo__opt[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--gqw-green); }
.gqw-combo__text { display: grid; min-width: 0; line-height: 1.3; }
.gqw-combo__name { font-family: var(--gqw-display); font-weight: 600; font-size: 15px; color: var(--gqw-ink); overflow-wrap: anywhere; }
.gqw-combo__name mark { background: none; color: #1E8F2E; }
.gqw-combo__dept { font-size: 12.5px; color: var(--gqw-slate); }
.gqw-combo__empty { padding: 12px; font-size: 14px; color: var(--gqw-slate); }

.gqw-avatar {
	flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	font-family: var(--gqw-display); font-weight: 600; font-size: 12px; letter-spacing: .04em;
	background: var(--gqw-ink); color: var(--gqw-mint);
}

.gqw-picked, .gqw-me {
	display: flex; align-items: center; gap: 10px; padding: 9px 12px;
	border-radius: 12px; border: 1px solid #BFE8C6; background: #EEF8EF;
}
.gqw-picked .gqw-avatar, .gqw-me .gqw-avatar { background: var(--gqw-green); color: var(--gqw-ink); }
.gqw-picked__text { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.gqw-picked__text strong { font-family: var(--gqw-display); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.gqw-picked__text span { font-size: 12.5px; color: var(--gqw-slate); }
.gqw-me__text { flex: 1; min-width: 0; font-size: 14px; line-height: 1.35; }
.gqw-me__dept { color: var(--gqw-slate); }
.gqw-picked .gqw-link, .gqw-me .gqw-link { font-size: 13px; white-space: nowrap; }

.gqw-counter { margin: 6px 0 0; font-size: 12px; text-align: right; color: var(--gqw-slate); font-variant-numeric: tabular-nums; }
.gqw-counter.is-near { color: #9A6B00; }
.gqw-counter.is-over { color: #C0392B; font-weight: 600; }

.gqw-kinds__list { display: grid; gap: 8px; }
.gqw-field .gqw-kind {
	position: relative; display: flex; margin: 0; gap: 12px; align-items: center; cursor: pointer;
	padding: 10px 12px; border-radius: 12px; border: 1px solid var(--gqw-border); background: #FBFCFA; font-weight: 400;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.gqw-kind input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gqw-kind:hover { border-color: #BFCBBD; }
.gqw-kind:has(input:checked) { border-color: var(--gqw-ink); background: var(--gqw-surface); box-shadow: inset 0 0 0 1px var(--gqw-ink); }
.gqw-kind:has(input:focus-visible) { box-shadow: var(--gqw-focus); }
.gqw-kind__icon {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 10px; font-size: 18px;
	background: var(--gqw-kind-bg); color: var(--gqw-kind-fg);
}
.gqw-kind__text { display: grid; line-height: 1.3; }
.gqw-field .gqw-kind__label, .gqw-kind__label { font-family: var(--gqw-display); font-weight: 600; font-size: 15px; margin: 0; }
.gqw-kind__hint { font-size: 13px; color: var(--gqw-slate); }
.gqw-field[hidden] { display: none; }

.gqw-swatches__list { display: flex; gap: 10px; }
.gqw-swatch {
	position: relative; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(40, 51, 42, .2); background: var(--gqw-note-bg); transition: transform .15s;
}
.gqw-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.gqw-swatch:hover { transform: scale(1.08); }
.gqw-swatch:has(input:checked) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gqw-ink); }
.gqw-swatch:has(input:focus-visible) { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gqw-green); }

.gqw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gqw-form__error {
	margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; font-size: 14px;
	background: #FDECEA; color: #8E2A1F; border: 1px solid #F5C6C0;
}

/* ---------- Buttons ---------- */
.gqw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
	font: inherit; font-weight: 700; font-size: 16px; cursor: pointer;
	transition: background-color .15s, transform .1s, opacity .15s;
}
.gqw-btn:focus-visible { outline: none; box-shadow: var(--gqw-focus); }
.gqw-btn:active { transform: translateY(1px); }
.gqw-btn[disabled] { opacity: .6; cursor: progress; }
/* Ink text on brand green: white on #2AC940 fails WCAG contrast. */
.gqw-btn--primary { width: 100%; background: var(--gqw-green); color: var(--gqw-ink); }
.gqw-btn--primary:hover { background: var(--gqw-green-bright); }
.gqw-btn--ghost { background: transparent; color: var(--gqw-ink); border: 1px solid var(--gqw-border); }
.gqw-btn--ghost:hover { background: #EEF3EC; }

.gqw-link {
	background: none; border: 0; padding: 0; font: inherit; color: var(--gqw-forest);
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.gqw-link:focus-visible { outline: none; box-shadow: var(--gqw-focus); border-radius: 4px; }

/* ---------- Board ---------- */
.gqw-board { min-width: 0; }
@media (min-width: 1060px) { .gqw-board { padding-top: 64px; } }
.gqw-board__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gqw-board__title { font-family: var(--gqw-display); font-weight: 700; font-size: 28px; margin: 0; }
.gqw-search { flex: 1 1 200px; max-width: 300px; }
.gqw .gqw-search input { background: var(--gqw-surface); border-radius: 999px; padding-left: 16px; }

.gqw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.gqw-chip {
	display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--gqw-border); background: var(--gqw-surface);
	font: inherit; font-size: 14px; font-weight: 600; color: var(--gqw-ink); cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.gqw-chip:hover { border-color: var(--gqw-ink); }
.gqw-chip:focus-visible { outline: none; box-shadow: var(--gqw-focus); }
.gqw-chip[aria-pressed="true"] { background: var(--gqw-ink); border-color: var(--gqw-ink); color: #fff; }
.gqw-chip__icon { display: inline-flex; font-size: 15px; color: var(--gqw-ink); }
.gqw-chip[aria-pressed="true"] .gqw-chip__icon { color: var(--gqw-kind-accent); }

/* The notice board itself: green felt in a dark frame. */
.gqw-corkboard {
	position: relative;
	min-height: 360px;
	padding: 34px 24px 28px;
	border-radius: 18px;
	border: 10px solid var(--gqw-ink);
	background:
		radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .06), transparent 40%),
		repeating-radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px),
		repeating-radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .02) 0 1px, transparent 1px 4px),
		var(--gqw-forest);
	box-shadow:
		inset 0 2px 10px rgba(0, 0, 0, .35),
		inset 0 0 0 1px rgba(255, 255, 255, .05),
		0 18px 40px -24px rgba(40, 51, 42, .6);
}
@media (max-width: 559px) {
	.gqw-corkboard { padding: 26px 14px 18px 14px; border-width: 8px; }
}

.gqw-notes { position: relative; min-height: 120px; }

.gqw-threads {
	position: absolute; inset: 0; width: 100%; height: 100%;
	z-index: 2; pointer-events: none; overflow: visible;
}
.gqw-threads--under { z-index: 0; }
.gqw-thread { fill: none; stroke: var(--gqw-sun); stroke-width: 2; stroke-linecap: round; }
.gqw-thread--shadow { stroke: rgba(0, 0, 0, .35); stroke-width: 2.5; transform: translate(1px, 2px); }
.gqw-thread.is-drawing { animation: gqw-draw .7s ease-out both; }
.gqw-pin-shadow { fill: rgba(0, 0, 0, .35); }
@keyframes gqw-draw { to { stroke-dashoffset: 0; } }

.gqw-note {
	--gqw-tilt: 0deg;
	--gqw-origin: 50% 14px;
	position: absolute; top: 0; left: 0; z-index: 1;
	padding: 30px 18px 16px;
	border-radius: 3px 3px 12px 3px;
	background: var(--gqw-note-bg); color: var(--gqw-ink);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .15), 0 12px 20px -12px rgba(0, 0, 0, .55);
	transform: rotate(var(--gqw-tilt));
	transform-origin: var(--gqw-origin); /* rotate around the pin so the thread stays attached */
	transition: box-shadow .2s ease;
}
.gqw-note:hover { box-shadow: 0 2px 3px rgba(0, 0, 0, .15), 0 20px 28px -14px rgba(0, 0, 0, .6); }
.gqw-c0 { --gqw-note-bg: var(--gqw-note-0); }
.gqw-c1 { --gqw-note-bg: var(--gqw-note-1); }
.gqw-c2 { --gqw-note-bg: var(--gqw-note-2); }
.gqw-c3 { --gqw-note-bg: var(--gqw-note-3); }
.gqw-c4 { --gqw-note-bg: var(--gqw-note-4); }

.gqw-note__kind {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 10px 4px 8px;
	border-radius: 999px; background: var(--gqw-kind-bg); color: var(--gqw-kind-fg);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	font-family: var(--gqw-display); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.gqw-note__kind-icon { display: inline-flex; font-size: 13px; }
.gqw-note__to { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--gqw-forest); overflow-wrap: anywhere; }
.gqw-note__msg { margin: 0 0 14px; font-size: 16px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.gqw-note__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--gqw-slate); }
.gqw-note__from { font-weight: 600; color: var(--gqw-forest); overflow-wrap: anywhere; min-width: 0; }
.gqw-note__from::before { content: "From "; font-weight: 400; color: var(--gqw-slate); }
.gqw-note__dept { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--gqw-slate); }
.gqw-note__meta { align-items: flex-end; }
.gqw-note__time { white-space: nowrap; }

.gqw-note.is-new { animation: gqw-pin .55s cubic-bezier(.2, .9, .3, 1.3) both; }
.gqw-note.is-mine { outline: 3px solid var(--gqw-green-bright); outline-offset: 3px; }
.gqw-note.is-leaving { opacity: 0; transition: opacity .25s; }
@keyframes gqw-pin {
	from { opacity: 0; transform: translateY(-18px) scale(.95) rotate(var(--gqw-tilt)); }
	to { opacity: 1; transform: translateY(0) scale(1) rotate(var(--gqw-tilt)); }
}

.gqw-note__remove {
	position: absolute; top: 6px; right: 6px; display: none;
	min-height: 30px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer;
	font: inherit; font-size: 13px; font-weight: 600; background: var(--gqw-ink); color: #fff;
}
.gqw[data-mod="on"] .gqw-note__remove { display: inline-flex; align-items: center; }
.gqw-note__remove:focus-visible { outline: none; box-shadow: var(--gqw-focus); }

/* Loading skeleton */
.gqw[data-state="loading"] .gqw-notes::before {
	content: ""; display: block; height: 180px; border-radius: 8px;
	background: linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.14) 50%, rgba(255,255,255,.06) 100%) 0 0 / 200% 100%;
	animation: gqw-shimmer 1.2s linear infinite;
}
@keyframes gqw-shimmer { to { background-position: -200% 0; } }

.gqw-empty { text-align: center; padding: 48px 20px; color: #DCE7DD; }
.gqw-empty p { margin: 0; }
.gqw-empty__title { font-family: var(--gqw-display); font-weight: 600; font-size: 22px; color: #fff; margin-bottom: 6px !important; }
.gqw-load-error { text-align: center; color: #fff; }
.gqw-load-error .gqw-link { color: var(--gqw-sun); }

/* ---------- Footer ---------- */
.gqw-footer {
	max-width: 1320px; margin: 0 auto; padding: 24px 16px 40px;
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
	border-top: 1px solid var(--gqw-border); font-size: 14px; color: var(--gqw-slate);
}
.gqw-footer p { margin: 0; }
.gqw-footer__mod { font-size: 13px; color: var(--gqw-slate); }

/* ---------- Dialog ---------- */
.gqw-dialog {
	border: 0; border-radius: var(--gqw-radius); padding: 0; width: min(420px, calc(100vw - 32px));
	box-shadow: 0 24px 60px -20px rgba(40, 51, 42, .5); color: var(--gqw-ink); font-family: var(--gqw-font);
}
.gqw-dialog::backdrop { background: rgba(40, 51, 42, .55); }
.gqw-dialog__form { padding: 24px; }
.gqw-dialog h2 { font-family: var(--gqw-display); font-weight: 700; margin: 0 0 6px; font-size: 22px; }
.gqw-dialog p { margin: 0 0 16px; color: var(--gqw-slate); }
.gqw-dialog__actions { display: flex; gap: 10px; justify-content: flex-end; }
.gqw-dialog__actions .gqw-btn--primary { width: auto; }

/* ---------- Toast ---------- */
.gqw-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 1000;
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px;
	background: var(--gqw-ink); color: #fff; font-size: 15px; font-weight: 600;
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
	transition: opacity .2s, transform .2s;
}
.gqw-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Fallback pages (index.php) ---------- */
.gqw-basic__bar { background: var(--gqw-ink); padding: 18px 16px; }
.gqw-basic__home { color: #fff; text-decoration: none; font-weight: 600; }
.gqw-basic__home:hover { color: var(--gqw-green-bright); }
.gqw-basic__main { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.gqw-basic__main h1 { font-family: var(--gqw-display); font-weight: 700; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.gqw-basic__content a { color: var(--gqw-forest); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
