/* Grafik Zajęć – front end */
.gz-grafik,
.gz-modal {
	--gz-ink: #111;
	--gz-muted: #6b6b6b;
	--gz-line: #e4e4e4;
	--gz-soft: #f2f2f2;
	--gz-badge: #f26b3a;
	--gz-display: 'GZ Display', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
	--gz-text: 'GZ Text', 'Helvetica Neue', Arial, sans-serif;
	color: var(--gz-ink);
	font-family: var(--gz-text);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.gz-grafik *,
.gz-grafik *::before,
.gz-grafik *::after,
.gz-modal *,
.gz-modal *::before,
.gz-modal *::after {
	box-sizing: inherit;
}

/* Theme resets */
.gz-grafik button,
.gz-modal button {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	min-height: 0;
	padding: 0;
	text-align: inherit;
	text-shadow: none;
	text-transform: none;
	width: auto;
}
.gz-grafik h2, .gz-grafik h3, .gz-grafik p,
.gz-modal h2, .gz-modal h3, .gz-modal p,
.gz-modal ul, .gz-modal fieldset, .gz-modal legend {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
/* Theme hardening: themes often style h2/h3/p/label/small (italics, white text, own fonts). */
.gz-grafik *,
.gz-modal * {
	font-style: normal;
	text-shadow: none;
}
.gz-modal .gz-desc em,
.gz-modal .gz-desc i {
	font-style: italic;
}
.gz-grafik h2, .gz-grafik h3,
.gz-modal h2, .gz-modal h3 {
	color: var(--gz-ink);
	font-weight: 400;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
}
.gz-grafik p, .gz-grafik li, .gz-grafik span, .gz-grafik small, .gz-grafik strong, .gz-grafik label,
.gz-modal p, .gz-modal li, .gz-modal span, .gz-modal small, .gz-modal strong, .gz-modal label, .gz-modal legend {
	color: inherit;
}
.gz-grafik p,
.gz-modal p,
.gz-modal li {
	font-size: inherit;
	line-height: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
}
.gz-modal .gz-desc strong,
.gz-modal .gz-desc b {
	font-weight: 600;
}

/* White panel (default) – keeps the timetable readable on coloured theme backgrounds. */
.gz-grafik.gz-panel {
	background: #fff;
	padding: 34px 40px 44px;
}
.gz-grafik svg,
.gz-modal svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: none;
}
.gz-grafik :focus-visible,
.gz-modal :focus-visible {
	outline: 2px solid var(--gz-badge);
	outline-offset: 2px;
}

.gz-grafik {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px 0 40px;
}
.gz-grafik .gz-loading {
	padding: 60px 0;
	text-align: center;
	color: var(--gz-muted);
}

/* Week header */
.gz-grafik .gz-head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 4px 0 26px;
}
.gz-grafik .gz-arrow {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid var(--gz-ink);
	background: #fff;
	transition: background 0.15s, color 0.15s;
}
.gz-grafik .gz-arrow svg {
	width: 22px;
	height: 22px;
}
.gz-grafik .gz-arrow:hover {
	background: var(--gz-ink);
	color: #fff;
}
.gz-grafik .gz-week {
	text-align: center;
	min-width: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}
.gz-grafik .gz-eyebrow,
.gz-modal .gz-eyebrow {
	font-family: var(--gz-text);
	font-weight: 400;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gz-muted);
}
.gz-grafik .gz-week strong {
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.01em;
	line-height: 1.2;
}
.gz-grafik .gz-linkbtn,
.gz-modal .gz-linkbtn {
	font-size: 13px;
	font-weight: 400;
	color: var(--gz-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gz-grafik .gz-linkbtn:hover,
.gz-modal .gz-linkbtn:hover {
	color: var(--gz-ink);
}

/* Toolbar: filters + view switch */
.gz-grafik .gz-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 28px;
	padding: 0 0 22px;
}
.gz-grafik .gz-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.gz-grafik .gz-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px 7px;
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	background: #fff;
	transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.gz-grafik .gz-chip:hover {
	border-color: var(--gz-ink);
}
.gz-grafik .gz-chip.is-active {
	background: var(--gz-ink);
	border-color: var(--gz-ink);
	color: #fff;
}
.gz-grafik .gz-dot,
.gz-modal .gz-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	display: inline-block;
	flex: none;
}
.gz-grafik .gz-chip.is-active .gz-dot {
	box-shadow: 0 0 0 1.5px #fff;
}
.gz-grafik .gz-switch {
	display: inline-flex;
	border: 1.5px solid var(--gz-ink);
}
.gz-grafik .gz-switch button {
	font-family: var(--gz-display);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 10px 16px 9px;
	line-height: 1;
}
.gz-grafik .gz-switch button.is-active {
	background: var(--gz-ink);
	color: #fff;
}

