/* منطقة الأهل */
.modal.wide { max-width: 440px; }
.gate p { margin: 0 0 6px; text-align: center; }
.gate-q { text-align: center; font: 800 40px var(--f-head); color: var(--blue-d); margin: 6px 0; letter-spacing: 2px; }
.gate-input { display: block; width: 100%; margin: 6px 0 2px; padding: 10px 14px; font: 800 28px var(--f-body); text-align: center; border: 4px solid var(--blue); border-radius: 18px; background: #fff; color: var(--navy); }
.parents .modal-body { font-size: 15px; line-height: 1.6; }
.pcard { background: #fff; border-radius: 20px; padding: 12px 14px 14px; margin-bottom: 12px; box-shadow: 0 2px 0 rgba(38, 51, 74, .08); }
.pcard h3 { font-size: 18px; color: var(--terra); margin-bottom: 8px; }
.pcard.first { background: #E6F2FF; }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-head b { display: block; font: 800 22px var(--f-head); }
.pc-head span { color: var(--ink-soft); font-size: 14px; }
.ptabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ptab { padding: 6px 16px; border-radius: 999px; border: 3px solid transparent; background: #fff; font: 800 16px var(--f-head); box-shadow: var(--shadow-1); }
.ptab.on { border-color: var(--blue); background: #E6F2FF; }
.skill { padding: 8px 0; border-bottom: 1px dashed #e4d9bd; }
.skill:last-of-type { border-bottom: 0; }
.sk-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sk-top b { font-size: 16px; }
.sk-top span { font-size: 13px; color: var(--ink-soft); }
.bar { height: 10px; border-radius: 999px; background: #eee3c9; margin: 6px 0; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; transition: width .5s; }
.skill p { margin: 2px 0; font-weight: 500; }
.skill small { color: var(--ink-soft); font-weight: 500; display: block; }
.muted { color: var(--ink-soft); font-size: 13.500px; font-weight: 500; margin: 6px 0 0; }
.level-row.sm .level-btn { padding: 8px 4px; }
.level-row.sm .lv-unit { font: 800 14px var(--f-head); }
.pbtns { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.sw { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-weight: 700; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.knob { position: relative; width: 52px; height: 30px; border-radius: 999px; background: #cfc6b0; transition: background .2s; flex: none; }
.knob::after { content: ''; position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: transform .2s; }
.sw input:checked + .knob { background: var(--green); }
.sw input:checked + .knob::after { transform: translateX(-22px); }
.sw input:focus-visible + .knob { outline: 4px solid var(--yellow); }
.pcard .btn { margin-top: 8px; }
.pcard.brand { background: #FFF1C9; border: 3px dashed var(--orange); }
.brand-link { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: var(--navy); color: #fff; text-decoration: none; font: 800 16px var(--f-head); }
.brand-link .ico { width: 20px; height: 20px; }
