.password-panel {
  overflow: hidden;
}

.password-generator {
  --pg-accent: #9b6cff;
  --pg-accent-strong: #7d4dff;
  --pg-accent-soft: rgba(155, 108, 255, 0.13);
  --pg-border: rgba(255, 255, 255, 0.1);
  --pg-border-active: rgba(155, 108, 255, 0.68);
  --pg-surface: rgba(11, 13, 24, 0.58);
  --pg-surface-deep: rgba(5, 7, 17, 0.78);
  --pg-text: #f7f5ff;
  --pg-muted: #aaa7bd;
  --pg-success: #63d69c;
  --pg-warning: #f5bd61;
  --pg-danger: #ff6f8c;
  color: var(--pg-text);
}

.password-generator *,
.password-generator *::before,
.password-generator *::after {
  box-sizing: border-box;
}

.password-generator button,
.password-generator input,
.password-generator textarea {
  font: inherit;
}

.password-generator button {
  cursor: pointer;
}

.password-generator button:focus-visible,
.password-generator input:focus-visible {
  outline: 3px solid rgba(155, 108, 255, 0.45);
  outline-offset: 3px;
}

.pg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  gap: 20px;
  align-items: start;
}

.pg-card {
  background: linear-gradient(145deg, rgba(25, 20, 45, 0.58), var(--pg-surface));
  border: 1px solid var(--pg-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.pg-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.pg-heading-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(155, 108, 255, 0.38);
  border-radius: 11px;
  background: radial-gradient(circle at 35% 30%, rgba(190, 161, 255, 0.8), rgba(112, 65, 240, 0.55) 38%, rgba(26, 16, 54, 0.95) 72%);
  box-shadow: 0 0 22px rgba(139, 93, 255, 0.24);
}

.pg-heading-mark.pg-result-mark {
  position: relative;
  background: rgba(155, 108, 255, 0.12);
}

.pg-heading-mark.pg-result-mark::before {
  content: "✦";
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #d5c3ff;
  font-size: 18px;
}

.pg-heading h2,
.pg-section-title {
  margin: 0;
  color: var(--pg-text);
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pg-heading p,
.pg-card-description,
.pg-field-note,
.pg-privacy-copy,
.pg-detail-value,
.pg-security-tip,
.pg-status {
  color: var(--pg-muted);
}

.pg-heading p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pg-field {
  margin-top: 20px;
}

.pg-field-label,
.pg-options legend,
.pg-details-title,
.pg-advanced-title {
  display: block;
  margin-bottom: 10px;
  color: #e9e5f7;
  font-size: 0.87rem;
  font-weight: 700;
}

.pg-length-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pg-number-wrap {
  display: flex;
  width: min(100%, 160px);
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--pg-border);
  border-radius: 11px;
  background: rgba(4, 6, 15, 0.62);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pg-number-wrap:focus-within {
  border-color: var(--pg-border-active);
  box-shadow: 0 0 0 3px rgba(155, 108, 255, 0.12);
}

.pg-number-input {
  width: 58px;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  color: var(--pg-text);
  background: transparent;
  font-weight: 700;
}

.pg-number-input::-webkit-inner-spin-button,
.pg-number-input::-webkit-outer-spin-button {
  opacity: 1;
}

.pg-unit {
  color: var(--pg-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.pg-range {
  width: 100%;
  height: 18px;
  margin-top: 12px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.pg-range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--pg-accent) 0%,
    var(--pg-accent) var(--range-progress, 6.35%),
    rgba(255, 255, 255, 0.13) var(--range-progress, 6.35%),
    rgba(255, 255, 255, 0.13) 100%
  );
}

.pg-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 3px solid #f5f1ff;
  border-radius: 50%;
  background: var(--pg-accent-strong);
  box-shadow: 0 0 0 4px rgba(155, 108, 255, 0.18);
}

.pg-range::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.pg-range::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: var(--pg-accent);
}

.pg-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 3px solid #f5f1ff;
  border-radius: 50%;
  background: var(--pg-accent-strong);
  box-shadow: 0 0 0 4px rgba(155, 108, 255, 0.18);
}

.pg-field-note {
  margin: 8px 0 0;
  font-size: 0.79rem;
  line-height: 1.45;
}

.pg-options {
  display: grid;
  gap: 9px;
  margin: 25px 0 0;
  padding: 0;
  border: 0;
}

.pg-option {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--pg-border);
  border-radius: 13px;
  background: rgba(4, 6, 15, 0.34);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pg-option:hover {
  border-color: rgba(155, 108, 255, 0.42);
  background: rgba(155, 108, 255, 0.07);
}

