/* Generowane: tools/build-css-edytora.py */
/* Style ekranu 01 */
.ew-user-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; background: var(--s2); }
.ew-user-pill .ew-avatar { width: 24px; height: 24px; font-size: 11px; }
.ew-otp { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 8px; }
.ew-otp__cell { width: 100%; min-width: 0; padding: 0; height: 56px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-family: var(--mono); font-size: 24px; font-weight: 600; text-align: center; outline: none; font-variant-numeric: tabular-nums; color: var(--ink); caret-color: var(--accent); }
.ew-otp__cell:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-50); }
.ew-otp--error .ew-otp__cell { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.ew-otp--error .ew-otp__cell:focus { border-color: var(--red); }
.ew-attempts { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink3); }
.ew-attempts__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .ew-attempts__dot--used { background: var(--red); }
.ew-pw { position: relative; } .ew-pw .ew-input { padding-right: 44px; }
.ew-pw__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink3); border-radius: var(--r-sm); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .ew-pw__toggle:hover { background: var(--s2); color: var(--ink); }
.ew-pwrules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; color: var(--ink3); }
.ew-pwrules li { display: flex; align-items: center; gap: 6px; } .ew-pwrules li svg { flex: none; color: #b3b7cc; } .ew-pwrules li.is-ok { color: #157a52; } .ew-pwrules li.is-ok svg { color: var(--green); }
.ew-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.ew-step { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink3); }
.ew-step__bar { height: 4px; border-radius: var(--r-pill); background: var(--line); }
.ew-step__label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ew-step__n { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; font-weight: 600; flex: none; }
.ew-step--done .ew-step__bar, .ew-step--now .ew-step__bar { background: var(--accent); }
.ew-step--now { color: var(--ink); font-weight: 600; } .ew-step--now .ew-step__n { background: var(--accent); border-color: var(--accent); color: #fff; }
.ew-step--done { color: #157a52; } .ew-step--done .ew-step__n { background: var(--green); border-color: var(--green); color: #fff; }
.ew-qr { border: 1px solid var(--line); border-radius: var(--r); flex: none; }
.ew-setup { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 20px; align-items: start; }
.ew-key { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .08em; background: var(--s2); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; word-break: break-all; }
.ew-codes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.ew-codes li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--s2); border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.ew-codes__n { font-size: 11px; color: var(--ink3); font-weight: 500; width: 14px; }
.ew-lockout { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 8px 0 4px; }
.ew-lockout__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--red-50); color: #b93338; display: flex; align-items: center; justify-content: center; }
.ew-lockout__timer { font-family: var(--mono); font-size: 32px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