/* Filters: category + level */
.gz-grafik .gz-filters {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	min-width: 0;
	max-width: 100%;
}
.gz-grafik .gz-chips--levels {
	align-items: center;
}
.gz-grafik .gz-chips-label {
	font-family: var(--gz-text);
	font-weight: 400;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gz-muted);
	margin-right: 4px;
}
.gz-grafik .gz-chip--sm {
	padding: 6px 12px 5px;
	font-size: 13px;
	gap: 6px;
}
.gz-grafik .gz-chip .gz-bars {
	width: 14px;
	height: 14px;
}
.gz-grafik .gz-chip.is-active .gz-bars rect {
	fill: #fff;
}

/* Day tabs */
.gz-grafik .gz-tabs {
	display: flex;
	justify-content: center;
	border-top: 1px solid var(--gz-line);
	border-bottom: 1px solid var(--gz-line);
	margin-bottom: 40px;
	overflow-x: auto;
	scrollbar-width: none;
}
.gz-grafik .gz-tabs::-webkit-scrollbar {
	display: none;
}
.gz-grafik .gz-tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 16px 30px 14px;
	min-width: 84px;
	position: relative;
	transition: background 0.15s, color 0.15s;
}
.gz-grafik .gz-tab-name {
	font-family: var(--gz-display);
	font-size: 14px;
	letter-spacing: 0.12em;
	line-height: 1;
}
.gz-grafik .gz-tab-name .gz-s {
	display: none;
}
.gz-grafik .gz-tab-date {
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}
.gz-grafik .gz-tab:hover {
	background: var(--gz-soft);
}
.gz-grafik .gz-tab.is-empty {
	color: #a9a9a9;
}
.gz-grafik .gz-tab.is-today::after {
	content: '';
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: var(--gz-badge);
}
.gz-grafik .gz-tab.is-active,
.gz-grafik .gz-tab.is-active:hover {
	background: var(--gz-ink);
	color: #fff;
}

/* Rooms */
.gz-grafik .gz-rooms {
	display: grid;
	grid-template-columns: repeat(var(--gz-cols, 2), minmax(0, 1fr));
	gap: 34px;
	align-items: start;
}
.gz-grafik .gz-room {
	border: 1px solid var(--gz-line);
	padding: 30px;
	background: #fff;
}
.gz-grafik .gz-room-name {
	background: var(--gz-soft);
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 26px;
	letter-spacing: 0.08em;
	line-height: 1.1;
	text-transform: uppercase;
	text-align: center;
	padding: 17px 12px 15px;
	margin-bottom: 24px;
	color: var(--gz-ink);
}
.gz-grafik .gz-room-empty {
	color: var(--gz-muted);
	text-align: center;
	padding: 18px 0 6px;
	font-size: 15px;
}
.gz-grafik .gz-empty {
	text-align: center;
	color: var(--gz-muted);
	padding: 60px 0 40px;
	font-size: 17px;
}
.gz-grafik .gz-empty svg {
	width: 36px;
	height: 36px;
	margin-bottom: 10px;
	stroke-width: 1.2;
}

