/* iStation Образование – block under the price and the window. Uses the theme colours when present. */
.ied { --ied-b: var(--ist-border, #e6e6ea); --ied-s: var(--ist-surface, #f4f4f6); --ied-t: var(--ist-text, #18181a); --ied-m: var(--ist-muted, #6b6b70); --ied-p: var(--ist-primary, #0a66d8); --ied-g: #1a7f37;
	display: flex; align-items: center; gap: 14px; margin: 10px 0 6px; padding: 14px 16px; border: 1px solid var(--ied-b); border-radius: var(--ist-radius-sm, 12px); background: #fff; color: var(--ied-t); }
.ied[hidden] { display: none; }
.ied__ic { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--ied-s); display: grid; place-items: center; }
.ied__t { flex: 1; min-width: 0; line-height: 1.3; }
.ied__l { font-size: 13px; color: var(--ied-m); }
.ied__p { font-size: 19px; font-weight: 650; margin-top: 2px; }
.ied__s { font-size: 13px; font-weight: 500; color: var(--ied-g); margin-left: 8px; }
.ied__n { font-size: 12px; color: var(--ied-m); margin-top: 3px; }
.ied__n[hidden] { display: none; }
.ied__a { flex: 0 0 auto; font: inherit; font-size: 14px; font-weight: 600; color: var(--ied-p); border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--ied-p) 9%, #fff); }
.ied__a:hover { background: color-mix(in srgb, var(--ied-p) 15%, #fff); }
.ied__a:focus-visible, .ied-m__btn:focus-visible, .ied-f__b2:focus-visible { outline: 2px solid var(--ied-p); outline-offset: 2px; }
.ied--ok { border-color: color-mix(in srgb, var(--ied-g) 35%, #fff); background: color-mix(in srgb, var(--ied-g) 5%, #fff); }
.ied--ok .ied__ic { background: color-mix(in srgb, var(--ied-g) 12%, #fff); color: var(--ied-g); }

.ied-m { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; }
.ied-m[hidden] { display: none; }
.ied-m__bg { position: absolute; inset: 0; background: rgba(20, 20, 24, .45); }
.ied-m__box { position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 22px; padding: 28px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); color: var(--ist-text, #18181a); }
.ied-m__x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--ist-surface, #f4f4f6); font-size: 20px; line-height: 1; color: var(--ist-muted, #6b6b70); cursor: pointer; }
.ied-m__h { margin: 0 40px 6px 0; font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.ied-m__s { margin: 0 0 18px; color: var(--ist-muted, #6b6b70); font-size: 14.5px; line-height: 1.5; }
.ied-m__ok { display: flex; gap: 10px; align-items: flex-start; color: #1a7f37; font-size: 15px; line-height: 1.5; margin: 8px 0 0; }
.ied-m__err { background: #fff4f4; color: #b32d2e; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.ied-m__btn { display: block; width: 100%; margin-top: 18px; border: 0; cursor: pointer; text-align: center; text-decoration: none; background: var(--ist-primary, #0a66d8); color: #fff !important; padding: 14px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15.5px; }
.ied-m__btn[hidden] { display: none; }
html.ied-lock { overflow: hidden; }

.ied-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ist-surface, #f4f4f6); padding: 4px; border-radius: 999px; margin-bottom: 14px; }
.ied-seg label { margin: 0; cursor: pointer; }
.ied-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ied-seg span { display: block; text-align: center; padding: 9px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ist-muted, #6b6b70); }
.ied-seg input:checked + span { background: #fff; color: var(--ist-text, #18181a); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.ied-seg input:focus-visible + span { outline: 2px solid var(--ist-primary, #0a66d8); }
.ied-f__l { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.ied-f__in { width: 100%; box-sizing: border-box; border: 1px solid var(--ist-border, #e6e6ea); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; }
.ied-f__row { display: flex; gap: 8px; }
.ied-f__row .ied-f__in { flex: 1; min-width: 0; }
.ied-f__b2 { flex: 0 0 auto; border: 0; cursor: pointer; border-radius: 12px; padding: 0 16px; font: inherit; font-weight: 600; font-size: 14px; background: var(--ist-text, #18181a); color: #fff; }
.ied-f__b2[disabled], .ied-m__btn[disabled] { opacity: .55; cursor: default; }
.ied-f__h { font-size: 12.5px; color: var(--ist-muted, #6b6b70); margin-top: 6px; line-height: 1.45; }
.ied-f__code[hidden] { display: none; }
.ied-or { display: flex; align-items: center; gap: 10px; color: var(--ist-muted, #6b6b70); font-size: 13px; margin: 16px 0 6px; }
.ied-or::before, .ied-or::after { content: ""; flex: 1; height: 1px; background: var(--ist-border, #e6e6ea); }
.ied-up { display: block; position: relative; border: 1.5px dashed var(--ist-border, #e6e6ea); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--ist-muted, #6b6b70); text-align: center; cursor: pointer; line-height: 1.5; }
.ied-up b { color: var(--ist-primary, #0a66d8); font-weight: 600; }
.ied-up span { font-size: 12.5px; }
.ied-up em { display: block; font-style: normal; color: var(--ist-text, #18181a); font-weight: 600; margin-top: 4px; }
.ied-up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ied-f__msg { margin-top: 12px; font-size: 14px; line-height: 1.45; }
.ied-f__msg.is-err { color: #b32d2e; }
.ied-f__msg.is-ok { color: #1a7f37; }
.ied-acc { max-width: 560px; }

@media (max-width: 520px) {
	.ied { flex-wrap: wrap; }
	.ied__a { width: 100%; text-align: center; }
	.ied-m { padding: 0; place-items: end center; }
	.ied-m__box { border-radius: 22px 22px 0 0; padding: 24px 20px; max-height: 92vh; }
}
@media (prefers-reduced-motion: no-preference) {
	.ied-m:not([hidden]) .ied-m__box { animation: ied-in .22s ease-out; }
	@keyframes ied-in { from { transform: translateY(12px); opacity: 0; } }
}