.pg-option:has(input:checked) {
  border-color: rgba(155, 108, 255, 0.64);
  background: rgba(155, 108, 255, 0.105);
}

.pg-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.pg-check {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  color: transparent;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 900;
  transition: all 150ms ease;
}

.pg-option input:checked + .pg-check {
  border-color: var(--pg-accent);
  color: #fff;
  background: var(--pg-accent-strong);
  box-shadow: 0 0 12px rgba(155, 108, 255, 0.28);
}

.pg-option input:focus-visible + .pg-check {
  outline: 3px solid rgba(155, 108, 255, 0.45);
  outline-offset: 3px;
}

.pg-option-copy {
  display: grid;
  gap: 2px;
}

.pg-option-copy strong {
  color: #f2effb;
  font-size: 0.9rem;
}

.pg-option-copy small {
  color: var(--pg-muted);
  font-size: 0.77rem;
}

.pg-advanced {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--pg-border);
}

.pg-advanced-title {
  margin-bottom: 6px;
}

.pg-advanced-description {
  margin: 0 0 11px;
  color: var(--pg-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pg-exclude-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--pg-border);
  border-radius: 11px;
  outline: 0;
  color: var(--pg-text);
  background: rgba(4, 6, 15, 0.62);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pg-exclude-input::placeholder {
  color: #77738c;
}

.pg-exclude-input:focus {
  border-color: var(--pg-border-active);
  box-shadow: 0 0 0 3px rgba(155, 108, 255, 0.12);
}

.pg-output-shell {
  position: relative;
  display: flex;
  min-height: 106px;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(155, 108, 255, 0.38);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(20, 14, 43, 0.9), rgba(5, 7, 17, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 30px rgba(112, 66, 255, 0.08);
}

.pg-output {
  width: 100%;
  min-height: 31px;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  outline: 0;
  resize: none;
  color: #f8f6ff;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.45;
  white-space: pre;
  scrollbar-color: rgba(155, 108, 255, 0.6) transparent;
}

.pg-output::selection {
  color: #150d2d;
  background: #d6c5ff;
}

.pg-output-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pg-small-button,
.pg-preset,
.pg-action {
  min-height: 38px;
  border: 1px solid var(--pg-border);
  border-radius: 10px;
  color: #f2effb;
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.pg-small-button {
  padding: 8px 11px;
}

.pg-small-button:hover,
.pg-preset:hover,
.pg-action:hover {
  border-color: rgba(155, 108, 255, 0.62);
  background: rgba(155, 108, 255, 0.14);
}

.pg-small-button:active,
.pg-preset:active,
.pg-action:active {
  transform: translateY(1px);
}

.pg-strength {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  background: rgba(4, 6, 15, 0.35);
}

.pg-strength-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.pg-strength-title {
  color: #ebe7f6;
  font-size: 0.86rem;
  font-weight: 700;
}

.pg-strength-label {
  color: var(--pg-warning);
  font-size: 0.82rem;
  font-weight: 800;
}

.pg-strength-meter {
  height: 8px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.pg-strength-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--pg-warning);
  transition: width 220ms ease, background 220ms ease;
}

.pg-strength-fill[data-level="very-weak"] {
  background: #f06a7e;
}

.pg-strength-fill[data-level="weak"] {
  background: #ff9964;
}

.pg-strength-fill[data-level="fair"] {
  background: #f5bd61;
}

.pg-strength-fill[data-level="strong"] {
  background: #87d67c;
}

.pg-strength-fill[data-level="very-strong"] {
  background: #64d9ae;
}

.pg-entropy-copy {
  margin: 10px 0 0;
  color: var(--pg-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.pg-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--pg-border);
}

.pg-details-title {
  margin-bottom: 12px;
}

.pg-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.pg-detail {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.pg-detail-label {
  display: block;
  margin-bottom: 4px;
  color: #918da6;
  font-size: 0.72rem;
}

.pg-detail-value {
  color: #f1edf9;
  font-size: 0.86rem;
  font-weight: 700;
}

.pg-privacy {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(99, 214, 156, 0.24);
  border-radius: 13px;
  background: rgba(71, 176, 123, 0.075);
}

.pg-lock {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border: 1px solid rgba(99, 214, 156, 0.28);
  border-radius: 8px;
  color: var(--pg-success);
  font-size: 13px;
}

.pg-privacy strong {
  display: block;
  margin-bottom: 3px;
  color: #d9f8e7;
  font-size: 0.84rem;
}

.pg-privacy-copy {
  margin: 0;
  font-size: 0.77rem;
  line-height: 1.45;
}

.pg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pg-action {
  flex: 1 1 135px;
  padding: 11px 15px;
}

.pg-action-primary {
  border-color: rgba(155, 108, 255, 0.83);
  color: white;
  background: linear-gradient(135deg, #8f5bff, #7144e8);
  box-shadow: 0 9px 20px rgba(104, 61, 225, 0.24);
}

.pg-action-primary:hover {
  border-color: #b99cff;
  background: linear-gradient(135deg, #9d70ff, #7c50ef);
  box-shadow: 0 11px 24px rgba(104, 61, 225, 0.32);
}

.pg-action-danger {
  color: #ffc0cc;
}

.pg-status {
  min-height: 1.3em;
  margin: 14px 1px 0;
  font-size: 0.83rem;
}

.pg-status.is-success {
  color: var(--pg-success);
}

.pg-status.is-error {
  color: var(--pg-danger);
}

.pg-presets,
.pg-tips {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  background: rgba(6, 8, 18, 0.34);
}

.pg-presets-heading,
.pg-tips h3 {
  margin: 0;
  color: #eeebf8;
  font-size: 0.94rem;
}

.pg-presets-copy {
  margin: 5px 0 13px;
  color: var(--pg-muted);
  font-size: 0.8rem;
}

.pg-preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pg-preset {
  padding: 8px 12px;
}

.pg-preset.is-active {
  border-color: rgba(155, 108, 255, 0.88);
  color: #fff;
  background: rgba(155, 108, 255, 0.2);
}

.pg-tips ul {
  display: grid;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.pg-security-tip {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pg-security-tip::before {
  content: "";
  position: absolute;
  top: 0.48em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pg-accent);
  box-shadow: 0 0 9px rgba(155, 108, 255, 0.56);
}

@media (max-width: 760px) {
  .pg-layout {
    grid-template-columns: 1fr;
  }

  .pg-card {
    padding: 17px;
    border-radius: 15px;
  }

  .pg-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pg-action {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .pg-heading {
    margin-bottom: 17px;
  }

  .pg-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pg-output-shell {
    min-height: 112px;
    padding: 14px;
  }

  .pg-output-actions {
    justify-content: stretch;
  }

  .pg-small-button {
    flex: 1 1 0;
  }

  .pg-presets,
  .pg-tips {
    padding: 16px;
  }
}/* ==========================================================
   Vamriko Password Generator - Compact centered workspace
   CSS-only layout override; does not change tool behavior.
   ========================================================== */
main{
  min-height:calc(100vh - 210px);
  padding-bottom:54px;
  background:
    radial-gradient(circle at 50% 0%,rgba(124,77,255,.09),transparent 30%),
    radial-gradient(circle at 88% 72%,rgba(124,77,255,.05),transparent 24%);
}
.page-head{
  width:min(100% - 32px,760px);
  margin:0 auto;
  padding:34px 0 16px;
}
.page-head .page-title{
  font-size:clamp(2rem,4vw,2.65rem);
  letter-spacing:-.052em;
}
.page-head .lead{
  max-width:620px;
  font-size:.92rem;
  line-height:1.6;
}
main > .wrap{
  width:min(100% - 32px,760px);
  margin:0 auto;
}
.ad-slot{
  display:none;
}
.tool-intro{
  padding:17px 19px;
}
.tool-intro h2{
  font-size:1rem;
}
.tool-intro > p{
  margin-top:7px;
  font-size:.82rem;
  line-height:1.55;
}
.intro-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:13px;
}
.intro-steps span{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:8px 9px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  color:#aaa6b8;
  background:rgba(255,255,255,.018);
  font-size:.7rem;
  line-height:1.35;
}
.intro-steps b{
  display:grid;
  flex:0 0 19px;
  width:19px;
  height:19px;
  place-items:center;
  border-radius:50%;
  color:#ded2ff;
  background:rgba(124,77,255,.20);
  font-size:.65rem;
}
.password-panel{
  overflow:hidden;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.password-generator{
  display:grid;
  gap:14px;
}
.pg-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  width:100%;
}
.pg-card{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012)),
    #111118;
  box-shadow:
    0 18px 45px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.03);
}
.pg-settings-card{
  padding:18px;
}
.pg-heading{
  align-items:center;
  gap:10px;
  margin-bottom:15px;
}
.pg-heading-mark{
  width:30px;
  height:30px;
  border-radius:10px;
}
.pg-heading h2{
  font-size:1rem;
}
.pg-heading p{
  margin-top:2px;
  font-size:.75rem;
}
.pg-field{
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.018);
}
.pg-field-label{
  margin-bottom:9px;
  font-size:.79rem;
}
.pg-length-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:7px;
}
.pg-number-wrap{
  display:flex;
  align-items:center;
  gap:8px;
}
.pg-number-input{
  width:69px;
  min-height:35px;
  padding:0 8px;
  font-size:.85rem;
}
.pg-unit{
  font-size:.73rem;
}
.pg-range{
  margin:5px 0 2px;
}
.pg-field-note{
  margin-top:6px;
  font-size:.68rem;
}
.pg-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:13px 0 0;
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.018);
}
.pg-options legend{
  grid-column:1 / -1;
  margin-bottom:1px;
  padding:0;
  font-size:.8rem;
}
.pg-option{
  min-height:52px;
  padding:8px 9px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;
  background:rgba(255,255,255,.018);
}
.pg-option:last-child{
  grid-column:1 / -1;
}
.pg-check{
  width:18px;
  height:18px;
  border-radius:6px;
  font-size:.68rem;
}
.pg-option-copy strong{
  font-size:.76rem;
}
.pg-option-copy small{
  margin-top:1px;
  font-size:.64rem;
}
.pg-advanced{
  margin-top:13px;
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.018);
}
.pg-advanced-title{
  margin-bottom:9px;
  font-size:.8rem;
}
.pg-advanced-description{
  display:none;
}
.pg-exclude-input{
  min-height:37px;
  padding:0 10px;
  font-size:.78rem;
}
.pg-presets{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:14px;
  row-gap:2px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:14px;
  background:rgba(255,255,255,.02);
}
.pg-presets-heading{
  margin:0;
  font-size:.8rem;
}
.pg-presets-copy{
  display:none;
}
.pg-preset-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}
.pg-preset{
  min-height:31px;
  padding:0 10px;
  border-radius:8px;
  font-size:.7rem;
}
.pg-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  gap:8px;
  margin:0;
}
.pg-action{
  min-height:40px;
  padding:0 12px;
  border-radius:10px;
  font-size:.75rem;
}
.pg-action-primary{
  min-width:0;
}
.pg-status{
  min-height:0;
  margin:0;
  font-size:.74rem;
  text-align:center;
}
.pg-result-card{
  display:none;
  padding:18px;
  animation:pg-result-drop .28s ease both;
}
.password-generator:has(#pg-output:not(:placeholder-shown)) .pg-result-card{
  display:block;
}
@keyframes pg-result-drop{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
.pg-output-shell{
  grid-template-columns:1fr auto;
}
.pg-output{
  min-height:64px;
  padding:12px;
  font-size:.9rem;
}
.pg-output-actions{
  gap:6px;
  padding:7px;
}
.pg-small-button{
  min-height:29px;
  padding:0 9px;
  border-radius:8px;
  font-size:.69rem;
}
.pg-strength{
  margin-top:13px;
  padding:12px;
  border-radius:12px;
}
.pg-strength-title,
.pg-strength-label{
  font-size:.74rem;
}
.pg-entropy-copy{
  margin-top:6px;
  font-size:.68rem;
}
.pg-details{
  margin-top:12px;
}
.pg-details-title{
  margin-bottom:8px;
  font-size:.8rem;
}
.pg-detail-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
.pg-detail{
  min-height:54px;
  padding:8px;
  border-radius:10px;
}
.pg-detail-label{
  font-size:.64rem;
}
.pg-detail-value{
  margin-top:3px;
  font-size:.72rem;
}
.pg-privacy{
  gap:9px;
  margin-top:12px;
  padding:10px;
  border-radius:11px;
}
.pg-lock{
  font-size:.95rem;
}
.pg-privacy strong{
  font-size:.73rem;
}
.pg-privacy-copy{
  margin-top:2px;
  font-size:.66rem;
  line-height:1.45;
}
.pg-tips{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:12px;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:rgba(255,255,255,.017);
}
.pg-tips h3{
  margin:0;
  white-space:nowrap;
  font-size:.76rem;
}
.pg-tips ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px 14px;
  margin:0;
  padding:0;
  list-style:none;
}
.pg-security-tip{
  padding-left:12px;
  font-size:.68rem;
  line-height:1.4;
}
.pg-security-tip::before{
  left:0;
  width:5px;
  height:5px;
}
@media(max-width:620px){
  .page-head,
  main > .wrap{
    width:min(100% - 28px,760px);
  }
  .intro-steps{
    grid-template-columns:1fr;
  }
  .pg-settings-card{
    padding:14px;
  }
  .pg-options{
    grid-template-columns:1fr;
  }
  .pg-option:last-child{
    grid-column:auto;
  }
  .pg-presets{
    grid-template-columns:1fr;
  }
  .pg-preset-list{
    justify-content:flex-start;
  }
  .pg-actions{
    grid-template-columns:1fr 1fr;
  }
  .pg-action-primary{
    grid-column:1 / -1;
  }
  .pg-tips{
    grid-template-columns:1fr;
  }
  .pg-tips ul{
    grid-template-columns:1fr;
  }
}/* Password Generator - professional dark interface */
.password-tool {
  display: grid;
  gap: 1.25rem;
}
.password-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.2), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.13), transparent 38%),
    rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}