/* Cards */
.gz-grafik .gz-card {
	display: block;
	position: relative;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1px solid var(--gz-line);
	border-top: 4px solid var(--gz-c, var(--gz-ink));
	padding: 36px 20px 20px;
	transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.gz-grafik .gz-card + .gz-card {
	margin-top: 16px;
}
.gz-grafik .gz-card:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
	transform: translateY(-2px);
	border-left-color: #cfcfcf;
	border-right-color: #cfcfcf;
	border-bottom-color: #cfcfcf;
}
.gz-grafik .gz-card-title {
	display: block;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 17px;
	letter-spacing: 0.05em;
	line-height: 1.25;
	text-transform: uppercase;
	margin-bottom: 16px;
}
.gz-grafik .gz-card-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 18px;
}
.gz-grafik .gz-m {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	line-height: 1.15;
	color: #2b2b2b;
	min-width: 0;
}
.gz-grafik .gz-m:first-child span {
	white-space: nowrap;
}
.gz-grafik .gz-m svg {
	width: 18px;
	height: 18px;
	color: var(--gz-c, var(--gz-ink));
}
.gz-grafik .gz-badge,
.gz-modal .gz-badge {
	display: inline-block;
	background: var(--gz-badge);
	color: #fff;
	font-family: var(--gz-display);
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 1;
	padding: 6px 9px 5px;
	text-transform: uppercase;
	white-space: nowrap;
}
.gz-grafik .gz-badge.is-grey,
.gz-modal .gz-badge.is-grey {
	background: #8a8a8a;
}
.gz-grafik .gz-card > .gz-badge {
	position: absolute;
	top: 9px;
	right: 10px;
}
.gz-grafik .gz-card.is-cancelled .gz-card-title,
.gz-grafik .gz-card.is-cancelled .gz-card-meta,
.gz-grafik .gz-card.is-cancelled .gz-card-time,
.gz-grafik .gz-card.is-cancelled .gz-card-sub {
	opacity: 0.45;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

/* Level bars icon */
.gz-grafik .gz-bars rect,
.gz-modal .gz-bars rect {
	stroke: none;
	fill: currentColor;
	opacity: 0.25;
}
.gz-grafik .gz-bars rect.on,
.gz-modal .gz-bars rect.on {
	opacity: 1;
}
.gz-modal .gz-bars--inv rect {
	fill: #fff;
}

/* Week view */
.gz-grafik .gz-weekgrid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
	border-top: 1px solid var(--gz-line);
	padding-top: 24px;
}
.gz-grafik .gz-wday-head {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 14px;
	letter-spacing: 0.12em;
	padding: 12px 6px 11px;
	background: var(--gz-soft);
	margin-bottom: 10px;
	line-height: 1;
}
.gz-grafik .gz-wday-head small {
	font-family: var(--gz-text);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
}
.gz-grafik .gz-wday.is-today .gz-wday-head {
	background: var(--gz-ink);
	color: #fff;
}
.gz-grafik .gz-card--mini {
	border-top-width: 1px;
	border-left: 4px solid var(--gz-c, var(--gz-ink));
	padding: 11px 11px 12px;
}
.gz-grafik .gz-card--mini + .gz-card--mini {
	margin-top: 8px;
}
.gz-grafik .gz-card-time {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 5px;
	line-height: 1.2;
}
.gz-grafik .gz-card--mini .gz-card-title {
	font-family: var(--gz-text);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.25;
	margin-bottom: 5px;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.gz-grafik .gz-card-sub {
	display: block;
	font-size: 13px;
	line-height: 1.3;
	color: var(--gz-muted);
}
.gz-grafik .gz-card--mini > .gz-badge {
	position: static;
	margin-top: 8px;
	font-size: 9px;
	padding: 5px 7px 4px;
	white-space: normal;
}

/* ---------- Modal ---------- */
html.gz-noscroll,
html.gz-noscroll body {
	overflow: hidden;
}
.gz-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}
.gz-modal[hidden] {
	display: none;
}
.gz-modal .gz-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.6);
	opacity: 0;
	transition: opacity 0.2s;
}
.gz-modal .gz-modal-box {
	position: relative;
	background: #fff;
	width: 100%;
	max-width: 1080px;
	max-height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 56px 64px 60px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.2s, transform 0.2s;
}
.gz-modal.gz-open .gz-modal-backdrop,
.gz-modal.gz-open .gz-modal-box {
	opacity: 1;
	transform: none;
}
.gz-modal .gz-close {
	position: absolute;
	top: 14px;
	right: 18px;
	width: 44px;
	height: 44px;
	font-family: var(--gz-text);
	font-size: 38px;
	font-weight: 300;
	line-height: 44px;
	text-align: center;
	z-index: 2;
}
.gz-modal .gz-close:hover {
	color: var(--gz-badge);
}
.gz-modal .gz-m-title {
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: clamp(28px, 4vw, 44px);
	letter-spacing: 0.04em;
	line-height: 1.08;
	text-transform: uppercase;
	padding-right: 40px;
	color: var(--gz-ink);
}
.gz-modal .gz-m-date {
	margin-top: 10px;
	font-size: 18px;
	font-weight: 400;
	color: var(--gz-muted);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.gz-modal .gz-m-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 48px;
	margin-top: 34px;
	align-items: start;
}
.gz-modal .gz-facts {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.gz-modal .gz-facts li {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gz-modal .gz-facts li::before,
.gz-modal .gz-facts li::marker {
	content: none;
	display: none;
}
.gz-modal .gz-ic {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--gz-ink);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.gz-modal .gz-ic svg {
	width: 19px;
	height: 19px;
	stroke-width: 2;
}
.gz-modal .gz-facts b {
	display: block;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
	margin-bottom: 3px;
}
.gz-modal .gz-facts div > span {
	display: block;
	font-size: 18px;
	line-height: 1.35;
	color: #333;
}
.gz-modal .gz-fact-start .gz-ic {
	background: var(--gz-badge);
}
.gz-modal .gz-fact-start div > span {
	font-weight: 400;
	color: var(--gz-ink);
}
.gz-modal .gz-media {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}
.gz-modal .gz-media img {
	display: block;
	width: 100%;
	height: auto;
}
.gz-modal .gz-poster {
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--gz-c, var(--gz-ink));
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	padding: 36px 40px;
	position: relative;
	overflow: hidden;
}
.gz-modal .gz-poster::after {
	content: '';
	position: absolute;
	right: -70px;
	bottom: -90px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.06), 0 0 0 56px rgba(255, 255, 255, 0.04);
}
.gz-modal .gz-poster-cat {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.85;
}
.gz-modal .gz-poster-title {
	font-family: var(--gz-display);
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	max-width: 85%;
}
.gz-modal .gz-poster-when {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.35;
}
.gz-modal .gz-poster .gz-badge {
	background: #fff;
	color: var(--gz-c, var(--gz-ink));
}

