body > .tool-page.tool-page--password-generator { width: 100%; max-width: none; margin: 0; padding: 0; }
.tool-page--password-generator [hidden] { display: none !important; }
.pw-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); width: 100%; height: 100%; min-height: 0; text-align: left; }
.pw-results { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px; }
.pw-heading { padding: 0 0 12px; border-bottom: 2px solid var(--eyy-border, #101010); }
.pw-heading h1 { margin: 0; font-size: 1rem; letter-spacing: -.025em; }
.pw-heading p { margin: 7px 0 0; color: #bdbbc8; }
.pw-result-heading { display: flex; flex: none; justify-content: space-between; align-items: center; gap: 8px; min-height: 52px; }
.pw-result-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tool-page--password-generator .pw-workspace button:not(.default) { min-height: 36px; padding: 6px 9px; font: inherit; }
.tool-page--password-generator .pw-workspace .eyy-number button[data-number-step] { min-height: 0; padding: 0; }
.tool-page--password-generator .pw-workspace button:disabled { opacity: .46; cursor: default; }
.tool-page--password-generator #pw-output { flex: none; width: 100%; height: min(28vh, 220px); min-height: 120px; padding: 12px; border: 2px solid #1e1e1e; border-radius: 6px; background: #000; color: #fff; font: 500 .85rem/1.7 ui-monospace, monospace; overflow: auto; overflow-wrap: anywhere; resize: none; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.pw-result-footer { flex: none; padding: 12px 0 0; }
.pw-entropy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pw-entropy-row strong { color: #65ebd8; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.pw-result-footer p { margin: 7px 0 0; color: #a9a7b3; line-height: 1.45; }
.pw-result-footer #pw-status { min-height: 1.45em; color: #eac385; }
.pw-controls { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px 8px; border-left: 2px solid var(--eyy-border, #101010); }
.pw-controls-body { flex: 1 1 0; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #45454f transparent; }
.pw-section-heading { margin: 12px 0 6px; font-weight: 600; }
.pw-controls-body > .pw-section-heading:first-child { margin-top: 0; }
.pw-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.tool-page--password-generator .pw-mode button[aria-pressed="true"] { border-color: #46cdbb; color: #fff; }
.pw-field { display: grid; min-width: 0; gap: 6px; margin-top: 12px; }
.pw-field > :is(input, select, .eyy-select, .eyy-number) { width: 100%; min-width: 0; }
.pw-field input[type="text"] { min-height: 38px; }
.pw-controls .eyy-toggle-label span { color: #aaa8b5; margin-left: 4px; }
.pw-attribution { margin: 12px 0 0; color: #a9a7b3; line-height: 1.5; }
.pw-count { padding-top: 12px; margin-top: 12px; border-top: 2px solid var(--eyy-border, #101010); }
.pw-controls-footer { flex: none; padding-top: 8px; border-top: 2px solid var(--eyy-border, #101010); }
.tool-page--password-generator #pw-generate { width: 100%; border-color: #2d776e; }
@media (max-width: 760px) {
    .pw-workspace { display: flex; flex-direction: column; height: 100%; overflow-x: hidden; overflow-y: auto; }
    .pw-results { flex: none; min-height: 310px; padding: 10px 10px 0; }
    .tool-page--password-generator #pw-output { min-height: 120px; }
    .pw-controls { flex: none; min-height: auto; padding: 10px 18px 10px 10px; border: 0; border-top: 2px solid var(--eyy-border, #101010); }
    .pw-controls-body { flex: none; overflow: visible; }
    .pw-controls-footer { margin-top: 12px; }
}
@media (max-width: 380px) {
    .pw-result-heading { align-items: flex-start; flex-direction: column; padding: 8px 0; }
    .pw-result-actions { justify-content: flex-start; }
}
