/* AIRadar Akademi — Hizmet İçi Eğitim (.hx-*), module landing doors (.door-*) and the expert review desk (.rv-*).
   Own file (split with ararg-8f: style.css holds the design system and TUS / programme); uses the v3 tokens (--ak-*)
   and the course hues .h0–.h5. No inline styles (CSP style-src 'self'); rings and bars are SVG. */

/* ---------- shared bits */
.hx-ic, .rv-ic, .door-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hx-ic svg, .rv-ic svg, .door-ic svg { width: 22px; height: 22px; }
.hx-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 12px; }
.hx-sec h2 { margin: 0; font-size: 22px; letter-spacing: -.3px; }
.hx-sec span { color: var(--ak-muted); font-size: 14px; font-weight: 600; }
.hx-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 700; background: #eef2f7; color: var(--ak-ink2); white-space: nowrap; }
.hx-pill.done { background: #e7f8ee; color: #15803d; } .hx-pill.renew { background: #fff4db; color: #92400e; } .hx-pill.overdue { background: #fdecec; color: #b91c1c; }
.hx-pill.open { background: var(--ak-acc-l); color: var(--ak-acc-d); } .hx-pill.revoked, .hx-pill.expired { background: #f1f5f9; color: #64748b; }
.hx-pill.demo { background: rgba(255, 255, 255, .18); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Hizmet İçi: hero */
.hx-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 30px 32px; border-radius: 26px; color: #fff;
  background: linear-gradient(125deg, #0f766e 0%, #0e7490 45%, #1d4ed8 100%); box-shadow: 0 18px 40px rgba(14, 116, 144, .25); }
.hx-hero::after { content: ""; position: absolute; right: -80px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); pointer-events: none; }
.hx-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .85; }
.hx-hero h1 { margin: 0; font-size: 30px; letter-spacing: -.5px; line-height: 1.15; color: #fff; }
.hx-org { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.hx-note { margin: 12px 0 0; font-size: 12.5px; opacity: .82; max-width: 60ch; line-height: 1.5; }
.hx-gauge { position: relative; width: 150px; height: 150px; z-index: 1; }
.hx-gauge svg { width: 150px; height: 150px; }
.hx-gauge .g-bg { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 10; }
.hx-gauge .g-fg { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; }
.hx-gauge div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hx-gauge b { font-size: 34px; line-height: 1; letter-spacing: -.5px; } .hx-gauge small { font-size: 12px; opacity: .85; margin-top: 4px; font-weight: 600; }

.hx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.hx-kpi { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--ak-r); background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); }
.hx-kpi .hx-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--hue-l, var(--ak-acc-l)); color: var(--hue, var(--ak-acc)); }
.hx-kpi b { display: block; font-size: 24px; line-height: 1.1; letter-spacing: -.4px; color: var(--ak-ink); font-variant-numeric: tabular-nums; }
.hx-kpi span { font-size: 13px; color: var(--ak-muted); font-weight: 600; }
.hx-kpi.warn b { color: #b91c1c; }

/* next step */
.hx-next { margin-top: 16px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--ak-card); border: 1px solid #cfe0ff; box-shadow: 0 0 0 4px var(--ak-acc-l), var(--ak-sh); }
.hx-next .hx-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--ak-grad); color: #fff; } .hx-next .hx-ic svg { width: 26px; height: 26px; }
.hx-next small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ak-acc); }
.hx-next b { display: block; font-size: 18px; line-height: 1.3; color: var(--ak-ink); margin: 2px 0; }
.hx-next > div > span { font-size: 13.5px; color: var(--ak-muted); } .hx-next > div > span.late { color: #b91c1c; font-weight: 700; }
.hx-next.clear { border-color: #bbf7d0; box-shadow: 0 0 0 4px #ecfdf3, var(--ak-sh); } .hx-next.clear .hx-ic { background: linear-gradient(135deg, #15803d, #0d9488); }
.hx-go { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 14px; padding: 12px 20px; font: inherit; font-weight: 800; color: #fff; background: var(--ak-acc); cursor: pointer; box-shadow: 0 8px 18px rgba(37, 99, 235, .28); white-space: nowrap; }
.hx-go:hover { background: var(--ak-acc-d); } .hx-go svg { width: 18px; height: 18px; } .hx-go:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.hx-go.ghost { background: #fff; color: var(--ak-acc-d); border: 1.5px solid #cfe0ff; box-shadow: none; } .hx-go.ghost:hover { background: var(--ak-acc-l); }

/* profile */
.hx-profile { margin-top: 16px; padding: 18px 20px; border-radius: var(--ak-r); background: #fffdf5; border: 1px solid #fde68a; }
.hx-profile h3 { margin: 0 0 4px; font-size: 16px; } .hx-profile p { margin: 0 0 10px; font-size: 13.5px; color: var(--ak-ink2); }
.hx-profile .hx-form { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.hx-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--ak-ink2); }
.hx-field input, .hx-field select { font: inherit; font-size: 15px; font-weight: 500; padding: 9px 11px; border: 1.5px solid var(--ak-line); border-radius: 11px; background: #fff; min-width: 210px; color: var(--ak-ink); }
.hx-field input:focus, .hx-field select:focus { outline: none; border-color: var(--ak-acc); box-shadow: 0 0 0 3px #93c5fd; }
.hx-privacy { font-size: 12px !important; color: var(--ak-muted) !important; margin: 10px 0 0 !important; }
.hx-me { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ak-muted); }
.hx-me b { color: var(--ak-ink2); } .hx-me button { border: 0; background: none; color: var(--ak-acc); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }

/* admin entry */
.hx-admin { margin-top: 16px; width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: start; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--ak-line); background: linear-gradient(90deg, #f5f3ff, #eef3ff); cursor: pointer; font: inherit; color: var(--ak-ink); transition: box-shadow .15s, transform .15s; }
.hx-admin:hover { box-shadow: var(--ak-sh-h); transform: translateY(-1px); }
.hx-admin .hx-ic { width: 46px; height: 46px; border-radius: 14px; background: #6d28d9; color: #fff; }
.hx-admin b { display: block; font-size: 16px; } .hx-admin span { font-size: 13px; color: var(--ak-muted); }
.hx-admin i { font-style: normal; font-size: 20px; color: #6d28d9; }

/* my courses */
.hx-list { display: grid; gap: 10px; }
.hx-row { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; text-align: start; padding: 12px 16px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: 0 1px 2px rgba(11, 19, 36, .04); cursor: pointer; font: inherit; color: var(--ak-ink); transition: box-shadow .15s, border-color .15s, transform .15s; }
.hx-row:hover { border-color: #c7d6ee; box-shadow: var(--ak-sh); transform: translateX(2px); }
.hx-row .hx-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--hue-l); color: var(--hue); }
.hx-row .t { display: flex; flex-direction: column; min-width: 0; } .hx-row .t b { font-size: 15.5px; line-height: 1.35; } .hx-row .t small { color: var(--ak-muted); font-size: 12.5px; font-weight: 600; }
.hx-row .t small.late { color: #b91c1c; } .hx-row .t small.soon { color: #b45309; }
.hx-row .act { font-size: 13px; font-weight: 800; color: var(--ak-acc); white-space: nowrap; }
.hx-empty { padding: 22px; text-align: center; border: 1.5px dashed var(--ak-line); border-radius: 18px; color: var(--ak-muted); background: var(--ak-card); }

/* catalogue */
.hx-cat { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.hx-card { position: relative; overflow: hidden; text-align: start; display: flex; flex-direction: column; gap: 10px; min-height: 160px; padding: 18px; border-radius: var(--ak-r); background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); cursor: pointer; font: inherit; color: var(--ak-ink); transition: box-shadow .18s, transform .18s, border-color .18s; }
.hx-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--hue); }
.hx-card:hover:not(:disabled) { transform: translateY(-3px); box-shadow: var(--ak-sh-h); border-color: #c7d6ee; }
.hx-card:disabled { opacity: .6; cursor: default; }
.hx-card .hx-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--hue-l); color: var(--hue); }
.hx-card b { font-size: 16px; line-height: 1.35; letter-spacing: -.1px; }
.hx-card .m { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--ak-muted); font-weight: 600; }
.hx-card .m span { background: #f1f5f9; border-radius: 999px; padding: 2px 9px; }
.hx-card .ok { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: #15803d; color: #fff; display: flex; align-items: center; justify-content: center; }
.hx-card .ok svg { width: 16px; height: 16px; }

/* certificates */
.hx-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hx-cert { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; text-align: start; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #fffdf2, #fff); border: 1px solid #f3e3a8; cursor: pointer; font: inherit; color: var(--ak-ink); }
.hx-cert:hover { box-shadow: var(--ak-sh); } .hx-cert .hx-ic { width: 44px; height: 44px; border-radius: 50%; background: #f59e0b; color: #fff; }
.hx-cert b { font-size: 14.5px; line-height: 1.35; display: block; } .hx-cert small { color: var(--ak-muted); font-size: 12.5px; }
.hx-foot { margin-top: 18px; font-size: 13px; color: var(--ak-muted); }

/* ---------- course (reading layout) */
.hx-crumb { margin-bottom: 14px; }
.hx-chero { position: relative; overflow: hidden; padding: 26px 28px; border-radius: 24px; color: #fff; background: var(--hue, #0e7490); box-shadow: var(--ak-sh-h); }
.hx-chero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .10); }
.hx-chero small { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.hx-chero h1 { margin: 6px 0 10px; color: #fff; font-size: 28px; letter-spacing: -.4px; line-height: 1.2; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; } .hx-chips span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.hx-have { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: #ecfdf3; color: #166534; font-size: 14px; }
.hx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 20px; align-items: start; }
.hx-art { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 10px 28px 24px; box-shadow: var(--ak-sh); }
.hx-art h2 { font-size: 20px; letter-spacing: -.2px; margin: 26px 0 8px; display: flex; gap: 12px; align-items: baseline; scroll-margin-top: 90px; }
.hx-art h2 i { font-style: normal; flex: none; width: 30px; height: 30px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; background: var(--hue-l, var(--ak-acc-l)); color: var(--hue, var(--ak-acc)); }
.hx-art p { font-size: 16.5px; line-height: 1.75; color: var(--ak-ink2); margin: 0 0 12px; }
.hx-art .hx-links { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--ak-acc2-l); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.hx-art .hx-links b { color: #0f766e; }
.hx-art details { margin-top: 16px; font-size: 14px; color: var(--ak-muted); }
.hx-side { position: sticky; top: calc(var(--hdr-h, 64px) + 20px); display: grid; gap: 14px; }
.hx-box { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 16px 18px; box-shadow: var(--ak-sh); }
.hx-box h3 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ak-muted); }
.hx-box ol { margin: 0; padding-inline-start: 20px; font-size: 14px; } .hx-box li { margin: 6px 0; } .hx-box li a { color: var(--ak-ink2); text-decoration: none; } .hx-box li a:hover { color: var(--ak-acc); }
.hx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.hx-facts div { background: #f7f9fc; border-radius: 12px; padding: 10px; text-align: center; } .hx-facts b { display: block; font-size: 20px; color: var(--ak-ink); } .hx-facts span { font-size: 11.5px; color: var(--ak-muted); font-weight: 600; }
.hx-box .hx-go { width: 100%; justify-content: center; }
.hx-box p.small { font-size: 12.5px; color: var(--ak-muted); margin: 10px 0 0; line-height: 1.5; }

/* exam progress */
.hx-prog { position: sticky; top: calc(var(--hdr-h, 64px) + 8px); z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 0 0 12px; border-radius: 14px; background: rgba(255, 255, 255, .95); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); font-size: 13.5px; font-weight: 700; color: var(--ak-ink2); }
.hx-prog svg { flex: 1; height: 8px; } .hx-prog .bar-bg { fill: #e2e8f0; } .hx-prog .bar-fg { fill: var(--ak-acc2); }

/* result */
.hx-res { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; align-items: center; padding: 28px; border-radius: 24px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh-h); }
.hx-res.pass { background: linear-gradient(135deg, #ecfdf3, #fff 60%); border-color: #bbf7d0; } .hx-res.fail { background: linear-gradient(135deg, #fff7ed, #fff 60%); border-color: #fed7aa; }
.hx-score { position: relative; width: 170px; height: 170px; }
.hx-score svg { width: 170px; height: 170px; } .hx-score .g-bg { fill: none; stroke: #e2e8f0; stroke-width: 10; } .hx-score .g-fg { fill: none; stroke-width: 10; stroke-linecap: round; stroke: #15803d; }
.hx-res.fail .hx-score .g-fg { stroke: #ea580c; } .hx-score .g-pass { stroke: #0b1324; stroke-width: 3; }
.hx-score div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; } .hx-score b { font-size: 38px; letter-spacing: -1px; line-height: 1; } .hx-score small { font-size: 12.5px; color: var(--ak-muted); font-weight: 600; margin-top: 4px; }
.hx-res h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.4px; } .hx-res .sub { margin: 0 0 12px; color: var(--ak-muted); font-weight: 600; }
.hx-res .verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px; }
.hx-res.pass .verdict { background: #15803d; color: #fff; } .hx-res.fail .verdict { background: #ea580c; color: #fff; } .hx-res .verdict svg { width: 18px; height: 18px; }
.hx-res p.msg { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--ak-ink2); }
.hx-res .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* certificate */
.hx-certpage { max-width: 900px; margin: 0 auto; }
.hx-certdoc { position: relative; margin-top: 14px; padding: 56px 60px 44px; text-align: center; background: #fff; border-radius: 10px; border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(11, 19, 36, .12); outline: 3px double #b8860b; outline-offset: -22px; }
.hx-certdoc .seal { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #fcd34d, #b45309); color: #fff; box-shadow: 0 6px 16px rgba(180, 83, 9, .35); }
.hx-certdoc .seal svg { width: 36px; height: 36px; }
.hx-certdoc .org { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #0f766e; margin: 0; }
.hx-certdoc h1 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; margin: 10px 0 18px; color: #0b1324; letter-spacing: .3px; }
.hx-certdoc .name { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-style: italic; margin: 6px 0 12px; color: #1e3a8a; border-bottom: 1px solid #e5e7eb; display: inline-block; padding: 0 30px 6px; }
.hx-certdoc .body { font-size: 16px; line-height: 1.7; color: #334155; max-width: 60ch; margin: 0 auto 10px; }
.hx-certdoc .meta { font-size: 13px; color: #64748b; }
.hx-certdoc .code { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 10px; background: #f8fafc; border: 1px dashed #cbd5e1; font-size: 13.5px; }
.hx-certdoc .code b { font-family: ui-monospace, monospace; letter-spacing: 1px; }
.hx-certdoc .url { font-size: 11.5px; color: #94a3b8; margin-top: 8px; word-break: break-all; }
.hx-certdoc.revoked::after { content: attr(data-stamp); position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-14deg); font-size: 46px; font-weight: 900; color: rgba(185, 28, 28, .22); border: 6px solid rgba(185, 28, 28, .22); padding: 6px 24px; border-radius: 12px; white-space: nowrap; }
.hx-certdoc .fine { font-size: 11.5px; color: #94a3b8; margin-top: 14px; }
@media print { .hx-certdoc { box-shadow: none; border: 0; } .noprint { display: none !important; } }

/* ---------- admin */
.hx-ahead { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.hx-ahead h1 { margin: 0; font-size: 26px; letter-spacing: -.4px; } .hx-ahead h1 small { display: block; font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #6d28d9; }
.hx-demo { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #f5f3ff; color: #5b21b6; font-size: 13.5px; }
.hx-card-w { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 18px 20px; box-shadow: var(--ak-sh); }
.hx-units { display: grid; gap: 12px; }
.hx-unit { display: grid; grid-template-columns: 160px minmax(0, 1fr) 64px; gap: 14px; align-items: center; font-size: 14px; }
.hx-unit b { font-size: 14.5px; } .hx-unit small { display: block; color: var(--ak-muted); font-size: 12px; font-weight: 600; }
.hx-unit svg { width: 100%; height: 12px; } .hx-unit .bar-bg { fill: #eef2f7; } .hx-unit .b-ok { fill: #15803d; } .hx-unit .b-mid { fill: #d97706; } .hx-unit .b-low { fill: #dc2626; }
.hx-unit .pct { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; } .hx-unit .pct.low { color: #dc2626; } .hx-unit .pct.mid { color: #b45309; } .hx-unit .pct.ok { color: #15803d; }
.hx-rules { display: grid; gap: 8px; }
.hx-rule { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f8fafc; font-size: 13.5px; }
.hx-rule b { font-size: 14px; } .hx-rule span { color: var(--ak-ink2); } .hx-rule em { font-style: normal; font-weight: 700; color: var(--ak-acc-d); white-space: nowrap; }
.hx-del { border: 0; background: none; color: #b91c1c; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 4px 8px; border-radius: 8px; } .hx-del:hover { background: #fdecec; }
.hx-addrule { margin-top: 14px; padding: 16px; border-radius: 14px; border: 1.5px dashed #c7d2fe; background: #fafaff; }
.hx-addrule h3 { margin: 0 0 10px; font-size: 15px; }
.hx-addrule .hx-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.hx-profs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.hx-profs label { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--ak-line); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.hx-profs label:has(input:checked) { border-color: var(--ak-acc); background: var(--ak-acc-l); color: var(--ak-acc-d); }
.hx-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.hx-matrix { overflow: auto; max-height: 70vh; border: 1px solid var(--ak-line); border-radius: 14px; background: #fff; }
.hx-matrix table { border-collapse: separate; border-spacing: 0; font-size: 12.5px; min-width: 100%; }
.hx-matrix th, .hx-matrix td { padding: 8px 10px; border-bottom: 1px solid #eef2f7; text-align: start; vertical-align: middle; background: #fff; }
.hx-matrix thead th { position: sticky; top: 0; z-index: 2; background: #f8fafc; font-size: 11.5px; font-weight: 800; color: var(--ak-ink2); min-width: 104px; line-height: 1.3; }
.hx-matrix th.nm, .hx-matrix td.nm { position: sticky; left: 0; z-index: 1; min-width: 170px; box-shadow: 1px 0 0 #eef2f7; } .hx-matrix thead th.nm { z-index: 3; }
.hx-matrix td.nm b { display: block; font-size: 13px; } .hx-matrix td.nm small { color: var(--ak-muted); }
.hx-matrix .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #e2e8f0; vertical-align: middle; }
.hx-matrix .dot.done { background: #16a34a; } .hx-matrix .dot.renew { background: #f59e0b; } .hx-matrix .dot.overdue { background: #dc2626; } .hx-matrix .dot.open { background: #60a5fa; } .hx-matrix .dot.revoked, .hx-matrix .dot.expired { background: #94a3b8; }
.hx-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; }
.hx-legend .dot.done { background: #16a34a; } .hx-legend .dot.renew { background: #f59e0b; } .hx-legend .dot.overdue { background: #dc2626; } .hx-legend .dot.open { background: #60a5fa; }
.hx-legend span { display: inline-flex; align-items: center; font-size: 12.5px; color: var(--ak-ink2); font-weight: 600; margin-inline-end: 12px; }
.hx-revoke { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.hx-x { border: 0; background: none; color: var(--ak-muted); cursor: pointer; font-size: 12px; padding: 2px 6px; border-radius: 6px; } .hx-x:hover { background: #fdecec; color: #b91c1c; }

/* ---------- module landing (Yetkinlik ve e-Portfolyo, Hizmet İçi without a package) */
.door-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 40px 38px; border-radius: 28px; color: #fff; background: var(--door-grad, var(--ak-grad)); box-shadow: 0 22px 50px rgba(29, 78, 216, .25); }
.door-hero.yetkinlik { --door-grad: linear-gradient(125deg, #4338ca 0%, #6d28d9 50%, #be185d 100%); }
.door-hero.hizmetici { --door-grad: linear-gradient(125deg, #0f766e 0%, #0e7490 45%, #1d4ed8 100%); }
.door-hero::before { content: ""; position: absolute; left: -100px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); }
.door-kicker { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.door-hero h1 { margin: 0; font-size: 36px; line-height: 1.12; letter-spacing: -.8px; color: #fff; }
.door-hero .lead { margin: 14px 0 22px; font-size: 17px; line-height: 1.6; opacity: .92; color: #fff; }
.door-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.door-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 14px; padding: 13px 22px; font-weight: 800; font-size: 15.5px; text-decoration: none; background: #fff; color: #1e3a8a; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.door-btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); box-shadow: none; }
.door-btn svg { width: 18px; height: 18px; }
.door-note { margin: 14px 0 0; font-size: 13px; opacity: .85; }
.door-art { position: relative; z-index: 1; display: grid; gap: 10px; }
.door-art div { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--ak-ink); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.door-art div:nth-child(2) { margin-left: 24px; } .door-art div:nth-child(3) { margin-left: 8px; }
.door-art .door-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--hue-l); color: var(--hue); }
.door-art b { font-size: 14px; } .door-art small { display: block; color: var(--ak-muted); font-size: 12px; }
.door-art svg.mini { width: 80px; height: 8px; } .door-art .bar-bg { fill: #e2e8f0; } .door-art .bar-fg { fill: var(--hue); }
.door-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.door-feat { padding: 18px; border-radius: var(--ak-r); background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); }
.door-feat .door-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--hue-l); color: var(--hue); margin-bottom: 10px; }
.door-feat p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ak-ink2); }
.door-how { margin-top: 26px; padding: 24px; border-radius: 24px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); }
.door-how h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -.3px; }
.door-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.door-steps div { position: relative; padding: 16px 16px 16px 58px; border-radius: 16px; background: #f8fafc; }
.door-steps div::before { counter-increment: st; content: counter(st); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--ak-grad); }
.door-steps b { display: block; font-size: 15px; margin-bottom: 4px; } .door-steps p { margin: 0; font-size: 13.5px; color: var(--ak-muted); line-height: 1.5; }
.door-band { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: 22px; background: linear-gradient(90deg, #eef3ff, #f5f3ff); border: 1px solid #dfe6fb; }
.door-band b { font-size: 17px; } .door-band p { margin: 4px 0 0; color: var(--ak-muted); font-size: 14px; }
.door-band .door-btn { background: var(--ak-acc); color: #fff; }

/* ---------- expert review desk */
.rv-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.rv-head h1 { margin: 0; font-size: 28px; letter-spacing: -.4px; } .rv-head p { margin: 6px 0 0; color: var(--ak-muted); max-width: 70ch; font-size: 14.5px; line-height: 1.55; }
.rv-stats { display: flex; gap: 10px; }
.rv-stat { min-width: 110px; padding: 10px 14px; border-radius: 14px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); }
.rv-stat b { display: block; font-size: 22px; line-height: 1.1; } .rv-stat span { font-size: 12px; color: var(--ak-muted); font-weight: 600; }
.rv-stat.hot b { color: #b91c1c; }
.rv-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rv-filter button { border: 1.5px solid var(--ak-line); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--ak-ink2); cursor: pointer; }
.rv-filter button[aria-pressed="true"] { border-color: var(--ak-acc); background: var(--ak-acc-l); color: var(--ak-acc-d); }
.rv-list { display: grid; gap: 8px; }
.rv-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; text-align: start; padding: 12px 16px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); cursor: pointer; font: inherit; color: var(--ak-ink); transition: box-shadow .15s, border-color .15s; }
.rv-row:hover { border-color: #c7d6ee; box-shadow: var(--ak-sh); }
.rv-row.hot { border-inline-start: 4px solid #dc2626; }
.rv-row .rv-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--hue-l); color: var(--hue); font-weight: 800; font-size: 13px; }
.rv-row .t b { display: block; font-size: 15px; line-height: 1.35; } .rv-row .t small { color: var(--ak-muted); font-size: 12.5px; }
.rv-flags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 280px; }
.rv-flags span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fdecec; color: #b91c1c; white-space: nowrap; }
.rv-tier { font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #eef2f7; color: var(--ak-ink2); white-space: nowrap; }
.rv-tier.expert, .rv-tier.calibrated { background: #e7f8ee; color: #15803d; } .rv-tier.ai_checked, .rv-tier.approved { background: var(--ak-acc-l); color: var(--ak-acc-d); } .rv-tier.retired { background: #f1f5f9; color: #64748b; } .rv-tier.draft { background: #fff4db; color: #92400e; }
.rv-empty { padding: 28px; text-align: center; border: 1.5px dashed var(--ak-line); border-radius: 18px; color: var(--ak-muted); background: var(--ak-card); }
.rv-claims { display: grid; gap: 10px; margin-top: 10px; }
.rv-claim { padding: 16px 18px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; }
.rv-claim b { font-size: 15px; } .rv-claim p { margin: 6px 0; font-size: 14px; color: var(--ak-ink2); } .rv-claim small { color: var(--ak-muted); }
.rv-claim .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; margin-top: 12px; }
.rv-q { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 20px 24px; box-shadow: var(--ak-sh); }
.rv-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rv-meta span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: var(--ak-ink2); }
.rv-q .stem { font-size: 17px; line-height: 1.65; margin: 0 0 14px; color: var(--ak-ink); }
.rv-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-opt { border: 1.5px solid var(--ak-line); border-radius: 14px; padding: 10px 14px; }
.rv-opt.key { border-color: #86efac; background: #f0fdf4; }
.rv-opt .h { display: flex; gap: 10px; align-items: baseline; font-size: 15px; } .rv-opt .h b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #f1f5f9; font-size: 13px; }
.rv-opt.key .h b { background: #16a34a; color: #fff; }
.rv-opt .why { margin: 6px 0 0 36px; font-size: 13.5px; color: var(--ak-muted); line-height: 1.5; }
.rv-teach { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--ak-acc2-l); font-size: 14px; line-height: 1.6; }
.rv-teach ul { margin: 8px 0 0; padding-inline-start: 18px; font-size: 13px; color: var(--ak-ink2); }
.rv-side { position: sticky; top: calc(var(--hdr-h, 64px) + 20px); display: grid; gap: 12px; }
.rv-box { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 16px; box-shadow: var(--ak-sh); }
.rv-box h3 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ak-muted); }
.rv-psy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; text-align: center; }
.rv-psy div { background: #f8fafc; border-radius: 10px; padding: 8px 4px; } .rv-psy b { display: block; font-size: 17px; } .rv-psy span { font-size: 11px; color: var(--ak-muted); font-weight: 600; }
.rv-warn { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 12.5px; }
.rv-rep { font-size: 13px; padding: 8px 0; border-top: 1px solid #eef2f7; } .rv-rep:first-of-type { border-top: 0; }
.rv-rep b { color: #b91c1c; } .rv-rep button { margin-top: 4px; }
.rv-box textarea { width: 100%; min-height: 90px; resize: vertical; font: inherit; font-size: 14px; padding: 10px; border: 1.5px solid var(--ak-line); border-radius: 12px; }
.rv-box textarea:focus { outline: none; border-color: var(--ak-acc); box-shadow: 0 0 0 3px #93c5fd; }
.rv-dec { display: grid; gap: 8px; margin-top: 10px; }
.rv-dec button { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px; font: inherit; font-weight: 800; cursor: pointer; border: 1.5px solid transparent; }
.rv-dec .ok { background: #16a34a; color: #fff; } .rv-dec .ok:hover { background: #15803d; }
.rv-dec .chg { background: #fff; color: #b45309; border-color: #fcd34d; } .rv-dec .chg:hover { background: #fffbeb; }
.rv-dec .ret { background: #fff; color: #64748b; border-color: var(--ak-line); } .rv-dec .ret:hover { background: #f8fafc; }
.rv-dec svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .hx-layout, .rv-layout { grid-template-columns: minmax(0, 1fr); } .hx-side, .rv-side { position: static; }
  .door-hero { grid-template-columns: minmax(0, 1fr); } .door-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hx-hero { grid-template-columns: minmax(0, 1fr); padding: 22px; } .hx-hero h1 { font-size: 24px; } .hx-gauge { width: 120px; height: 120px; } .hx-gauge svg { width: 120px; height: 120px; } .hx-gauge b { font-size: 28px; }
  .hx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-next { grid-template-columns: 44px minmax(0, 1fr); } .hx-next .hx-ic { width: 44px; height: 44px; } .hx-next .hx-go { grid-column: 1 / -1; justify-content: center; }
  .hx-row { grid-template-columns: 40px minmax(0, 1fr) auto; } .hx-row .act { display: none; } .hx-row .hx-ic { width: 40px; height: 40px; }
  .hx-art { padding: 6px 18px 18px; } .hx-art p { font-size: 16px; } .hx-chero { padding: 20px; } .hx-chero h1 { font-size: 23px; }
  .hx-res { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px; } .hx-res .btns { justify-content: center; }
  .hx-certdoc { padding: 36px 20px 28px; outline-offset: -12px; } .hx-certdoc h1 { font-size: 24px; } .hx-certdoc .name { font-size: 22px; padding: 0 10px 6px; }
  .hx-unit { grid-template-columns: minmax(0, 1fr) 52px; } .hx-unit svg { grid-column: 1 / -1; grid-row: 2; }
  .hx-rule { grid-template-columns: minmax(0, 1fr) auto; } .hx-rule span, .hx-rule em { grid-column: 1; }
  .door-hero { padding: 26px 22px; } .door-hero h1 { font-size: 27px; } .door-art { display: none; } .door-feats, .door-steps { grid-template-columns: minmax(0, 1fr); }
  .rv-row { grid-template-columns: 40px minmax(0, 1fr); } .rv-row .rv-flags, .rv-row .rv-tier { grid-column: 2; justify-content: flex-start; } .rv-stats { width: 100%; } .rv-stat { flex: 1; min-width: 0; }
}
.rv-box .sr-only, .hx-box .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rv-more { display: block; margin: 12px auto 0; }