/* Buttons */
.gz-modal .gz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--gz-ink);
	color: #fff;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	padding: 20px 36px 19px;
	transition: background 0.15s, transform 0.15s;
}
.gz-modal .gz-btn:hover {
	background: #333;
	color: #fff;
}
.gz-modal .gz-btn:disabled {
	background: #bbb;
	cursor: default;
}
.gz-modal .gz-btn--big {
	margin-top: 34px;
}
.gz-modal .gz-btn--small {
	font-size: 11px;
	padding: 11px 16px 10px;
	border-radius: 6px;
}
.gz-modal .gz-btn--small svg {
	width: 14px;
	height: 14px;
	stroke-width: 2;
}
.gz-modal .gz-btn--block {
	width: 100%;
}
.gz-modal .gz-nosignup {
	margin-top: 30px;
	font-size: 18px;
	font-weight: 400;
}
.gz-modal .gz-desc {
	margin-top: 40px;
	font-size: 18px;
	line-height: 1.65;
	color: #222;
	max-width: 900px;
}
.gz-modal .gz-desc p {
	margin: 0 0 1em;
}
.gz-modal .gz-desc ul {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

/* ---------- Form ---------- */
.gz-modal .gz-formwrap {
	max-width: 640px;
	margin: 0 auto;
}
.gz-modal .gz-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 18px;
}
.gz-modal .gz-back svg {
	width: 16px;
	height: 16px;
}
.gz-modal .gz-form {
	border: 1px solid #222;
	border-top-width: 4px;
	padding: 34px 36px 36px;
	position: relative;
}
.gz-modal .gz-req {
	position: absolute;
	top: 14px;
	right: 18px;
	font-size: 12px;
	color: var(--gz-muted);
}
.gz-modal .gz-f-class {
	font-family: var(--gz-text);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	margin-top: 6px;
	padding-bottom: 12px;
	border-bottom: 1.5px solid var(--gz-ink);
}
.gz-modal .gz-f-sub {
	margin-top: 8px;
	font-size: 14px;
	color: var(--gz-muted);
}
.gz-modal .gz-note {
	margin-top: 22px;
	background: #fff4ee;
	border-left: 3px solid var(--gz-badge);
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 400;
}
.gz-modal .gz-f-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 28px;
}
.gz-modal .gz-field[hidden] {
	display: none;
}
.gz-modal .gz-field {
	display: block;
	margin-top: 24px;
	min-width: 0;
}
.gz-modal .gz-field > span,
.gz-modal .gz-field > legend {
	display: block;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 4px;
	color: var(--gz-ink);
}
.gz-modal .gz-field input,
.gz-modal .gz-field select,
.gz-modal .gz-field textarea {
	display: block;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #9a9a9a;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 10px 0 9px;
	margin: 0;
	font-family: var(--gz-text);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.3;
	color: var(--gz-ink);
	height: auto;
	min-height: 0;
	outline: none;
}
.gz-modal .gz-field select {
	-webkit-appearance: none;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
	background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
	padding-right: 24px;
	cursor: pointer;
}
.gz-modal .gz-field textarea {
	resize: vertical;
}
.gz-modal .gz-field input:focus,
.gz-modal .gz-field select:focus,
.gz-modal .gz-field textarea:focus {
	border-bottom: 2px solid var(--gz-ink);
	padding-bottom: 8px;
}
.gz-modal .gz-field input::placeholder,
.gz-modal .gz-field textarea::placeholder {
	color: #9a9a9a;
}
.gz-modal .gz-field.has-error input,
.gz-modal .gz-field.has-error select,
.gz-modal .gz-field.has-error textarea {
	border-bottom-color: #c62828;
}
.gz-modal .gz-field.has-error > span,
.gz-modal .gz-field.has-error > legend,
.gz-modal .gz-check.has-error {
	color: #c62828;
}
.gz-modal .gz-hint {
	font-size: 13px;
	color: var(--gz-muted);
	margin: 2px 0 12px;
}
.gz-modal .gz-seg {
	display: inline-flex;
	border: 1px solid #bdbdbd;
	margin-top: 8px;
}
.gz-modal .gz-seg label {
	position: relative;
	cursor: pointer;
	margin: 0;
}
.gz-modal .gz-seg input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.gz-modal .gz-seg span {
	display: block;
	padding: 11px 20px 10px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
}
.gz-modal .gz-seg input:checked + span {
	background: var(--gz-ink);
	color: #fff;
}
.gz-modal .gz-seg input:focus-visible + span {
	outline: 2px solid var(--gz-badge);
	outline-offset: 1px;
}
.gz-modal .gz-price {
	display: flex;
	align-items: center;
	gap: 14px;
	border: 1px solid #d0d0d0;
	padding: 16px 18px;
	margin: 0 0 10px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
}
.gz-modal .gz-price:hover {
	border-color: #888;
}
.gz-modal .gz-price input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.gz-modal .gz-price-l {
	flex: 1;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}
