/* Approved code-directory disclosure only. No global/header/search rules. */
body.codes-home main .k24-code-directory {
  min-width:0; border:1px solid #d9e8f3; border-radius:16px;
  background:linear-gradient(120deg,rgba(255,255,255,.88),rgba(234,245,252,.8));
  box-shadow:0 5px 20px rgba(23,59,99,.045); color:#173b63;
  font-family:inherit;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
body.codes-home main .k24-code-directory__summary {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  min-height:76px; padding:18px 22px; border-radius:inherit;
  cursor:pointer; list-style:none;
}
body.codes-home main .k24-code-directory__summary::-webkit-details-marker { display:none; }
body.codes-home main .k24-code-directory__summary::marker { content:""; }
body.codes-home main .k24-code-directory__heading { display:block; min-width:0; }
body.codes-home main .k24-code-directory__title {
  display:block; margin:0; font-family:inherit; font-size:16px; font-weight:700;
  line-height:1.4; letter-spacing:normal; color:inherit;
}
body.codes-home main .k24-code-directory__meta {
  display:block; margin-top:5px; font-size:12px; line-height:1.5; color:#536b86;
}
body.codes-home main .k24-code-directory__chevron { width:20px; height:20px; flex:0 0 20px; }
body.codes-home main .k24-code-directory[open] > summary .k24-code-directory__chevron { transform:rotate(180deg); }
body.codes-home main .k24-code-directory__body { padding:0 22px 22px; }
body.codes-home main .k24-code-directory__group {
  min-width:0; padding-top:18px; margin-top:18px; border-top:1px solid #dce8f1;
}
body.codes-home main .k24-code-directory__group:first-child { margin-top:0; }
body.codes-home main .k24-code-directory__group h3 {
  margin:0 0 10px; font-family:inherit; font-size:14px; font-weight:700;
  line-height:1.5; letter-spacing:normal; color:#173b63;
}
body.codes-home main .k24-code-directory__links {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(76px,1fr));
  gap:8px; padding:0; margin:0; list-style:none;
}
body.codes-home main .k24-code-directory__links li { min-width:0; margin:0; padding:0; }
body.codes-home main .k24-code-directory__links a {
  display:flex; align-items:center; justify-content:center; min-height:44px;
  padding:9px 10px; border:1px solid #d5e4f0; border-radius:8px;
  background:rgba(255,255,255,.8); color:#175b86;
  font-family:inherit; font-size:13px; font-weight:600; line-height:1.4;
  text-decoration:none; overflow-wrap:anywhere;
}
body.codes-home main .k24-code-directory__links a:hover { background:#edf6ff; border-color:#83b3d8; }
body.codes-home main .k24-code-directory__summary:focus-visible,
body.codes-home main .k24-code-directory__links a:focus-visible {
  outline:3px solid #075deb; outline-offset:3px;
}
@media(max-width:599px) {
  body.codes-home main .k24-code-directory__summary { padding:16px; gap:12px; }
  body.codes-home main .k24-code-directory__title { font-size:15px; }
  body.codes-home main .k24-code-directory__body { padding:0 16px 16px; }
}
