/* access (#security, dark): the reference's dark split, with a who-can-open-what table */
.ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 780px); gap: 64px; align-items: center; padding-left: var(--gutter); }
.ac-copy .h2 { max-width: 420px; }
.ac-body { margin-top: 22px; max-width: 380px; }
.ac-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.ac-list li { position: relative; padding-left: 20px; color: var(--fg); font-size: 15px; line-height: 1.35; }
.ac-list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 8px; height: 8px; background: var(--accent-line); }
.ac-link { margin-top: 30px; }

.ac-panel { position: relative; background: var(--surface); border: 1px solid var(--line); }
.ac-tag { position: absolute; right: 0; top: -24px; font-size: 10px; }
.ac-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.ac-org { color: var(--fg); font-size: 14px; }
.ac-sum { color: var(--mist); font: 400 12.5px/1 var(--f-mono); white-space: nowrap; }
.ac-sum i { font-style: normal; margin: 0 4px; }
.ac-sum b { font-weight: 400; color: var(--accent-text); }
.ac-table { padding: 8px 32px 10px; font: 400 13px/1.3 var(--f-mono); }
.ac-tr { position: relative; display: grid; grid-template-columns: 1.2fr 0.78fr 1.62fr 1.1fr 0.86fr 0.8fr; gap: 14px; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--mist); }
.ac-tr:last-child { border-bottom: 0; }
.ac-tr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-th { min-height: 40px; color: var(--mist); font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.ac-f { color: var(--fg); }
.ac-a, .ac-w { color: var(--fg-2); }
.ac-s { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.ac-s::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--ok); }
.ac-pp { display: grid; gap: 6px; padding-top: 2px; }
.ac-pp em { font-style: normal; color: var(--fg-2); }
.ac-bar { position: relative; display: block; height: 4px; background: var(--line-strong); overflow: hidden; }
.ac-bar b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 1) * 100%); background: var(--ok); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.ac-tr.is-in .ac-bar b { transform: scaleX(1); }
.ac-blocked .ac-f, .ac-blocked .ac-s, .ac-blocked .ac-w, .ac-blocked .ac-a, .ac-blocked .ac-pp em { color: var(--accent-text); }
.ac-blocked .ac-s::before { background: var(--accent-line); }
.ac-blocked .ac-bar b { background: var(--accent-line); }
.ac-tr::after { content: ""; position: absolute; left: -32px; right: -32px; top: 0; bottom: 0; pointer-events: none; background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent-line); opacity: 0; }
.ac-blocked.pulse::after { animation: ac-pulse 1.6s var(--ease) both; }
@keyframes ac-pulse { 0% { opacity: 0; } 18% { opacity: 1; } 60% { opacity: .7; } 100% { opacity: 0; } }
.ac-tr:not(.ac-th):hover::before { content: ""; position: absolute; left: -32px; right: -32px; top: 0; bottom: 0; background: rgba(255, 255, 255, 0.025); pointer-events: none; }
.js .ac-tr:not(.ac-th) { opacity: .3; transform: translateY(6px); transition: opacity .45s var(--ease), transform .55s var(--ease-out); }
.js .ac-tr.is-in { opacity: 1; transform: none; }
.ac-foot { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 32px; border-top: 1px solid var(--line); }
.ac-toggle { position: relative; flex: none; width: 30px; height: 16px; background: var(--ok); }
.ac-toggle i { position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; background: #fff; }
.ac-foot-t { color: var(--fg-2); font-size: 13px; white-space: nowrap; }
.ac-log { margin-left: auto; min-width: 0; color: var(--accent-text); font: 400 12px/1.3 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1100px) {
  .ac-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-left: var(--gutter); padding-right: var(--gutter); }
  .ac-copy .h2 { max-width: 560px; }
  .ac-body { max-width: 560px; }
}
@media (max-width: 760px) {
  .ac-grid { padding-left: var(--gutter); padding-right: var(--gutter); }
  .ac-top { padding: 0 16px; }
  .ac-table { padding: 0 16px 6px; }
  .ac-th { display: none; }
  .ac-tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "f s" "m m" "p p"; gap: 6px 12px; padding: 14px 0; }
  .ac-f { grid-area: f; }
  .ac-s { grid-area: s; }
  .ac-pp { grid-area: p; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
  .ac-o, .ac-w, .ac-a { display: none; }
  .ac-tr::before { grid-area: m; }
  .ac-tr > .ac-m { grid-area: m; display: block; color: var(--mist); font-size: 12px; }
  .ac-tr::after, .ac-tr:not(.ac-th):hover::before { left: -16px; right: -16px; }
  .ac-foot { flex-wrap: wrap; padding: 12px 16px; gap: 8px 12px; }
  .ac-log { margin-left: 0; flex-basis: 100%; }
  .ac-sum { font-size: 11px; }
  .ac-sum-a { display: none; }
}
.ac-m { display: none; }
