/* Password Generator -- strong random passwords, made on the device. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F2F2F4; color: #222;
    font-family: "Segoe UI", system-ui, sans-serif; }

.page-shell { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
#lwIconBand, .ct-header { flex: 0 0 auto; }

.ct-header {
    background: #3C3C3C; color: #fff; padding: 10px 16px;
    display: flex; align-items: center; gap: 12px;
}
.ct-header h1 { margin: 0; font-size: 14pt; font-weight: 600; flex: 1; }

.pg-body { flex: 1; overflow: auto; padding: 16px; max-width: 640px; width: 100%; margin: 0 auto; }

.pg-card {
    background: #fff; border: 1px solid #E2E2E6; border-radius: 10px;
    padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.pg-out {
    width: 100%; font-family: Consolas, "Courier New", monospace; font-size: 18px;
    padding: 12px; border: 1px solid #C9C9D0; border-radius: 6px; background: #FAFAFC;
    color: #111; letter-spacing: .5px;
}
.pg-strength { font-size: 13px; margin: 8px 0 12px; font-weight: 600; min-height: 16px; }
.pg-strength.good { color: #15803D; }
.pg-strength.ok { color: #B45309; }
.pg-strength.weak { color: #B91C1C; }

.pg-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-btns button {
    flex: 1 1 140px; border: none; border-radius: 6px; padding: 12px 16px;
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: #fff;
}
.pg-btn-copy { background: #15803D; }
.pg-btn-copy:hover { background: #16A34A; }
.pg-btn-new { background: #4F46E5; }
.pg-btn-new:hover { background: #6257F0; }
.pg-copied { font-size: 13px; color: #15803D; margin-top: 8px; min-height: 16px; }

.pg-len { display: block; margin-bottom: 12px; font-size: 14px; }
.pg-len input { width: 100%; margin-top: 6px; }
.pg-opt { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.pg-opt input { width: 18px; height: 18px; }

.pg-symset { display: block; font-size: 13px; color: #555; padding: 2px 0 8px 26px; }
.pg-symset input {
    display: block; width: 100%; margin-top: 4px; padding: 8px;
    font-family: Consolas, "Courier New", monospace; font-size: 15px;
    border: 1px solid #C9C9D0; border-radius: 6px;
}

.pg-note { font-size: 12px; color: #777; line-height: 1.5; }
