/* Yönetim menüsündeki metin kutularını sıfırlar. */
.admin-nav .nav-group > a > span {
    display: block !important;
    flex: 1;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: inherit !important;
}

.knowledge-workflow-note {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 22px;
    padding: 16px 18px;
    color: #46505a;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(17,19,21,.035);
}

.knowledge-workflow-note > span {
    margin-right: auto;
    color: var(--red);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
}

.knowledge-workflow-note > div { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; }
.knowledge-workflow-note b { display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: #20242a; border-radius: 50%; font-size: 9px; }
.knowledge-workflow-note i { color: #b5bbc2; font-style: normal; }

.class-code-badge {
    display: inline-grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    padding: 0 8px;
    color: #fff;
    background: var(--red);
    border-radius: 9px;
    font-weight: 900;
}

.verification-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.verification-draft { color: #555e68; background: #ebedef; }
.verification-technical_review { color: #714b00; background: #fff0c7; }
.verification-verified { color: #075d43; background: #d9faeb; }
.verification-outdated { color: #7a271a; background: #fee4e2; }

.technical-gate-note { padding: 13px; color: #624200; background: #fff8e7; border: 1px solid #f0d899; border-radius: 8px; }
.technical-gate-note strong, .technical-gate-note span { display: block; }
.technical-gate-note strong { font-size: 12px; }
.technical-gate-note span { margin-top: 3px; color: #7d641e; font-size: 11px; line-height: 1.5; }

.knowledge-hero { padding-bottom: 110px; }
.verified-content-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding: 9px 13px; color: #c9ffd9; background: rgba(18,128,92,.18); border: 1px solid rgba(83,230,179,.28); border-radius: 999px; font-size: 11px; }
.verified-content-note span { display: grid; width: 20px; height: 20px; place-items: center; color: #fff; background: #12805c; border-radius: 50%; font-weight: 900; }

.knowledge-hub-section { background: #f3f4f5; }
.knowledge-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.knowledge-hub-card { position: relative; display: flex; min-height: 430px; flex-direction: column; overflow: hidden; padding: 32px; color: #101214; background: #fff; border: 1px solid #e2e5e8; transition: transform .25s ease, box-shadow .25s ease; }
.knowledge-hub-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: #e31b23; }
.knowledge-hub-card:hover { transform: translateY(-7px); box-shadow: 0 28px 65px rgba(16,18,20,.11); }
.hub-number { color: #8b929b; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.hub-icon { display: grid; width: 70px; height: 70px; margin: 34px 0; place-items: center; color: #fff; background: #e31b23; border-radius: 18px 4px 18px 4px; font-size: 28px; font-weight: 900; }
.risk-card::before, .risk-card .hub-icon { background: #f08300; }
.agent-card::before, .agent-card .hub-icon { background: #1677c8; }
.knowledge-hub-card h2 { margin: 0 0 12px; font-size: 29px; letter-spacing: -.035em; }
.knowledge-hub-card > p { flex: 1; margin: 0; color: #656d78; font-size: 14px; }
.knowledge-hub-card > div:last-child { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 9px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e2e5e8; }
.knowledge-hub-card > div:last-child strong { color: #e31b23; font-size: 30px; line-height: 1; }
.knowledge-hub-card > div:last-child span { color: #7b838d; font-size: 10px; }
.knowledge-hub-card > div:last-child b { font-size: 12px; }

.knowledge-principles-section { color: #fff; background: #181b1f; }
.knowledge-principles-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.knowledge-principles-grid h2 { margin: 12px 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.knowledge-principles-grid > div > p { color: #b7bdc4; }
.knowledge-principles-grid ol { margin: 0; padding: 0; list-style: none; }
.knowledge-principles-grid li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.knowledge-principles-grid li b { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: #fff; background: #e31b23; border-radius: 50%; }
.knowledge-principles-grid li strong, .knowledge-principles-grid li small { display: block; }
.knowledge-principles-grid li small { margin-top: 4px; color: #aeb5bd; }

.knowledge-back-link { display: block; margin-bottom: 20px; color: #ff6f74; font-size: 12px; font-weight: 800; }
.knowledge-list-section { background: #f3f4f5; }
.knowledge-record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.knowledge-record-card { display: flex; min-height: 360px; flex-direction: column; padding: 28px; background: #fff; border: 1px solid #e2e5e8; box-shadow: 0 10px 30px rgba(16,18,20,.035); }
.record-card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.public-class-code, .detail-class-code { display: grid; min-width: 52px; height: 52px; place-items: center; padding: 0 10px; color: #fff; background: #e31b23; border-radius: 12px 3px 12px 3px; font-weight: 900; }
.verified-badge { color: #087451; background: #e0f8ef; border-radius: 999px; padding: 6px 9px; font-size: 10px; font-weight: 800; }
.knowledge-record-card h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.15; }
.knowledge-record-card > p { flex: 1; margin: 0 0 14px; color: #656d78; }
.knowledge-record-card > small { margin-bottom: 18px; color: #747c86; }
.knowledge-record-card > a { display: flex; align-items: center; gap: 9px; padding-top: 18px; border-top: 1px solid #e2e5e8; font-size: 12px; font-weight: 800; }
.knowledge-record-card > a span { color: #e31b23; font-size: 18px; }

.detail-title-line { display: flex; align-items: center; gap: 24px; }
.detail-title-line h1 { margin-top: 4px; }
.detail-class-code { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 20px 5px 20px 5px; font-size: 36px; }
.knowledge-detail-section { background: #f3f4f5; }
.knowledge-article { padding: 46px; background: #fff; border: 1px solid #e2e5e8; }
.critical-warning { display: flex; gap: 16px; margin-bottom: 35px; padding: 20px; color: #692025; background: #fff0f0; border: 1px solid #f0bec1; border-left: 5px solid #e31b23; }
.critical-warning > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: #fff; background: #e31b23; border-radius: 50%; font-weight: 900; }
.critical-warning strong { display: block; margin-bottom: 3px; }
.critical-warning p { margin: 0; }
.knowledge-main-content { color: #333a42; font-size: 16px; line-height: 1.9; }
.knowledge-detail-block { margin-top: 36px; padding-top: 30px; border-top: 1px solid #e2e5e8; }
.knowledge-detail-block h2 { margin: 0 0 12px; font-size: 25px; }
.knowledge-detail-block p { margin: 0; color: #515a64; line-height: 1.8; }
.technical-disclaimer { margin-top: 42px; padding: 18px; color: #555e68; background: #f2f4f6; border: 1px solid #dfe3e7; font-size: 12px; }

@media (max-width: 980px) {
    .knowledge-workflow-note { align-items: flex-start; flex-direction: column; }
    .knowledge-workflow-note > span { margin-right: 0; }
    .knowledge-hub-grid, .knowledge-record-grid { grid-template-columns: 1fr 1fr; }
    .knowledge-principles-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 680px) {
    .knowledge-hub-grid, .knowledge-record-grid { grid-template-columns: 1fr; }
    .knowledge-hub-card { min-height: 390px; }
    .detail-title-line { align-items: flex-start; flex-direction: column; }
    .detail-class-code { width: 70px; height: 70px; flex-basis: 70px; font-size: 28px; }
    .knowledge-article { padding: 28px 22px; }
}
