/* MCP directory: additions to the agents site stylesheet (/styles.css), same "terminal neon" direction. */

.dir-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.dir-hero .wrap { position: relative; }
.dir-hero h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1; letter-spacing: -0.04em; max-width: 20ch; }
.dir-hero .lead { margin: 20px 0 28px; }
.crumbs { font: 400 0.78rem/1.5 var(--mono); color: var(--muted); margin-bottom: 20px; overflow-wrap: anywhere; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--lime); }

/* Status badges: outlined pills, text colour carries the meaning plus the words. */
.status { display: inline-block; font: 700 0.7rem/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; border: 1px solid currentColor; white-space: nowrap; vertical-align: 1px; }
.status-official { color: var(--lime); }
.status-community { color: var(--pink); }
.status-none { color: #d7dccf; border-style: dashed; }
.status-unclear { color: var(--todo-ink); border-style: dotted; }

.status-card { background: var(--panel); border: 1px solid var(--line-strong); border-left: 4px solid var(--line-strong); border-radius: 14px; padding: 20px 22px; max-width: 860px; }
.status-card-official { border-left-color: var(--lime); }
.status-card-community { border-left-color: var(--pink); }
.status-card-none { border-left-color: #d7dccf; }
.status-card-unclear { border-left-color: var(--todo-ink); }
.status-line { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 12px; }
.checked { font: 400 0.8rem var(--mono); color: var(--muted); }
.verdict { font-size: 1.08rem; margin-bottom: 12px; }
.sources summary { cursor: pointer; font: 700 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.sources ul { margin: 10px 0 0; padding-left: 1.2em; font-size: 0.92rem; }
.sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
.sources li::marker { color: var(--lime); }
.sources a, .about a, .option-list a, .server-list a { color: var(--lime); }

.note { border-left: 2px solid var(--lime); padding: 4px 0 4px 14px; color: var(--muted); margin-top: 20px; }
.limit { color: var(--muted); font-size: 0.95rem; }
code.url { overflow-wrap: anywhere; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--lime); }
.pill-mini { font: 700 0.62rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px 6px; vertical-align: 1px; }

.server-list { list-style: none; margin: 12px 0; padding: 0; border-top: 1px solid var(--line); }
.server-list li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; font-size: 0.95rem; }
.server-list code { color: var(--ink); }

.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 16px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.steps-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.steps-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.steps { margin: 0; padding-left: 1.4em; }
.steps li { margin-bottom: 10px; overflow-wrap: anywhere; }
.steps li::marker { color: var(--lime); font-family: var(--mono); font-weight: 700; }

.option-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: opt; }
.option-list > li { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 8px; counter-increment: opt; min-width: 0; }
.option-list h3 { font-size: 1.15rem; margin-bottom: 10px; }
.option-list h3::before { content: counter(opt, decimal-leading-zero) "  "; font: 700 0.8rem var(--mono); color: var(--lime); white-space: pre; }

.task-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.task-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.prompt-mark { font: 700 0.9rem var(--mono); color: var(--lime); margin-right: 6px; }

.request-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .request-grid { grid-template-columns: 1fr; } }
.request h2, .publisher h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.request-box { background: var(--lime-soft); border: 1px solid var(--lime); border-radius: 14px; padding: 22px; }
.counter { margin: 14px 0 6px; font: 400 0.9rem var(--mono); }
.counter-num { font: 700 1.6rem var(--mono); color: var(--lime); margin-right: 4px; }
.publisher-card { border: 1px dashed var(--pink); border-radius: 14px; padding: clamp(22px, 4vw, 36px); background: var(--panel); }
.publisher-card p { max-width: 62ch; }

.dir-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 20px; }
.dir-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.small-h2 { font-size: 1.3rem; margin-bottom: 16px; }

.dir-stats { grid-template-columns: repeat(5, auto); }
@media (max-width: 760px) { .dir-stats { grid-template-columns: 1fr 1fr 1fr; } }
.dir-search { margin-bottom: 32px; }
.dir-search label { display: block; font: 700 0.78rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.dir-search input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font: 400 1rem var(--mono); }
.dir-search input:focus { border-color: var(--lime); outline: 2px solid var(--lime); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 400 0.8rem var(--mono); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.dir-groups { display: grid; gap: 40px; }
.dir-group h2 { font-size: 1.4rem; margin-bottom: 12px; }
.dir-group h2 a { text-decoration: none; }
.dir-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.dir-item { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto auto 1fr; gap: 4px 12px; align-items: baseline; }
.dir-item > a { font-weight: 700; }
.dir-desc { grid-column: 3; }
@media (max-width: 760px) {
  .dir-item { grid-template-columns: auto 1fr; }
  .dir-item .status { justify-self: start; }
  .dir-desc { grid-column: 1 / -1; }
}
.dir-item[hidden], .dir-group[hidden] { display: none; }
.method p { max-width: 70ch; }
.disclaimer { color: var(--ink); }
.dir-hero + .section { padding-top: clamp(24px, 4vw, 40px); }
.option-list p, .facts dd, .verdict, .lead { overflow-wrap: anywhere; }
