/*
 * DSE Computer Setup - public enrollment page, v2 (2026-10-19).
 * The page loads only this stylesheet. Same palette and typeface as the editorial look; plain language layout:
 * one task per screen, the Windows prompts customers will see, and a live connection status.
 */
@font-face { font-family: "DSE Inter"; src: url("fonts/inter-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
    --en-ink: #17181b; --en-ink-2: #3a3d43; --en-muted: #62666e; --en-soft: #8a8d94;
    --en-line: #dedfe3; --en-line-2: #ececef; --en-canvas: #f5f5f7; --en-tint: #fafafb;
    --en-navy: #101d2e; --en-navy-hover: #284566; --en-link: #235f99; --en-focus: #387ac0;
    --en-ok: #1f7a4d; --en-ok-soft: #e6f4ec; --en-ok-line: #bfe0cd;
    --en-warn: #8a5a00; --en-warn-soft: #fff4dc; --en-warn-line: #f0d9a8;
    --en-bad: #b42318; --en-bad-soft: #fdecea; --en-bad-line: #f5c6c0;
    --en-info-soft: #eaf0f7; --en-info-line: #c9d8ea;
    --en-font: "DSE Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --en-mono: "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.dse-en2 { margin: 0; min-height: 100vh; background: var(--en-canvas); color: var(--en-ink); font: 400 15px/1.6 var(--en-font); }
.dse-en2 a { color: var(--en-link); }
.dse-en2 :focus-visible { outline: 3px solid rgba(56, 122, 192, .45); outline-offset: 2px; }
.dse-en2-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dse-en2 [hidden] { display: none !important; }

.dse-en2-app { width: min(100%, 1000px); margin: 0 auto; padding: 28px 24px 40px; }

/* header */
.dse-en2-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 26px; }
.dse-en2-brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.dse-en2-brand img { width: 40px; height: 40px; border-radius: 9px; }
.dse-en2-brand strong { display: block; font-size: 16px; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
.dse-en2-brand small { display: block; color: var(--en-muted); font-size: 12.5px; line-height: 1.3; }
.dse-en2-secure { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--en-line); border-radius: 999px; background: #fff; color: var(--en-ink-2); font-size: 13px; font-weight: 550; }
.dse-en2-secure svg, .dse-en2-private svg { width: 15px; height: 15px; fill: none; stroke: var(--en-ok); stroke-width: 2; stroke-linecap: round; flex: none; }

/* progress */
.dse-en2-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: none; }
.dse-en2-progress li { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 0; }
.dse-en2-progress li:not(:last-child)::after { content: ""; flex: 1 1 auto; height: 2px; margin-left: 4px; border-radius: 2px; background: var(--en-line); }
.dse-en2-progress li.is-done:not(:last-child)::after { background: var(--en-ok); }
.dse-en2-progress-dot { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border: 1.5px solid var(--en-line); border-radius: 50%; background: #fff; color: var(--en-muted); font-size: 13px; font-weight: 650; }
.dse-en2-progress-label { display: flex; flex-direction: column; flex: none; color: var(--en-muted); font-size: 14px; font-weight: 600; line-height: 1.2; }
.dse-en2-progress-label small { color: var(--en-soft); font-size: 12px; font-weight: 500; }
.dse-en2-progress li.is-current .dse-en2-progress-dot { border-color: var(--en-navy); background: var(--en-navy); color: #fff; }
.dse-en2-progress li.is-current .dse-en2-progress-label { color: var(--en-ink); }
.dse-en2-progress li.is-done .dse-en2-progress-dot { border-color: var(--en-ok); background: var(--en-ok); color: #fff; }
.dse-en2-progress li.is-done .dse-en2-progress-label { color: var(--en-ink-2); }
.dse-en2-progress li.is-stopped .dse-en2-progress-dot { border-color: var(--en-bad); background: var(--en-bad); color: #fff; }

/* cards */
.dse-en2-card { min-width: 0; padding: 32px; border: 1px solid var(--en-line); border-radius: 18px; background: #fff; }
.dse-en2-card h1 { margin: 0 0 8px; font-size: 30px; font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.dse-en2-card h2 { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.dse-en2-lead { margin: 0 0 20px; color: var(--en-muted); font-size: 16px; line-height: 1.55; }

/* entry */
.dse-en2-entry { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.dse-en2-device { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 22px; padding: 13px 15px; border: 1px solid var(--en-line); border-radius: 12px; background: var(--en-tint); }
.dse-en2-device p { margin: 0; color: var(--en-ink-2); font-size: 14px; line-height: 1.5; }
.dse-en2-device strong { display: block; color: var(--en-ink); font-weight: 600; }
.dse-en2-device-icon { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; border: 1px solid var(--en-line); }
.dse-en2-device-icon svg { width: 19px; height: 19px; fill: none; stroke: var(--en-ink-2); stroke-width: 1.8; stroke-linecap: round; }
.dse-en2-device.is-ok { border-color: var(--en-ok-line); background: var(--en-ok-soft); }
.dse-en2-device.is-ok .dse-en2-device-icon svg { stroke: var(--en-ok); }
.dse-en2-device.is-wrong { border-color: var(--en-bad-line); background: var(--en-bad-soft); }
.dse-en2-device.is-wrong .dse-en2-device-icon svg { stroke: var(--en-bad); }

.dse-en2-form { display: grid; gap: 18px; margin: 0; }
.dse-en2-field { display: grid; gap: 7px; }
.dse-en2-field label { font-size: 14px; font-weight: 600; }
.dse-en2-code { width: 100%; min-height: 64px; padding: 12px 14px; border: 1.5px solid #c9cbd0; border-radius: 12px; background: #fff; color: var(--en-ink); font: 600 26px/1.2 var(--en-mono); letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.dse-en2-code::placeholder { color: #b8bbc2; letter-spacing: .16em; }
.dse-en2-code:focus { border-color: var(--en-focus); outline: 3px solid rgba(56, 122, 192, .25); outline-offset: 1px; }
.dse-en2-code[aria-invalid="true"] { border-color: var(--en-bad); }
.dse-en2-help { color: var(--en-muted); font-size: 13px; }
.dse-en2-field-error { color: var(--en-bad); font-size: 13px; font-weight: 600; }
.dse-en2-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; border: 1px solid var(--en-line); border-radius: 12px; background: var(--en-tint); cursor: pointer; }
.dse-en2-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--en-navy); }
.dse-en2-check strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.dse-en2-check small { display: block; margin-top: 3px; color: var(--en-muted); font-size: 13px; line-height: 1.5; }

.dse-en2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 11px; font: 600 15px/1.2 var(--en-font); cursor: pointer; text-decoration: none; }
.dse-en2-btn-primary { background: var(--en-navy); border-color: var(--en-navy); color: #fff; }
.dse-en2-btn-primary:hover { background: var(--en-navy-hover); border-color: var(--en-navy-hover); }
.dse-en2-btn-secondary { background: #fff; border-color: #c9cbd0; color: var(--en-ink); }
.dse-en2-btn-secondary:hover { background: var(--en-tint); }
.dse-en2-btn-block { width: 100%; min-height: 54px; font-size: 16px; }
.dse-en2-btn[disabled], .dse-en2-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.dse-en2-btn.is-loading { cursor: progress; }
.dse-en2-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: dse-en2-spin .8s linear infinite; }
.dse-en2-btn-secondary .dse-en2-spinner { border-color: rgba(23, 24, 27, .2); border-top-color: var(--en-ink); }

.dse-en2-alert { padding: 12px 14px; border: 1px solid var(--en-line); border-radius: 11px; background: var(--en-tint); font-size: 14px; line-height: 1.5; }
.dse-en2-alert.is-error { border-color: var(--en-bad-line); background: var(--en-bad-soft); color: var(--en-bad); font-weight: 550; }
.dse-en2-alert.is-info { margin: 0 0 18px; border-color: var(--en-info-line); background: var(--en-info-soft); color: var(--en-ink-2); }
.dse-en2-alert strong { color: var(--en-ink); }

.dse-en2-next { display: flex; flex-direction: column; gap: 16px; background: var(--en-tint); }
.dse-en2-next-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.dse-en2-next-list li { display: flex; gap: 12px; }
.dse-en2-next-list li > span { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--en-line); font-size: 13px; font-weight: 650; }
.dse-en2-next-list p { margin: 0; color: var(--en-muted); font-size: 14px; line-height: 1.5; }
.dse-en2-next-list strong { display: block; color: var(--en-ink); font-weight: 600; }

/* install */
.dse-en2-install { display: grid; gap: 20px; }
.dse-en2-status { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--en-info-line); border-radius: 14px; background: var(--en-info-soft); }
.dse-en2-status h1 { margin: 0 0 3px; font-size: 24px; }
.dse-en2-status p { margin: 0; color: var(--en-ink-2); font-size: 14.5px; }
.dse-en2-status-icon { position: relative; display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--en-info-line); }
.dse-en2-status-icon i { width: 18px; height: 18px; border: 2.5px solid var(--en-link); border-top-color: transparent; border-radius: 50%; animation: dse-en2-spin 1s linear infinite; }
.dse-en2-status[data-phase="connected"] { border-color: var(--en-ok-line); background: var(--en-ok-soft); }
.dse-en2-status[data-phase="connected"] .dse-en2-status-icon { border-color: var(--en-ok); background: var(--en-ok); }
.dse-en2-status[data-phase="connected"] .dse-en2-status-icon i { width: 10px; height: 18px; margin-top: -4px; border: solid #fff; border-width: 0 3px 3px 0; border-radius: 0; transform: rotate(45deg); animation: none; }
.dse-en2-status[data-phase="stopped"] { border-color: var(--en-bad-line); background: var(--en-bad-soft); }
.dse-en2-status[data-phase="stopped"] .dse-en2-status-icon { border-color: var(--en-bad); }
.dse-en2-status[data-phase="stopped"] .dse-en2-status-icon i { width: 4px; height: 20px; border: 0; border-radius: 2px; background: var(--en-bad); animation: none; }

.dse-en2-download { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--en-line); border-radius: 14px; }
.dse-en2-download p { flex: 1 1 auto; min-width: 0; margin: 0; }
.dse-en2-download strong { display: block; font-size: 15px; font-weight: 600; }
.dse-en2-download small { color: var(--en-muted); font-size: 13px; }
.dse-en2-download form { margin: 0; flex: none; }
.dse-en2-file { position: relative; display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid var(--en-line); border-radius: 11px; background: var(--en-tint); }
.dse-en2-file img { width: 30px; height: 30px; border-radius: 6px; }
.dse-en2-file b { position: absolute; right: -6px; bottom: -6px; padding: 1px 5px; border-radius: 5px; background: var(--en-navy); color: #fff; font-size: 9.5px; letter-spacing: .04em; }
.dse-en2-platform { padding: 12px 14px; border: 1px solid var(--en-bad-line); border-radius: 12px; background: var(--en-bad-soft); }
.dse-en2-platform p { margin: 0; font-size: 14px; color: var(--en-ink-2); }

.dse-en2-steps-title { margin: 4px 0 -6px !important; font-size: 16px !important; }
.dse-en2-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: dse-en2-step; }
.dse-en2-steps > li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; align-items: start; padding: 16px 18px 16px 64px; border: 1px solid var(--en-line); border-radius: 14px; background: #fff; counter-increment: dse-en2-step; transition: border-color .2s ease, background .2s ease; }
.dse-en2-steps > li::before { content: counter(dse-en2-step); position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--en-line); border-radius: 50%; background: #fff; color: var(--en-muted); font-size: 13px; font-weight: 650; }
.dse-en2-steps > li[data-en2-task="wait"] { grid-template-columns: minmax(0, 1fr); }
.dse-en2-steps h3 { margin: 0 0 4px; font-size: 15.5px; font-weight: 650; line-height: 1.35; }
.dse-en2-steps p { margin: 0; color: var(--en-ink-2); font-size: 14px; line-height: 1.55; }
.dse-en2-steps > li.is-current { border-color: var(--en-navy); box-shadow: 0 0 0 1px var(--en-navy) inset; }
.dse-en2-steps > li.is-current::before { border-color: var(--en-navy); background: var(--en-navy); color: #fff; }
.dse-en2-steps > li.is-done { background: var(--en-tint); }
.dse-en2-steps > li.is-done::before { content: "\2713"; border-color: var(--en-ok); background: var(--en-ok); color: #fff; }

/* illustrations of the Windows prompts (decorative; the steps carry the words) */
.dse-en2-mock { display: grid; gap: 6px; padding: 12px 13px; border: 1px solid var(--en-line); border-radius: 10px; background: #fff; box-shadow: 0 10px 24px -18px rgba(16, 29, 46, .45); font-size: 11.5px; line-height: 1.35; color: var(--en-ink-2); user-select: none; }
.dse-en2-mock b { font-weight: 650; }
.dse-en2-mock-bar { display: flex; gap: 4px; }
.dse-en2-mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8dade; }
.dse-en2-mock-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.dse-en2-mock-row em { padding: 3px 5px; border-radius: 5px; background: var(--en-navy); color: #fff; font-style: normal; font-size: 9px; font-weight: 650; }
.dse-en2-mock-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--en-ink); font-weight: 600; }
.dse-en2-mock-row small { display: block; color: var(--en-muted); font-weight: 500; }
.dse-en2-mock-row b, .dse-en2-mock-actions b { padding: 4px 9px; border-radius: 6px; background: var(--en-navy); color: #fff; outline: 2px solid #e5a511; outline-offset: 2px; }
.dse-en2-mock-smartscreen { border-color: #0f5ea8; background: #1162b0; color: #e9f2fb; }
.dse-en2-mock-smartscreen strong { color: #fff; font-size: 13px; font-weight: 650; }
.dse-en2-mock-smartscreen u { justify-self: start; color: #fff; font-weight: 650; outline: 2px solid #e5a511; outline-offset: 2px; text-decoration-thickness: 1px; }
.dse-en2-mock-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dse-en2-mock-actions i { padding: 4px 9px; border-radius: 6px; border: 1px solid currentColor; font-style: normal; opacity: .8; }
.dse-en2-mock-smartscreen .dse-en2-mock-actions b { background: #fff; color: #1162b0; }
.dse-en2-mock-uac { padding: 0 0 11px; overflow: hidden; }
.dse-en2-mock-uac-head { padding: 6px 12px; background: #f2c94c; color: #3b2f00; font-weight: 650; }
.dse-en2-mock-uac strong, .dse-en2-mock-uac > span { padding: 0 12px; }
.dse-en2-mock-uac strong { color: var(--en-ink); font-weight: 650; }
.dse-en2-mock-uac > span small { display: block; color: var(--en-muted); }
.dse-en2-mock-uac .dse-en2-mock-actions { padding: 0 12px; }

.dse-en2-waiting { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed #c9cbd0; border-radius: 14px; background: var(--en-tint); }
.dse-en2-waiting p { margin: 0; }
.dse-en2-waiting strong { display: block; font-size: 15px; font-weight: 600; }
.dse-en2-waiting span { color: var(--en-muted); font-size: 13.5px; }
.dse-en2-orb { position: relative; display: inline-block; flex: none; width: 14px; height: 14px; margin: 0 6px; border-radius: 50%; background: var(--en-link); }
.dse-en2-orb i { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--en-link); opacity: 0; animation: dse-en2-ping 1.8s ease-out infinite; }
.dse-en2-install[data-en2-phase="connected"] .dse-en2-waiting { border-style: solid; border-color: var(--en-ok-line); background: var(--en-ok-soft); }
.dse-en2-install[data-en2-phase="connected"] .dse-en2-orb { background: var(--en-ok); }
.dse-en2-install[data-en2-phase="connected"] .dse-en2-orb i, .dse-en2-install[data-en2-phase="stopped"] .dse-en2-orb i { animation: none; }
.dse-en2-install[data-en2-phase="stopped"] .dse-en2-orb { background: var(--en-bad); }

.dse-en2-trouble, .dse-en2-tech { border: 1px solid var(--en-line); border-radius: 14px; background: #fff; }
.dse-en2-trouble summary, .dse-en2-tech summary { padding: 14px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; list-style-position: inside; }
.dse-en2-trouble dl, .dse-en2-tech dl { display: grid; gap: 4px 16px; margin: 0; padding: 0 16px 16px; }
.dse-en2-trouble dt { margin-top: 8px; font-size: 14px; font-weight: 600; }
.dse-en2-trouble dd { margin: 0; color: var(--en-muted); font-size: 14px; }
.dse-en2-tech dl { grid-template-columns: max-content minmax(0, 1fr); }
.dse-en2-tech dt { color: var(--en-muted); font-size: 13px; }
.dse-en2-tech dd { margin: 0; font-size: 13px; }
.dse-en2-tech code { font: 12px/1.5 var(--en-mono); overflow-wrap: anywhere; }
.dse-en2-tech p { margin: 0; padding: 0 16px 16px; color: var(--en-muted); font-size: 13px; }
.dse-en2-private { display: flex; gap: 10px; margin: 0; padding: 0 2px; color: var(--en-muted); font-size: 13px; line-height: 1.55; }
.dse-en2-private svg { margin-top: 2px; stroke: var(--en-muted); }

.dse-en2-footer { display: flex; justify-content: space-between; gap: 16px; margin: 26px 0 0; color: var(--en-soft); font-size: 13px; }
.dse-en2-footer a { font-weight: 600; text-decoration: none; }

@keyframes dse-en2-spin { to { transform: rotate(360deg); } }
@keyframes dse-en2-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 880px) {
    .dse-en2-entry { grid-template-columns: minmax(0, 1fr); }
    .dse-en2-steps > li { grid-template-columns: minmax(0, 1fr); }
    .dse-en2-mock { max-width: 340px; }
}
@media (max-width: 560px) {
    .dse-en2-app { padding: 18px 16px 30px; }
    .dse-en2-top { margin-bottom: 18px; }
    .dse-en2-secure { padding: 6px 10px; font-size: 12px; }
    .dse-en2-progress-label small { display: none; }
    .dse-en2-progress-label { font-size: 13px; }
    .dse-en2-progress li:not(:last-child)::after { margin-left: 2px; }
    .dse-en2-card { padding: 22px 18px; border-radius: 16px; }
    .dse-en2-card h1 { font-size: 25px; }
    .dse-en2-status { align-items: flex-start; padding: 16px; }
    .dse-en2-status h1 { font-size: 20px; }
    .dse-en2-download { flex-wrap: wrap; }
    .dse-en2-download form, .dse-en2-download .dse-en2-btn { width: 100%; }
    .dse-en2-steps > li { padding: 14px 14px 14px 56px; }
    .dse-en2-steps > li::before { left: 14px; top: 15px; }
    .dse-en2-code { font-size: 22px; letter-spacing: .1em; }
    .dse-en2-footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 380px) {
    .dse-en2-progress-label { font-size: 12px; }
    .dse-en2-progress-dot { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .dse-en2-status-icon i, .dse-en2-spinner, .dse-en2-orb i { animation: none !important; }
    .dse-en2-steps > li { transition: none; }
}

/* 2026-10-31: the "D" of "DSE Computer Setup" is the drawn Old English D (include/dse-wordmark.inc.php). This page's
   CSP has no inline styles, so the mark is sized here. */
.dse-en2-brand .dse-wm-d { display: inline-block !important; height: .86em !important; width: auto !important; max-width: none !important; aspect-ratio: 662 / 746; vertical-align: -.085em !important; margin: 0 -.02em 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; fill: currentColor !important; overflow: visible; }
.dse-en2-brand .dse-wm-t { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }