:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #21172f; background: #f7f4fc; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.55; }
.sg-directory { width: 100%; max-width: 1100px; margin: 0 auto; padding: 28px 20px 48px; }
.sg-directory-header { margin-bottom: 28px; }
h1 { max-width: 650px; margin: 0 0 16px; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.16; letter-spacing: -.035em; }
.sg-directory-header > p:last-child { max-width: 650px; margin: 0; color: #594d68; }
.sg-directory-search { margin: 0 0 24px; padding: 20px; border: 1px solid #e6dced; border-radius: 18px; background: #fff; }
.sg-directory-search label { display: block; margin-bottom: 10px; font-weight: 650; }
.sg-directory-search-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-directory-search input { flex: 1 1 190px; min-width: 0; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9a8cf; border-radius: 10px; background: #fff; color: inherit; font: inherit; }
.sg-directory-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: 12px 18px; border: 0; border-radius: 10px; background: linear-gradient(115deg, #6330a2, #7b41b8); color: #fff; font: inherit; font-weight: 650; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.sg-directory-button:hover { background: #552287; }
.sg-directory :focus-visible { outline: 3px solid #713cb0; outline-offset: 4px; }
.sg-directory-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sg-directory-card { min-width: 0; padding: 22px; border: 1px solid #e6dced; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #4f28750b; overflow-wrap: anywhere; }
.sg-directory-card-heading { display: flex; align-items: center; gap: 14px; }
.sg-directory-logo { flex-shrink: 0; object-fit: contain; border-radius: 12px; background: #f8f5fc; }
h2 { min-width: 0; margin: 0; font-size: 1.35rem; line-height: 1.3; }
.sg-directory-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.sg-directory-badges li { padding: 4px 10px; border-radius: 20px; background: #f0e7fa; color: #5b2a90; font-size: .8rem; font-weight: 650; }
.sg-directory-card > p { margin: 16px 0; }
dl { margin: 18px 0; } dt { color: #594d68; font-size: .85rem; font-weight: 650; } dd { margin: 4px 0 0; }
.sg-directory-checked { color: #65586f; font-size: .85rem; }
.sg-directory-access { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ece5f2; }
h3 { margin: 0 0 8px; color: #5c289a; font-size: .95rem; }
.sg-directory-access p { margin: 0 0 16px; color: #594d68; font-size: .95rem; }
.sg-directory-guidance { white-space: pre-line; }
.sg-directory-access .sg-directory-button { width: 100%; }
.sg-directory-notice { padding: 24px; border: 1px solid #e6dced; border-radius: 18px; background: #fff; color: #594d68; }
@media (min-width: 700px) { .sg-directory { padding: 44px 32px 64px; } .sg-directory-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
