/* =====================================================================
   LAB40 · 34 密码泄露自查 · 独立视觉母题「本地保险柜」
   色板：深绯红 + 暗色仪表；版式：左输入 / 右环形评分仪表；风险色明确。
   仅作用于 .l40--pl 容器。
   ===================================================================== */
.l40--pl {
    --l40-pri: #be123c;
    --l40-pri2: #e34668;
    --l40-tint: #fde9ed;
    --l40-bg: #f7f3f4;
    --l40-bg2: #eee6e9;
    --l40-ink: #2a1d22;
    --l40-sub: #6a555c;
    --l40-mute: #9c858d;
    --l40-line: #ebdee2;
    --l40-line2: #dac7ce;
}
html[data-theme="dark"] .l40--pl {
    --l40-pri: #f0718e;
    --l40-pri2: #f69bb0;
    --l40-tint: rgba(190, 18, 60, .25);
    --l40-bg: #191317;
    --l40-bg2: #261c22;
    --l40-ink: #f5ebee;
    --l40-sub: #cbb5bd;
    --l40-mute: #9d858e;
    --l40-line: #37272e;
    --l40-line2: #4e3741;
}

.pl-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr); gap: 30px; align-items: center; }
.pl-hero-art { display: flex; justify-content: flex-end; }
.pl-shield { position: relative; width: 190px; height: 214px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(160deg, #d81b4e, #8e0d2e); clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%); box-shadow: 0 18px 40px rgba(190, 18, 60, .3); }
.pl-shield-ic { font-size: 62px; filter: grayscale(.2); }
.pl-shield span { font-family: var(--l40-mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: rgba(255, 255, 255, .85); }

.pl-studio { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 24px; margin-top: 30px; align-items: stretch; }
.pl-input-panel { padding: 22px; background: var(--l40-card); border: 1px solid var(--l40-line); border-radius: var(--l40-r); box-shadow: var(--l40-shadow-sm); }
.pl-micro { display: block; font-family: var(--l40-mono); font-size: var(--l40-xs); font-weight: 700; letter-spacing: .1em; color: var(--l40-pri); text-transform: uppercase; }
.pl-panel-title { font-size: var(--l40-md); margin: 6px 0 14px; }
.pl-pw-wrap { position: relative; }
.pl-pw { width: 100%; padding: 14px 52px 14px 15px; font-family: var(--l40-mono); font-size: 16px; letter-spacing: .05em; color: var(--l40-ink); background: var(--l40-card2); border: 1px solid var(--l40-line2); border-radius: 11px; outline: none; }
.pl-pw:focus { border-color: var(--l40-pri); box-shadow: 0 0 0 3px var(--l40-tint); }
.pl-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 18px; opacity: .7; }
.pl-meter { display: flex; height: 9px; margin-top: 14px; border-radius: 999px; overflow: hidden; background: var(--l40-bg2); }
.pl-meter-fill { width: 0; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--l40-bad), var(--l40-warn), var(--l40-ok)); transition: width .35s ease; }
.pl-meter-lb { display: flex; justify-content: space-between; margin-top: 6px; font-size: var(--l40-xs); color: var(--l40-mute); }

.pl-gauge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 22px; background: var(--l40-card); border: 1px solid var(--l40-line); border-radius: var(--l40-r); text-align: center; }
.pl-gauge-ring { width: 150px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: conic-gradient(var(--l40-pri) 0deg, var(--l40-bg2) 0deg); box-shadow: inset 0 0 0 12px var(--l40-card); transition: background .35s; }
.pl-gauge-ring b { font-family: var(--l40-mono); font-size: 40px; line-height: 1; }
.pl-gauge-ring small { font-size: var(--l40-xs); color: var(--l40-mute); }
.pl-verdict { font-size: var(--l40-md); font-weight: 800; color: var(--l40-pri); }
.pl-gauge p { font-size: var(--l40-xs); color: var(--l40-mute); line-height: 1.6; }

/* 报告 */
.pl-dims { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.pl-dim { padding: 12px 14px; background: var(--l40-card); border: 1px solid var(--l40-line); border-radius: 10px; }
.pl-dim b { display: block; font-size: var(--l40-sm); }
.pl-dim .pl-dim-bar { height: 6px; margin: 8px 0 5px; background: var(--l40-bg2); border-radius: 999px; overflow: hidden; }
.pl-dim .pl-dim-bar i { display: block; height: 100%; background: var(--l40-pri); border-radius: 999px; }
.pl-dim small { font-size: var(--l40-xs); color: var(--l40-mute); }
.pl-hit-ok { padding: 14px; background: var(--l40-okbg); color: var(--l40-ok); border-radius: 10px; font-weight: 700; }
.pl-hit-bad { padding: 14px; background: var(--l40-badbg); color: var(--l40-bad); border-radius: 10px; }
.pl-hit-bad b { display: block; margin-bottom: 6px; }
.pl-hit-bad ul { margin: 0; padding-left: 20px; font-size: var(--l40-sm); }
#plTips { margin: 0; padding-left: 20px; font-size: var(--l40-sm); color: var(--l40-sub); }
.pl-alt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-alt code { flex: 1 1 260px; padding: 12px 14px; font-size: 15px; word-break: break-all; background: var(--l40-bg2); border-radius: 9px; }

@media (max-width: 900px) { .pl-hero, .pl-studio { grid-template-columns: 1fr; } }
