/* Akademiya (/academy.html). Umumiy uslub: /partner-hub.css */
.ac-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 16px; }
.ac-chip { appearance: none; border: 1px solid var(--ph-border); background: var(--ph-surface); color: var(--ph-muted); font: 600 14px/1 var(--ph-font); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.ac-chip[aria-pressed="true"] { background: var(--ph-ink); color: var(--ph-on-ink); border-color: var(--ph-ink); }
.ac-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ac-card { background: var(--ph-surface); border: 1px solid var(--ph-border); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ac-card h3 { margin: 0; font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.ac-card p { margin: 0; font-size: 14px; flex: 1; }
.ac-card .ph-btn { align-self: flex-start; }
.ac-card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ph-surface-2); display: grid; place-items: center; font-size: 24px; }
.ac-card-meta { gap: 12px; }
.ac-progress { height: 6px; border-radius: 999px; background: var(--ph-surface-2); overflow: hidden; }
.ac-progress > span { display: block; height: 100%; background: var(--ph-accent); border-radius: inherit; transition: width .3s; }
#ac-login { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.ac-certs { margin-top: 40px; }
.ac-cert { display: flex; gap: 14px; align-items: center; background: var(--ph-surface); border: 1px solid var(--ph-border); border-radius: 16px; padding: 14px 16px; }
.ac-cert-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--ph-accent); color: var(--ph-accent-ink); display: grid; place-items: center; font-size: 20px; flex: none; }

.ac-back { margin: 16px 0 0; }
.ac-course-head { padding: 12px 0 20px; }
.ac-course-title { font-size: clamp(26px, 4vw, 38px); }
.ac-course-head .ac-progress { max-width: 420px; margin-top: 14px; }
.ac-course-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.ac-lessons { position: sticky; top: 80px; }
.ac-lessons ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ac-lessons a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ph-muted); font-size: 14px; font-weight: 500; }
.ac-lessons a:hover { background: var(--ph-surface-2); color: var(--ph-text); }
.ac-lessons a[aria-current="step"] { background: var(--ph-surface); color: var(--ph-text); box-shadow: inset 0 0 0 1px var(--ph-border); }
.ac-lessons a.is-locked { opacity: .55; }
.ac-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ph-surface-2); font-size: 12px; font-weight: 700; flex: none; border: 1px solid var(--ph-border); }
.ac-lessons a.is-done .ac-num { background: var(--ph-success-bg); color: var(--ph-success); border-color: transparent; }
.ac-reader { padding: clamp(20px, 3vw, 32px); min-height: 360px; outline: none; }
.ac-reader .ph-h2 { font-size: clamp(22px, 3vw, 28px); }
.ac-body { font-size: 17px; line-height: 1.65; max-width: 680px; }
.ac-body ul { padding-left: 20px; display: grid; gap: 6px; }
.ac-actions { margin-top: 24px; }
.ac-quiz { display: grid; gap: 14px; max-width: 680px; }
.ac-q { border: 1px solid var(--ph-border); border-radius: 14px; padding: 12px 16px; margin: 0; }
.ac-q legend { font-weight: 600; padding: 0 4px; }
.ac-q.is-wrong { border-color: var(--ph-danger); }
.ac-certificate { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 6px; }
.ac-cert-seal { width: 76px; height: 76px; border-radius: 50%; background: var(--ph-accent); color: var(--ph-accent-ink); display: grid; place-items: center; font-size: 34px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--ph-accent) 25%, transparent); margin-bottom: 8px; }
.ac-verify-card { max-width: 560px; margin: 32px auto; }
@media (max-width: 860px) {
  .ac-course-layout { grid-template-columns: minmax(0, 1fr); }
  .ac-lessons { position: static; }
  .ac-lessons ol { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .ac-lessons ol::-webkit-scrollbar { display: none; }
  .ac-lessons a { white-space: nowrap; background: var(--ph-surface); box-shadow: inset 0 0 0 1px var(--ph-border); }
}
