/* EDK Signon - formularz deklaracji. Kolory dziedziczone z motywu, kontrast min. 4.5:1.
   Motyw może nadpisać zmienne --edk-* (np. na ciemnym tle). */
.edk-signon {
	max-width: 680px;
	--edk-hint: #555; --edk-error: #b00020; --edk-border: #c8c8c8; --edk-focus: #1d4ed8;
	--edk-button-bg: #8b1a1a; --edk-button-bg-hover: #6e1414;
	--edk-notice-bg: transparent; --edk-notice-text: inherit;
	--edk-success: #1e7b34; --edk-info: #1d4ed8; --edk-warning: #a86400;
	--edk-field-bg: #fff; --edk-field-text: #1a1a1a; --edk-field-border: #6b6b6b;
}
.edk-form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.edk-form__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .edk-form__row { grid-template-columns: 1fr 1fr; } }
.edk-form__required-info { margin: 0; font-size: .9em; }
.edk-field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.edk-field label, .edk-field legend, .edk-fieldset > legend { font-weight: 600; }
.edk-field input[type="text"], .edk-field input[type="email"], .edk-field input[type="tel"], .edk-field select {
	font: inherit; padding: .6rem .7rem; min-height: 44px; border: 1px solid var(--edk-field-border); border-radius: 4px; background: var(--edk-field-bg); color: var(--edk-field-text); width: 100%; box-sizing: border-box;
}
.edk-field--short { max-width: 10rem; }
.edk-field input:focus-visible, .edk-field select:focus-visible, .edk-choice input:focus-visible, .edk-check input:focus-visible, .edk-button:focus-visible {
	outline: 3px solid var(--edk-focus); outline-offset: 2px;
}
.edk-field [aria-invalid="true"] { border-color: var(--edk-error); border-width: 2px; }
.edk-field__error { color: var(--edk-error); margin: 0; font-size: .92em; font-weight: 600; }
.edk-fieldset { border: 1px solid var(--edk-border); border-radius: 6px; padding: .8rem 1rem 1rem; margin: 0; display: grid; gap: .9rem; }
.edk-choice { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: .5rem 1.5rem; }
.edk-choice legend { width: 100%; margin-bottom: .35rem; }
.edk-choice label, .edk-check label { font-weight: 400; }
.edk-choice label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; }
.edk-choice input, .edk-check input { width: 1.25rem; height: 1.25rem; margin: 0; flex: none; }
.edk-check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .2rem .7rem; align-items: start; }
.edk-check input { margin-top: .2rem; }
.edk-check .edk-field__error, .edk-check__link { grid-column: 2; }
.edk-req { color: var(--edk-error); }
.edk-hint { color: var(--edk-hint); font-size: .9em; }
.edk-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.edk-button {
	display: inline-block; font: inherit; font-weight: 700; padding: .75rem 1.5rem; min-height: 44px; border: 0; border-radius: 4px;
	background: var(--edk-button-bg); color: #fff; cursor: pointer; text-decoration: none; justify-self: start;
}
.edk-button:hover { background: var(--edk-button-bg-hover); color: #fff; }
.edk-button--danger { background: #b00020; }
.edk-link { margin-left: 1rem; }
.edk-notice { padding: .9rem 1.1rem; border-radius: 6px; border-left: 5px solid; margin: 1rem 0; }
.edk-notice p { margin: .2rem 0; }
.edk-notice { background: var(--edk-notice-bg); color: var(--edk-notice-text); }
.edk-notice--success { border-color: var(--edk-success); }
.edk-notice--info { border-color: var(--edk-info); }
.edk-notice--warning { border-color: var(--edk-warning); }
.edk-notice--error { border-color: var(--edk-error); }
.edk-trail-count { font-weight: 700; }
.edk-stats table { border-collapse: collapse; width: 100%; margin: .5rem 0 1rem; }
.edk-stats th, .edk-stats td { border-bottom: 1px solid var(--edk-border, #ddd); padding: .4rem .6rem; text-align: left; }
.edk-stats caption { text-align: left; font-weight: 700; padding-bottom: .4rem; }
.edk-stats details { margin: .4rem 0; }
.edk-stats summary { cursor: pointer; font-weight: 600; min-height: 32px; }