.gz-modal .gz-price-v {
	font-size: 22px;
	font-weight: 300;
	white-space: nowrap;
}
.gz-modal .gz-price::before {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid #9a9a9a;
	flex: none;
}
.gz-modal .gz-price:has(input:checked) {
	border-color: var(--gz-ink);
	box-shadow: inset 0 0 0 1px var(--gz-ink);
	background: #fafafa;
}
.gz-modal .gz-price:has(input:checked)::before {
	border-color: var(--gz-ink);
	background: radial-gradient(circle, var(--gz-ink) 0 4px, transparent 4.5px);
}
.gz-modal .gz-price:has(input:focus-visible) {
	outline: 2px solid var(--gz-badge);
	outline-offset: 2px;
}
.gz-modal .gz-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 26px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #444;
	cursor: pointer;
}
.gz-modal .gz-check input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: none;
	accent-color: var(--gz-ink);
}
.gz-modal .gz-check a {
	color: inherit;
	text-decoration: underline;
}
.gz-modal .gz-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.gz-modal .gz-error {
	margin-top: 20px;
	background: #fdecea;
	color: #a11d1d;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 400;
}
.gz-modal .gz-error[hidden] {
	display: none;
}
.gz-modal .gz-form .gz-btn--big {
	margin-top: 24px;
}

/* Success */
.gz-modal .gz-success {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	padding: 30px 0 10px;
}
.gz-modal .gz-success-ic {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--gz-c, var(--gz-ink));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.gz-modal .gz-success-ic svg {
	width: 38px;
	height: 38px;
	stroke-width: 2.4;
}
.gz-modal .gz-success h2 {
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 34px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}
.gz-modal .gz-success p {
	font-size: 18px;
	line-height: 1.55;
}

