/* Scoped catalogue, readable at narrow widths and enlarged text. */
.capability-catalog,#planned-options{background:#fff!important;color:#172033!important;min-width:0;scroll-margin-top:1rem}
.capability-grid,#planned-options>.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;min-width:0}
.capability-item,#planned-options .planned-option{min-width:0;overflow-wrap:anywhere;line-height:1.8;border:1px solid #64748b;padding:1rem;background:#f8fafc;color:#172033}
.capability-item h3,#planned-options h3{font-size:1.08rem;line-height:1.6;color:#172033;margin:0 0 .5rem}
.capability-item a{color:#164a8a;text-decoration:underline;text-underline-offset:.2em;display:inline-block;padding:.5rem 0}
.capability-item a:focus-visible{outline:3px solid #0b57d0;outline-offset:3px}
.capability-existing{color:#14532d;font-weight:700}
@media(max-width:40rem){.capability-grid,#planned-options>.grid{grid-template-columns:minmax(0,1fr)}.capability-item,#planned-options .planned-option{padding:.75rem}}

/* Compact independent unfinished options; not action controls. */
.planned-group{margin:10px 0;border:1px solid #b8c6d4;border-radius:6px;padding:8px 12px;background:#fff;color:#172033}
.planned-group summary{cursor:pointer;font-weight:600;padding:4px}
.planned-suboptions{list-style:none;padding:0;margin:8px 0}
.planned-suboption{padding:9px 0;border-bottom:1px solid #e3e8ee;display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}
.planned-state{font-size:12px;color:#784117;background:#fff1d8;padding:2px 6px;border-radius:4px}