.password-hero-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.password-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: #a78bfa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.password-hero h2 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.2;
}
.password-score {
  flex: 0 0 auto;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
}
.password-score[data-level="good"] {
  border-color: rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
}
.password-score[data-level="strong"] {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.password-score[data-level="excellent"] {
  border-color: rgba(167, 139, 250, 0.6);
  color: #c4b5fd;
}
.password-output-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.27);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.56);
}
.password-output {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 0;
  outline: 0;
  resize: none;
  color: #f8fafc;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  letter-spacing: 0.035em;
}
.password-output:focus {
  box-shadow: none;
}
.password-icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  cursor: pointer;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.72);
  font-size: 1.1rem;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.password-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.72);
  color: #f5f3ff;
  background: rgba(109, 40, 217, 0.3);
}
.password-icon-button:focus-visible,
.password-output-wrap:focus-within {
  outline: 3px solid rgba(139, 92, 246, 0.3);
  outline-offset: 3px;
}
.eye-hide {
  display: none;
}
.password-icon-button.is-visible .eye-show {
  display: none;
}
.password-icon-button.is-visible .eye-hide {
  display: inline;
}
.strength-row {
  margin-top: 0.85rem;
}
.strength-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}
.strength-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #f87171;
  transition: width 260ms ease, background 260ms ease;
}
.strength-bar[data-level="good"] {
  background: #38bdf8;
}
.strength-bar[data-level="strong"] {
  background: #34d399;
}
.strength-bar[data-level="excellent"] {
  background: linear-gradient(90deg, #34d399, #8b5cf6);
}
.password-hero .note {
  margin: 0.6rem 0 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
}
.password-settings {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: 1rem;
  align-items: start;
}
.password-settings .field {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.4);
}
.password-settings label {
  color: #e2e8f0;
  font-weight: 750;
}
.number-control {
  display: flex;
  align-items: center;
  margin-top: 0.55rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.45);
}
.number-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.number-control:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.number-suffix {
  padding: 0 0.75rem;
  color: #94a3b8;
  font-size: 0.78rem;
  white-space: nowrap;
}
.password-settings .note {
  margin: 0.5rem 0 0;
  color: #94a3b8;
  font-size: 0.8rem;
}
.password-options .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}
.password-options .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.66rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  cursor: pointer;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.55);
  font-size: 0.84rem;
  font-weight: 650;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.password-options .pill:hover {
  border-color: rgba(167, 139, 250, 0.58);
  color: #f5f3ff;
}
.password-options .pill:has(input:checked) {
  border-color: rgba(139, 92, 246, 0.72);
  color: #ede9fe;
  background: rgba(109, 40, 217, 0.22);
}
.password-options input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: #8b5cf6;
}
.password-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0;
}
.password-toolbar .btn {
  min-height: 42px;
}
.password-generate-button {
  margin-right: auto;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.25);
}
.password-generate-button span {
  margin-right: 0.25rem;
}
.password-tool .status {
  min-height: 1.35rem;
  margin: 0;
  color: #94a3b8;
  font-size: 0.86rem;
}
.password-tool .status.success {
  color: #6ee7b7;
}
.password-tool .status.error {
  color: #fca5a5;
}
@media (max-width: 720px) {
  .password-settings {
    grid-template-columns: 1fr;
  }
  .password-hero-heading {
    align-items: flex-start;
  }
  .password-toolbar .btn {
    flex: 1 1 calc(50% - 0.65rem);
  }
  .password-generate-button {
    flex-basis: 100% !important;
    margin-right: 0;
  }
}
@media (max-width: 420px) {
  .password-output-wrap {
    gap: 0.35rem;
    padding: 0.35rem;
  }
  .password-icon-button {
    flex-basis: 38px;
    width: 38px;
    min-height: 38px;
  }
  .password-toolbar .btn {
    flex-basis: 100%;
  }
  .number-suffix {
    display: none;
  }
}