/* ---------- Responsive ---------- */
/* Editor-only helpers (logged-in users) */
.gz-editor-box,
.gz-editor-links {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	font-style: normal;
	max-width: 1320px;
	margin: 0 auto 18px;
	box-sizing: border-box;
	color: #1d2327;
}
.gz-editor-box {
	background: #fff8e5;
	border: 2px dashed #dba617;
	padding: 18px 22px;
	font-size: 15px;
	line-height: 1.5;
}
.gz-editor-box strong {
	font-size: 17px;
	display: block;
	margin-bottom: 4px;
	color: #1d2327;
}
.gz-editor-box span {
	color: #50575e;
}
.gz-editor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}
.gz-editor-box .gz-editor-btn,
.gz-editor-box .gz-editor-btn:visited {
	display: inline-block;
	background: #111;
	color: #fff;
	border: 2px solid #111;
	border-radius: 0;
	padding: 11px 18px;
	font: 600 14px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	margin: 0;
	height: auto;
	width: auto;
}
.gz-editor-box .gz-editor-btn.is-light {
	background: #fff;
	color: #111;
}
.gz-editor-links {
	margin: 14px auto 0;
	padding: 10px 14px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: center;
}
.gz-editor-links .gz-editor-ok {
	color: #00703c;
	flex-basis: 100%;
}
.gz-editor-links span {
	color: #50575e;
}
.gz-editor-links a,
.gz-editor-links a:visited {
	color: #2271b1;
	text-decoration: underline;
	font-weight: 600;
}
.gz-modal .gz-edit-link,
.gz-modal .gz-edit-link:visited {
	display: inline-block;
	margin-top: 8px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #2271b1;
	text-decoration: underline;
}

@media (max-width: 1100px) {
	.gz-grafik .gz-card-meta {
		justify-content: flex-start;
		gap: 10px 22px;
	}
	.gz-grafik .gz-weekgrid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px 10px;
	}
}
@media (max-width: 820px) {
	.gz-grafik.gz-panel {
		padding: 26px 20px 34px;
	}
	.gz-grafik .gz-rooms {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	.gz-grafik .gz-weekgrid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.gz-grafik .gz-wday.is-empty {
		display: none;
	}
	.gz-grafik .gz-wday-head {
		justify-content: flex-start;
		padding-left: 12px;
	}
	.gz-grafik .gz-card--mini .gz-card-title {
		font-size: 15px;
	}
	.gz-modal .gz-m-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.gz-modal .gz-media {
		order: -1;
	}
	.gz-modal .gz-modal-box {
		padding: 48px 28px 40px;
	}
}
@media (max-width: 560px) {
	.gz-grafik {
		padding-top: 12px;
	}
	.gz-grafik.gz-panel {
		padding: 18px 12px 26px;
	}
	.gz-grafik .gz-head {
		gap: 12px;
	}
	.gz-grafik .gz-week {
		min-width: 0;
		flex: 1;
	}
	.gz-grafik .gz-week strong {
		font-size: 16px;
	}
	.gz-grafik .gz-arrow {
		width: 40px;
		height: 40px;
	}
	.gz-grafik .gz-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		width: 100%;
		padding-bottom: 2px;
		scrollbar-width: none;
	}
	.gz-grafik .gz-chip {
		white-space: nowrap;
	}
	.gz-grafik .gz-filters {
		width: 100%;
		align-items: stretch;
	}
	.gz-grafik .gz-chips-label {
		flex: none;
	}
	.gz-grafik .gz-tabs {
		justify-content: flex-start;
		margin-bottom: 22px;
	}
	.gz-grafik .gz-tab {
		padding: 13px 2px 12px;
		min-width: 0;
		flex: 1 1 0;
	}
	.gz-grafik .gz-tab-name {
		font-size: 13px;
		letter-spacing: 0.06em;
	}
	.gz-grafik .gz-tab-name .gz-l {
		display: none;
	}
	.gz-grafik .gz-tab-name .gz-s {
		display: inline;
	}
	.gz-grafik .gz-tab-date {
		font-size: 11px;
	}
	.gz-grafik .gz-room {
		padding: 16px;
	}
	.gz-grafik .gz-room-name {
		font-size: 20px;
		padding: 13px 10px 11px;
		margin-bottom: 16px;
	}
	.gz-grafik .gz-card:not(.gz-card--mini) {
		padding: 30px 16px 16px;
	}
	.gz-grafik .gz-card-title {
		font-size: 15px;
		margin-bottom: 14px;
	}
	.gz-grafik .gz-m {
		font-size: 14px;
	}
	.gz-modal {
		padding: 0;
		align-items: stretch;
	}
	.gz-modal .gz-modal-box {
		max-height: none;
		height: 100%;
		padding: 54px 18px 32px;
	}
	.gz-modal .gz-close {
		top: 6px;
		right: 6px;
	}
	.gz-modal .gz-facts div > span {
		font-size: 16px;
	}
	.gz-modal .gz-ic {
		width: 38px;
		height: 38px;
	}
	.gz-modal .gz-poster {
		padding: 26px 24px;
	}
	.gz-modal .gz-btn--big {
		width: 100%;
	}
	.gz-modal .gz-desc {
		font-size: 16px;
		margin-top: 30px;
	}
	.gz-modal .gz-form {
		padding: 30px 18px 22px;
	}
	.gz-modal .gz-f-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.gz-modal .gz-f-class {
		font-size: 23px;
	}
	.gz-modal .gz-seg {
		display: flex;
	}
	.gz-modal .gz-seg label {
		flex: 1;
		text-align: center;
	}
	.gz-modal .gz-price {
		padding: 14px;
	}
	.gz-modal .gz-price-v {
		font-size: 19px;
	}
}
/* ---------- hidden helper ---------- */
.gz-grafik [hidden],
.gz-modal [hidden] {
	display: none !important;
}

