
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700&family=Tektur:wght@700;900&display=swap');
#pd-results, #pd-results button, #pd-results a { font-family: "Exo 2", "Ubuntu", Arial, sans-serif; }
#pd-results [hidden] { display: none !important; }
#pd-results {
  --bg: #05070f; --text: #eef1ff; --muted: rgba(238, 241, 255, .62); --faint: rgba(238, 241, 255, .34);
  --cyan: #92D5FF; --lav: #E9C3FF; --green: #34d399; --amber: #ffb703; --red: #ff6b6b;
  --tile: rgba(255, 255, 255, .04); --line: rgba(255, 255, 255, .1);
  --cyan-soft: rgba(146, 213, 255, .12); --green-soft: rgba(52, 211, 153, .14); --amber-soft: rgba(255, 183, 3, .14); --red-soft: rgba(255, 107, 107, .14); --lav-soft: rgba(233, 195, 255, .14);
  position: relative; min-height: 100vh; color: var(--text); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  background: radial-gradient(900px 500px at 12% 10%, rgba(61, 107, 255, .14), transparent 60%), radial-gradient(700px 500px at 92% 95%, rgba(139, 92, 246, .12), transparent 60%), var(--bg);
}
#pd-results * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
#pd-results::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
#pd-results .pd-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 860px); margin: 0 auto; padding: 18px 20px 8px; font-size: 13px; color: var(--muted); }
#pd-results .pd-brand { font-family: "Tektur", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--text); white-space: nowrap; }
#pd-results .pd-brand em { margin: 0 6px; color: var(--cyan); font-style: normal; }
#pd-results .pd-top-link { color: var(--text); text-decoration: none; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-weight: 600; font-size: 13px; white-space: nowrap; }
#pd-results .pd-shell { position: relative; width: min(100%, 860px); margin: 0 auto; padding: 6px 20px 60px; }
#pd-results .pd-state { position: relative; width: min(100%, 560px); margin: 12vh auto 0; padding: 24px 28px; border-radius: 20px; color: var(--muted); background: rgba(8, 11, 24, .66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); font-size: 15px; text-align: center; }
#pd-results .pd-state a, #pd-results p a { color: var(--cyan); }
#pd-results h1 { margin: 6px 0 10px; font-family: "Tektur", sans-serif; font-size: clamp(28px, 7vw, 40px); font-weight: 900; line-height: 1.05; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#pd-results h2 { margin: 0 0 10px; font-family: "Tektur", sans-serif; font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--text); }
#pd-results h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; line-height: 1.3; }
#pd-results p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.55; }
#pd-results .pd-lead { color: var(--text); font-size: 17px; }
#pd-results .pd-kicker { margin: 8px 0 8px; color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
#pd-results .pd-tile { position: relative; padding: 20px 22px; border-radius: 22px; background: var(--tile); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); margin-bottom: 12px; }
#pd-results .pd-tile > .pd-kicker:first-child { margin-top: 0; }
#pd-results .pd-tile p:last-child { margin-bottom: 0; }
#pd-results .pd-tile.accent { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(146, 213, 255, .22); }
#pd-results .pd-tile.good { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(52, 211, 153, .3); }
#pd-results .pd-tile.warn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 183, 3, .35); }
#pd-results .pd-note { font-size: 13px; color: var(--faint); }
/* показатели */
#pd-results .pd-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 4px; }
#pd-results .pd-kpi { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
#pd-results .pd-kpi b { display: block; font-family: "Tektur", sans-serif; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
#pd-results .pd-kpi b small { font-family: "Exo 2", sans-serif; font-size: 14px; font-weight: 600; color: var(--faint); margin-left: 3px; }
#pd-results .pd-kpi span { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); line-height: 1.3; }
#pd-results .pd-kpi.a b { color: var(--cyan); } #pd-results .pd-kpi.good b { color: var(--green); } #pd-results .pd-kpi.warn b { color: var(--amber); } #pd-results .pd-kpi.lav b { color: var(--lav); } #pd-results .pd-kpi.bad b { color: var(--red); }
#pd-results .pd-kpi.status b { font-size: 20px; line-height: 1.2; }
#pd-results .pd-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; padding: 3px 9px; border-radius: 999px; background: var(--cyan-soft); color: var(--cyan); white-space: nowrap; margin: 0 4px 4px 0; vertical-align: middle; }
#pd-results .pd-tag.good { background: var(--green-soft); color: var(--green); } #pd-results .pd-tag.warn { background: var(--amber-soft); color: var(--amber); } #pd-results .pd-tag.mute { background: rgba(255, 255, 255, .07); color: var(--muted); } #pd-results .pd-tag.lav { background: var(--lav-soft); color: var(--lav); }
/* приглашение */
#pd-results .pd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
#pd-results .pd-facts div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
#pd-results .pd-facts b { display: block; font-family: "Tektur", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.15; color: var(--text); }
#pd-results .pd-facts span { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); line-height: 1.35; }
#pd-results .pd-contact { font-size: 14px; color: var(--muted); line-height: 1.6; padding: 12px 0 0; border-top: 1px solid var(--line); }
#pd-results .pd-contact a { color: var(--cyan); text-decoration: none; white-space: nowrap; }
#pd-results .pd-decide { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
#pd-results .pd-q { font-family: "Tektur", sans-serif; font-size: 22px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
#pd-results .pd-done { display: flex; align-items: center; gap: 10px; font-family: "Tektur", sans-serif; font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
#pd-results .pd-done i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-style: normal; font-size: 15px; background: var(--green-soft); color: var(--green); }
#pd-results .pd-done.off i { background: rgba(255, 255, 255, .08); color: var(--muted); } #pd-results .pd-done.wait i { background: var(--amber-soft); color: var(--amber); }
/* профиль */
#pd-results .pd-prof { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 16px 28px; align-items: start; }
@media (max-width: 680px) { #pd-results .pd-prof { grid-template-columns: 1fr; } }
#pd-results .pd-dim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
#pd-results .pd-dim:last-child { border-bottom: 0; }
#pd-results .pd-dim .nm { font-weight: 700; font-size: 14px; }
#pd-results .pd-dim .pc { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
#pd-results .pd-dim .pc b { color: var(--text); font-size: 14px; }
#pd-results .pd-meter { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: visible; margin-top: 4px; }
#pd-results .pd-meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--lav)); }
#pd-results .pd-meter i.good { background: var(--green); } #pd-results .pd-meter i.warn { background: var(--amber); }
#pd-results .pd-meter em { position: absolute; top: -3px; width: 2px; height: 12px; background: rgba(238, 241, 255, .5); border-radius: 1px; }
#pd-results .pd-dim .dt { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin-top: 6px; display: none; }
#pd-results .pd-dim.open .dt { display: block; }
#pd-results .pd-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 8px; justify-content: center; }
#pd-results .pd-legend i { display: inline-block; width: 12px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
/* советы */
#pd-results .pd-adv { display: grid; gap: 12px; }
#pd-results .pd-card { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
#pd-results .pd-card.strong { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); } #pd-results .pd-card.grow { box-shadow: inset 0 0 0 1px rgba(255, 183, 3, .3); }
#pd-results .pd-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
#pd-results .pd-card-head .pc { font-size: 12px; color: var(--muted); white-space: nowrap; }
#pd-results .pd-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.5; }
#pd-results .pd-card li { margin-bottom: 5px; } #pd-results .pd-card li::marker { color: var(--cyan); }
#pd-results .pd-card .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin: 12px 0 2px; }
#pd-results .pd-card .lbl.g { color: var(--green); } #pd-results .pd-card .lbl.w { color: var(--amber); }
#pd-results .pd-first { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
#pd-results .pd-first .n { font-family: "Tektur", sans-serif; font-size: 44px; font-weight: 900; line-height: 1; color: var(--amber); }
#pd-results .pd-steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
#pd-results .pd-steps li { position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-size: 14px; color: var(--text); }
#pd-results .pd-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 12px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber-soft); color: var(--amber); font-family: "Tektur", sans-serif; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
/* роли */
#pd-results .pd-roles { display: grid; gap: 8px; margin-top: 8px; }
#pd-results .pd-role { display: grid; grid-template-columns: 150px 1fr 40px; gap: 10px; align-items: center; font-size: 14px; }
#pd-results .pd-role .bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; } #pd-results .pd-role .bar i { display: block; height: 100%; background: rgba(238, 241, 255, .35); border-radius: 4px; }
#pd-results .pd-role.top .bar i { background: linear-gradient(90deg, var(--cyan), var(--lav)); } #pd-results .pd-role.top .nm { color: var(--cyan); font-weight: 700; }
#pd-results .pd-role .v { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
@media (max-width: 480px) { #pd-results .pd-role { grid-template-columns: 110px 1fr 36px; } }
/* кнопки */
#pd-results .pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--text); background: rgba(255, 255, 255, .08); text-decoration: none; cursor: pointer; }
#pd-results .pd-btn.primary { color: #05070f; background: linear-gradient(90deg, var(--cyan), var(--lav)); }
#pd-results .pd-btn.danger { color: var(--red); background: var(--red-soft); }
#pd-results .pd-btn[disabled] { opacity: .5; cursor: default; }
#pd-results .pd-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
#pd-results .pd-quote { border-left: 2px solid var(--lav); padding-left: 12px; color: var(--text); font-size: 15px; margin: 0 0 10px; }
#pd-results .pd-err { color: var(--red); font-size: 14px; margin-top: 8px; }
#pd-results .pd-fade { animation: pd-fade .3s cubic-bezier(.2, .7, .2, 1); } @keyframes pd-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #pd-results .pd-fade { animation: none; } }
@media print { #pd-results { background: #fff; color: #111; } #pd-results .pd-top, #pd-results .pd-row { display: none; } }
