/* practice tools: interview, answer check, result-day, quiz, skill sprints */
.pr-wrap { padding-top: 18px; padding-bottom: 32px; }
.pr-wrap h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.12; }
.pr-card { min-width: 0; }
.pr-card h2 { font-size: 20px; margin-bottom: 10px; }
.pr-card h3 { font-size: 17px; margin: 0 0 8px; }
.pr-hero { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.pr-hero p { font-size: 16.5px; color: var(--muted); margin-top: 6px; }
.pr-hero h1 { margin-top: 10px; }
.pr-orb { position: relative; flex: 0 0 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6B8, #FFD60A 38%, #4F5DE4 100%); box-shadow: 0 10px 30px rgba(79, 93, 228, .35); animation: prFloat 4s ease-in-out infinite; }
.pr-orb span { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(79, 93, 228, .35); animation: prPing 2.4s ease-out infinite; }
.pr-orb span:nth-child(2) { animation-delay: .8s; } .pr-orb span:nth-child(3) { animation-delay: 1.6s; }
@keyframes prPing { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes prFloat { 50% { transform: translateY(-6px); } }
@media (max-width: 560px) { .pr-hero { flex-direction: column; align-items: flex-start; } .pr-orb { flex-basis: 64px; width: 64px; height: 64px; } }
.pr-types { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pr-types { grid-template-columns: 1fr 1fr; } }
.pr-type { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; transition: transform .15s, border-color .15s, box-shadow .15s; }
.pr-type b { font-size: 16.5px; } .pr-type span { font-size: 14.5px; color: var(--muted); }
.pr-type:hover { transform: translateY(-2px); }
.pr-type.on { border-color: #4F5DE4; background: #F2F3FF; box-shadow: 0 0 0 3px rgba(79, 93, 228, .15); }
.pr-go { margin-top: 14px; min-width: 200px; }
.pr-dots { display: inline-flex; gap: 6px; } .pr-dots span { width: 10px; height: 10px; border-radius: 50%; background: #E3E6F5; } .pr-dots .d { background: #0E9F6E; } .pr-dots .c { background: #4F5DE4; box-shadow: 0 0 0 3px rgba(79, 93, 228, .2); }
.pr-chat { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; max-height: 52vh; overflow-y: auto; padding-right: 2px; }
.pr-msg { display: flex; gap: 8px; align-items: flex-end; animation: prIn .3s ease both; max-width: 100%; }
.pr-msg > div { padding: 11px 14px; border-radius: 18px; font-size: 16px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.pr-msg.p > div { background: #F2F3FF; border-bottom-left-radius: 6px; max-width: 88%; }
.pr-msg.me { justify-content: flex-end; } .pr-msg.me > div { background: #4F5DE4; color: #fff; border-bottom-right-radius: 6px; max-width: 85%; }
.pr-av { flex: 0 0 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #4F5DE4, #8C95FF); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
@keyframes prIn { from { opacity: 0; transform: translateY(6px); } }
.pr-typing { display: inline-flex; gap: 5px; padding: 14px 16px !important; } .pr-typing i { width: 8px; height: 8px; border-radius: 50%; background: #8C95FF; animation: prDot 1s infinite; } .pr-typing i:nth-child(2) { animation-delay: .15s; } .pr-typing i:nth-child(3) { animation-delay: .3s; }
.pr-typing.big { display: flex; justify-content: center; padding: 18px !important; }
@keyframes prDot { 50% { transform: translateY(-5px); opacity: .5; } }
.pr-input textarea { font-size: 16px; resize: vertical; }
.pr-mic.rec { background: #FFE3E3; border-color: #E03131; color: #C92A2A; animation: prPulse 1.2s infinite; }
@keyframes prPulse { 50% { box-shadow: 0 0 0 6px rgba(224, 49, 49, .15); } }
.pr-result .pr-rtop { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pr-rtop > div { flex: 1; min-width: 200px; }
.pr-ring .pr-arc { animation: prRing 1.2s ease-out both; }
@keyframes prRing { from { stroke-dashoffset: var(--c); } }
.pr-bars { display: grid; gap: 10px; margin: 16px 0; }
@media (min-width: 640px) { .pr-bars { grid-template-columns: 1fr 1fr; } }
.pr-bar { display: grid; grid-template-columns: 96px 1fr 44px; gap: 10px; align-items: center; font-size: 15px; }
.pr-bar i { height: 10px; border-radius: 6px; background: #EEF0FF; overflow: hidden; } .pr-bar i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4F5DE4, #0E9F6E); animation: prGrow 1s ease-out both; }
.pr-bar em { font-style: normal; font-weight: 700; text-align: right; }
@keyframes prGrow { from { width: 0 !important; } }
.pr-two { display: grid; gap: 16px; margin-top: 6px; } @media (min-width: 760px) { .pr-two { grid-template-columns: 1fr 1fr; } }
.pr-ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; font-size: 15.5px; }
.pr-better { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #FFFBE6, #F2F3FF); border: 1.5px dashed #C9CEFF; }
.pr-better p { font-size: 16px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.pr-qgrid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pr-qgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pr-qgrid { grid-template-columns: repeat(3, 1fr); } }
.pr-qcard { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; min-height: 170px; transition: transform .15s, box-shadow .15s; }
.pr-qcard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27, 29, 58, .08); }
.pr-qcard b { font-size: 18px; }
.pr-qi { font-size: 30px; width: 52px; height: 52px; border-radius: 16px; background: #F2F3FF; display: grid; place-items: center; }
.pr-qi.big { width: 64px; height: 64px; font-size: 36px; flex: 0 0 64px; }
.pr-scard { border-top: 4px solid var(--sc); }
.pr-prog { height: 8px; border-radius: 6px; background: #EEF0FF; overflow: hidden; margin: 12px 0; } .pr-prog b { display: block; height: 100%; background: linear-gradient(90deg, #4F5DE4, #FFD60A); border-radius: 6px; transition: width .4s; } .pr-prog.sm { height: 6px; margin: 6px 0; }
.pr-q { font-size: clamp(19px, 3.6vw, 24px); line-height: 1.35; margin: 4px 0 14px; }
.pr-opts { display: grid; gap: 10px; }
.pr-opt { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; cursor: pointer; transition: transform .1s, border-color .15s; min-height: 52px; }
.pr-opt span { flex: 0 0 30px; height: 30px; border-radius: 50%; background: #F2F3FF; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #4F5DE4; }
.pr-opt:not([disabled]):hover { border-color: #4F5DE4; transform: translateX(2px); }
.pr-opt.ok { border-color: #0E9F6E; background: #EAFBF3; } .pr-opt.ok span { background: #0E9F6E; color: #fff; }
.pr-opt.bad { border-color: #E03131; background: #FFF0F0; animation: prShake .35s; } .pr-opt.bad span { background: #E03131; color: #fff; }
.pr-opt.dim { opacity: .55; } .pr-opt[disabled] { cursor: default; }
@keyframes prShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pr-exp { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 15.5px; animation: prIn .3s both; } .pr-exp.ok { background: #EAFBF3; } .pr-exp.bad { background: #FFF6E5; }
.pr-timed { font-size: 15px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.pr-clock { font-weight: 800; color: #E8590C; font-size: 16px; }
.pr-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; } .pr-dot.ok { background: #0E9F6E; } .pr-dot.bad { background: #E03131; }
.pr-review { margin-top: 14px; }
.pr-sphead { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 22px; background: linear-gradient(135deg, #fff, #F2F3FF); border: 1.5px solid var(--line); border-left: 6px solid var(--sc); }
.pr-sphead h1 { font-size: clamp(22px, 4.4vw, 32px); } .pr-sphead p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.pr-days { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pr-day { display: flex; gap: 12px; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); transition: border-color .2s; }
.pr-day.now { border-color: var(--sc); box-shadow: 0 0 0 3px rgba(79, 93, 228, .1); }
.pr-day.done { background: #F6FDF9; }
.pr-dnum { flex: 0 0 56px; height: 56px; border-radius: 16px; background: #F2F3FF; display: grid; place-items: center; font-weight: 800; font-size: 13.5px; color: #4F5DE4; text-align: center; }
.pr-day.done .pr-dnum { background: #0E9F6E; color: #fff; }
.pr-dbody { flex: 1; min-width: 0; } .pr-dbody b { font-size: 17px; } .pr-dbody p { font-size: 15.5px; margin: 4px 0 8px; color: var(--ink); }
.pr-check { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; font-weight: 600; font-size: 15px; cursor: pointer; min-height: 36px; }
.pr-check input { width: 20px; height: 20px; accent-color: #0E9F6E; }
.pr-cert { margin-top: 14px; padding: 10px; border-radius: 18px; background: linear-gradient(135deg, var(--sc), #FFD60A); }
.pr-cin { background: #fff; border-radius: 12px; padding: 26px 18px; text-align: center; border: 2px solid rgba(0, 0, 0, .05); }
.pr-clogo { height: 40px; width: auto; border-radius: 8px; }
.pr-ck { display: block; margin-top: 10px; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--muted); font-weight: 700; }
.pr-cin h2 { font-size: clamp(24px, 6vw, 38px); margin: 10px 0 2px; color: #1B1D3A; overflow-wrap: anywhere; } .pr-cin h3 { font-size: clamp(18px, 4vw, 24px); margin: 2px 0; color: #4F5DE4; } .pr-cin p { margin: 2px 0; }
.pr-cfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pr-cseal { font-size: 30px; width: 54px; height: 54px; border-radius: 50%; background: #FFF6B8; display: grid; place-items: center; }
@media print {
  body.pr-printing * { visibility: hidden !important; }
  body.pr-printing .pr-cert, body.pr-printing .pr-cert * { visibility: visible !important; }
  body.pr-printing .pr-cert { position: fixed; left: 0; top: 0; width: 100%; margin: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.pr-printing .pr-cin { padding: 60px 40px; }
}