/* ---------- details window: sign-up row ---------- */
.gz-modal .gz-signup-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 34px;
}
.gz-modal .gz-signup-row .gz-btn--big {
	margin-top: 0;
}
.gz-modal .gz-multi-link,
.gz-modal .gz-multi-link:visited {
	color: var(--gz-ink);
	font-size: 16px;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- partner cards ---------- */
.gz-modal .gz-cardinfo {
	margin-top: 12px;
	padding: 12px 14px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.45;
	border-left: 3px solid #2e7d32;
	background: #eef7ef;
	color: var(--gz-ink);
}
.gz-modal .gz-cardinfo.is-warn {
	border-left-color: var(--gz-badge);
	background: #fff4ee;
}
.gz-modal .gz-cardinfo small {
	font-size: 13px;
	color: var(--gz-muted);
}
.gz-modal .gz-cardline {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}
.gz-modal .gz-cardline svg {
	width: 18px;
	height: 18px;
	color: #2e7d32;
}
.gz-modal .gz-cardline.is-ok {
	color: #1b5e20;
}
.gz-modal .gz-cardline.is-warn {
	color: #a84300;
}

/* ---------- inline form ([formularz_zapisow]) ---------- */
.gz-modal.gz-inline {
	position: static;
	inset: auto;
	z-index: auto;
	display: block;
	padding: 0;
	background: none;
}
.gz-zapisy .gz-modal.gz-inline .gz-form {
	max-width: 860px;
	margin: 0 auto;
}
.gz-zapisy .gz-loading {
	text-align: center;
	color: var(--gz-muted);
	padding: 40px 0;
}
.gz-modal .gz-step {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 6px 0 6px;
	color: var(--gz-ink);
}
.gz-modal .gz-step + .gz-hint {
	margin-bottom: 4px;
}
.gz-modal .gz-form .gz-step:not(:first-of-type) {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--gz-line);
}
.gz-modal .gz-step span {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--gz-ink);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	letter-spacing: 0;
	flex: none;
}
.gz-modal .gz-filters--form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 22px 0 6px;
}
.gz-modal .gz-filters--form .gz-chips {
	justify-content: flex-start;
}
.gz-modal .gz-picklist {
	margin-top: 8px;
}
.gz-modal .gz-picklist.has-error {
	outline: 2px solid #c62828;
	outline-offset: 6px;
}
.gz-modal .gz-pick-day {
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gz-muted);
	margin: 22px 0 8px;
}
.gz-modal .gz-pickwrap {
	border: 1px solid var(--gz-line);
	border-left: 4px solid var(--gz-c, var(--gz-ink));
	margin-bottom: 8px;
	background: #fff;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.gz-modal .gz-pickwrap.is-on {
	border-color: var(--gz-ink);
	border-left-color: var(--gz-c, var(--gz-ink));
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.gz-modal .gz-pickwrap.has-error {
	border-color: #c62828;
	border-left-color: #c62828;
}
.gz-modal .gz-pick {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	cursor: pointer;
	position: relative;
	margin: 0;
}
.gz-modal .gz-pick-cb {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.gz-modal .gz-pick-box {
	width: 24px;
	height: 24px;
	border: 1.5px solid #9a9a9a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	background: #fff;
	color: transparent;
	transition: background 0.15s, border-color 0.15s;
}
.gz-modal .gz-pick-box svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.6;
}
.gz-modal .gz-pick-cb:checked + .gz-pick-box {
	background: var(--gz-ink);
	border-color: var(--gz-ink);
	color: #fff;
}
.gz-modal .gz-pick-cb:focus-visible + .gz-pick-box {
	outline: 2px solid var(--gz-badge);
	outline-offset: 2px;
}
.gz-modal .gz-pick-main {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
	min-width: 0;
}
.gz-modal .gz-pick-title {
	font-family: var(--gz-display);
	font-size: 15px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.25;
}
.gz-modal .gz-pick-sub {
	font-size: 15px;
	color: #444;
	line-height: 1.35;
}
.gz-modal .gz-pick .gz-badge {
	flex: none;
	align-self: flex-start;
}
.gz-modal .gz-pick-details {
	padding: 0 16px 16px 54px;
}
.gz-modal .gz-field--sm {
	margin-top: 8px;
}
.gz-modal .gz-field--sm select {
	font-size: 16px;
	padding: 6px 24px 6px 0;
}
.gz-modal .gz-price--sm {
	padding: 10px 14px;
	margin-bottom: 6px;
}
.gz-modal .gz-price--sm .gz-price-l {
	font-size: 15px;
}
.gz-modal .gz-price--sm .gz-price-v {
	font-size: 18px;
}
.gz-modal .gz-empty-note {
	padding: 20px 0;
	color: var(--gz-muted);
	font-size: 16px;
}
.gz-modal .gz-summary {
	margin-top: 30px;
	background: #f7f7f7;
	border: 1px solid var(--gz-line);
	padding: 18px 20px 14px;
}
.gz-modal .gz-summary-h {
	font-family: var(--gz-display);
	font-weight: 400;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 10px;
	color: var(--gz-ink);
}
.gz-modal .gz-summary-empty {
	color: var(--gz-muted);
	font-size: 15px;
}
.gz-modal .gz-summary-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gz-modal .gz-summary-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0 8px 12px;
	border-left: 3px solid var(--gz-c, var(--gz-ink));
	margin: 0 0 6px;
	background: #fff;
	list-style: none;
}
.gz-modal .gz-summary-list li::before,
.gz-modal .gz-summary-list li::marker {
	content: none;
}
.gz-modal .gz-sum-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 15px;
	line-height: 1.35;
	min-width: 0;
}
.gz-modal .gz-sum-main strong {
	font-weight: 600;
}
.gz-modal .gz-sum-main span {
	color: #444;
}
.gz-modal .gz-sum-main em.is-missing {
	color: #c62828;
	font-weight: 600;
}
.gz-modal .gz-sum-x {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #777;
	flex: none;
}
.gz-modal .gz-sum-x:hover {
	color: #c62828;
}
.gz-modal .gz-sum-x svg {
	width: 16px;
	height: 16px;
	stroke-width: 2;
}
.gz-modal .gz-summary-total {
	margin: 10px 0 4px;
	font-size: 17px;
}
.gz-modal .gz-summary-total strong {
	font-weight: 700;
}
.gz-modal .gz-success-list {
	list-style: none;
	padding: 0;
	margin: 14px 0;
	font-size: 17px;
}
.gz-modal .gz-success-list li {
	list-style: none;
	margin: 4px 0;
}
.gz-modal .gz-success-list li::before {
	content: none;
}
.gz-modal .gz-success-list span {
	color: var(--gz-muted);
}
@media (max-width: 560px) {
	.gz-modal .gz-pick {
		padding: 12px;
		gap: 10px;
	}
	.gz-modal .gz-pick-details {
		padding: 0 12px 14px 12px;
	}
	.gz-modal .gz-pick-title {
		font-size: 13px;
	}
	.gz-modal .gz-pick-sub {
		font-size: 14px;
	}
	.gz-modal .gz-pick .gz-badge {
		display: none;
	}
	.gz-modal .gz-step {
		font-size: 16px;
	}
	.gz-modal .gz-signup-row .gz-btn--big {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gz-grafik *,
	.gz-modal * {
		transition: none !important;
	}
}
.gz-modal .gz-facts div > span strong {
	font-weight: 600;
	white-space: nowrap;
}
