/* Generator oświadczenia o odstąpieniu wg projektu „Wzór odstąpienia.dc.html".
   Lewa kolumna formularz, prawa lepki podgląd dokumentu; print CSS drukuje
   sam dokument. */

.wzor-landing .ws-page__head { display: none; }

.wz { color: #1a1614; }
.wz a { color: #d8410f; text-decoration: none; }
.wz a:hover { color: #b0340c; text-decoration: none; }

.wz-eyebrow {
	font-family: var(--font-mono, monospace);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: #b0340c;
}
.wz-eyebrow--faint { color: #978d83; }

/* ---------- Hero ---------- */
.wz-hero {
	background: #1a1614;
	color: #fff;
	border-radius: 20px;
	position: relative;
	overflow: hidden;
}
.wz-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(180deg, transparent 0 16px, rgba(255, 255, 255, 0.03) 16px 17px);
	pointer-events: none;
}
.wz-hero__in { position: relative; padding: 26px 32px 40px; }
.wz-crumbs {
	font-family: var(--font-mono, monospace);
	font-size: 12px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.45);
	display: flex;
	gap: 8px;
	align-items: center;
}
.wz-crumbs a { color: rgba(255, 255, 255, 0.45); }
.wz-crumbs a:hover { color: #ff9f70; }
.wz-crumbs__here { color: rgba(255, 255, 255, 0.75); }
.wz-hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 48px;
	align-items: end;
	margin-top: 18px;
}
.wz-h1 {
	font-family: var(--font-display, sans-serif);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.06;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0;
	text-wrap: pretty;
}
.wz-lead { font-size: 17.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); margin: 14px 0 0; }
.wz-lead b { color: #fff; }
.wz-steps { display: flex; flex-direction: column; gap: 10px; }
.wz-step {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 13px 15px;
}
.wz-step__num { font-family: var(--font-mono, monospace); font-size: 12px; color: #ff9f70; flex: none; padding-top: 2px; }
.wz-step__title { color: #fff; font-weight: 600; font-size: 14.5px; }
.wz-step__note { color: #978d83; font-size: 13.5px; margin-top: 2px; }

/* ---------- Układ ---------- */
.wz-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
	margin-top: 36px;
}
.wz-h2 {
	font-family: var(--font-display, sans-serif);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1a1614;
	margin: 8px 0 0;
}
.wz-sub { font-size: 15px; line-height: 1.55; color: #6b625a; margin: 6px 0 22px; }

/* Pola */
.wz-fields { display: flex; flex-direction: column; gap: 16px; }
.wz-field { display: flex; flex-direction: column; gap: 6px; }
.wz-field > span { font-size: 13.5px; font-weight: 600; color: #3d362f; }
.wz-field > span em { font-style: normal; font-weight: 400; color: #978d83; }
.wz-field input,
.wz-field textarea {
	border: 1px solid #e6dfd6;
	border-radius: 10px;
	padding: 11px 13px;
	font-family: var(--font-sans, sans-serif);
	font-size: 15px;
	line-height: 1.5;
	color: #1a1614;
	background: #fff;
	outline: none;
}
.wz-field textarea { resize: vertical; }
.wz-field input:focus,
.wz-field textarea:focus { border-color: #f2541b; box-shadow: 0 0 0 3px rgba(242, 84, 27, 0.22); }
.wz-field input::placeholder,
.wz-field textarea::placeholder { color: #c9bfb4; }
.wz-input--mono { font-family: var(--font-mono, monospace) !important; }

.wz-label-toggle {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #e6dfd6;
	border-radius: 12px;
	padding: 14px 16px;
	cursor: pointer;
	text-align: left;
	font-family: var(--font-sans, sans-serif);
}
.wz-label-toggle:hover { border-color: #ffd9be; }
.wz-label-toggle__box {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	border: 1.5px solid #e6dfd6;
	background: #fff;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	margin-top: 1px;
}
.wz-label-toggle.is-on { border-color: #f2541b; }
.wz-label-toggle.is-on .wz-label-toggle__box { background: #f2541b; border-color: #f2541b; }
.wz-label-toggle__title { display: block; font-size: 14.5px; font-weight: 600; color: #1a1614; }
.wz-label-toggle__note { display: block; font-size: 13.5px; line-height: 1.5; color: #6b625a; margin-top: 2px; }

.wz-help { margin-top: 22px; background: #fff; border: 1px solid #efeae3; border-radius: 14px; padding: 18px 20px; }
.wz-help__title { font-weight: 600; font-size: 15.5px; color: #1a1614; }
.wz-help__note { font-size: 14.5px; line-height: 1.55; color: #6b625a; margin-top: 4px; }

/* ---------- Podgląd dokumentu ---------- */
.wz-doc-wrap { position: sticky; top: 96px; }
.wz-doc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.wz-status { font-family: var(--font-mono, monospace); font-size: 11.5px; color: #978d83; }
.wz-status.is-ready { color: #1f8a4c; }

.wz-doc {
	background: #fff;
	border: 1px solid #e6dfd6;
	border-radius: 16px;
	padding: 32px 34px;
	box-shadow: 0 10px 30px rgba(26, 22, 20, 0.06);
}
.wz-doc__head { display: flex; align-items: center; gap: 9px; padding-bottom: 18px; border-bottom: 1px solid #efeae3; }
.wz-doc__logo {
	font-family: var(--font-display, sans-serif);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: -0.02em;
	color: #1a1614;
}
.wz-doc__logo span { color: #f2541b; }
.wz-doc__tag { margin-left: auto; font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 0.08em; color: #b9afa4; }
.wz-doc__label { font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 0.08em; color: #b9afa4; }
.wz-doc > .wz-doc__label { margin-top: 22px; letter-spacing: 0.1em; color: #b0340c; font-size: 11.5px; }
.wz-doc__addressee { font-size: 14.5px; line-height: 1.6; color: #3d362f; margin-top: 6px; }
.wz-doc__statement { font-size: 15px; line-height: 1.65; color: #1a1614; margin: 22px 0 0; }
.wz-doc__items {
	margin-top: 10px;
	background: #fbfaf7;
	border: 1px solid #efeae3;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14.5px;
	line-height: 1.6;
	white-space: pre-wrap;
	color: #c9bfb4;
}
.wz-doc__grid { display: grid; grid-template-columns: auto 1fr; gap: 11px 16px; margin-top: 22px; }
.wz-doc__grid > span:nth-child(odd) { font-size: 13.5px; color: #978d83; }
.wz-doc__val { font-size: 14.5px; color: #c9bfb4; border-bottom: 1px dotted #dcd3c8; }
.wz-doc__val--mono { font-family: var(--font-mono, monospace); font-size: 14px; }
.wz-doc__val.is-default { color: #978d83; }
.wz-doc__val.is-filled,
.wz-doc__items.is-filled { color: #1a1614; }
.wz-doc__labelbox {
	margin-top: 18px;
	background: #fff3ec;
	border: 1px solid #ffd9be;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.55;
	color: #7a3410;
}
.wz-doc__labelbox[hidden] { display: none; }
.wz-doc__foot {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid #efeae3;
}
.wz-doc__date { font-family: var(--font-mono, monospace); font-size: 14px; color: #1a1614; margin-top: 5px; }
.wz-doc__sign { text-align: right; }
.wz-doc__signline { border-bottom: 1px solid #dcd3c8; width: 190px; height: 26px; margin-top: 5px; margin-left: auto; }

/* Strefa wysyłki */
.wz-send { margin-top: 14px; }
.wz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wz-send .cf-turnstile { margin-bottom: 10px; }
.wz-btn--send {
	display: block;
	width: 100%;
	text-align: center;
	background: #f2541b;
	border-color: #f2541b;
	color: #fff;
	padding: 15px 16px;
	font-size: 16px;
	box-shadow: 0 6px 18px rgba(242, 84, 27, 0.24);
}
.wz-btn--send:hover { background: #d8410f; color: #fff; filter: none; }
.wz-btn--send.is-busy { opacity: 0.7; cursor: wait; }
.wz-note.is-error { color: #c1341a; }

/* Karta sukcesu */
.wz-sent { margin-top: 14px; background: #fff; border: 1px solid #bfe3cc; border-radius: 14px; padding: 20px 22px; }
.wz-sent__head { display: flex; gap: 12px; align-items: flex-start; }
.wz-sent__check {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1f8a4c;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.wz-sent__title {
	font-family: var(--font-display, sans-serif);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1a1614;
}
.wz-sent__sub { font-size: 14.5px; line-height: 1.55; color: #3d362f; margin-top: 4px; }
.wz-sent__ticket { font-family: var(--font-mono, monospace); }
.wz-sent__steps {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 9px 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #efeae3;
}
.wz-sent__steps > span { font-family: var(--font-mono, monospace); font-size: 12px; color: #b9afa4; padding-top: 2px; }
.wz-sent__steps > div { font-size: 14.5px; line-height: 1.55; color: #3d362f; }
.wz-sent__actions { display: flex; gap: 10px; margin-top: 18px; }
.wz-sent__actions .wz-btn { flex: 1; font-size: 14.5px; padding: 12px 16px; }

/* Przyciski akcji */
.wz-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.wz-btn {
	text-align: center;
	background: #fff;
	border: 1px solid #e6dfd6;
	border-radius: 11px;
	padding: 13px 16px;
	font-family: var(--font-sans, sans-serif);
	font-size: 15px;
	font-weight: 600;
	color: #3d362f;
	cursor: pointer;
	text-decoration: none;
}
.wz-btn:hover { background: #f7f4ef; color: #d8410f; text-decoration: none; }
.wz-btn:active { transform: translateY(1px); }
.wz-actions .wz-btn { flex: 1; font-size: 14.5px; padding: 12px 16px; }
.wz-note { font-family: var(--font-mono, monospace); font-size: 11.5px; line-height: 1.6; color: #b9afa4; margin: 10px 0 0; }

/* ---------- Fakty ---------- */
.wz-facts {
	margin-top: 56px;
	background: #fff;
	border: 1px solid #efeae3;
	border-radius: 16px;
	padding: 24px 26px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}
.wz-facts__title { font-weight: 600; font-size: 15.5px; color: #1a1614; }
.wz-facts__note { font-size: 14.5px; line-height: 1.55; color: #6b625a; margin-top: 4px; }

/* ---------- Druk ---------- */
@media print {
	.no-print,
	.ws-head,
	.ws-bar,
	.ws-foot { display: none !important; }
	body { background: #fff; }
	.wz-main { display: block; margin-top: 0; }
	.wz-doc-wrap { position: static; }
	.wz-doc { position: static; border: none; box-shadow: none; border-radius: 0; padding: 0; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 980px) {
	.wz-hero__grid { grid-template-columns: 1fr; gap: 24px; }
	.wz-main { grid-template-columns: 1fr; }
	.wz-doc-wrap { position: static; }
	.wz-facts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.wz-hero__in { padding: 20px 18px 26px; }
	.wz-doc { padding: 22px 18px; }
}
