/* SafyreStory public handbook v1; scoped to the guide. */
#guide .sg-intro{padding:clamp(16px,3vw,28px);margin-bottom:18px}
#guide .sg-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:16px 0;justify-content:flex-start}
#guide .sg-links a{display:inline-block;padding:7px 11px;border:1px solid currentColor;border-radius:8px;text-decoration:none;font-size:.9rem;color:#245b55}
#guide .sg-links a:hover{background:#edf0e7;color:#172e38}
.stats[data-safyre="highlights-v1"] b{font-size:clamp(1.05rem,2vw,1.55rem);overflow-wrap:anywhere}
#guide .sg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#guide .sg-wide{grid-column:1/-1}
#guide .sg-chapter{min-width:0;padding:clamp(16px,3vw,25px);scroll-margin-top:100px}
#guide .sg-chapter h3{margin:7px 0 12px}#guide .sg-chapter h4{margin:18px 0 6px}
#guide .sg-chapter p,#guide .sg-chapter li,#guide .sg-chapter dd{line-height:1.6}
#guide .sg-chapter ol{padding-left:1.35rem;margin:12px 0}#guide .sg-chapter li{margin:7px 0}
#guide .sg-chapter table{width:100%;min-width:0;border-collapse:collapse;margin:10px 0;font-size:.92rem}
#guide .sg-chapter th,#guide .sg-chapter td{padding:10px 8px;vertical-align:top;text-align:left;overflow-wrap:anywhere;white-space:normal}
#guide .sg-dl dt{font-weight:700;margin-top:14px}#guide .sg-dl dd{margin:4px 0 10px}
#guide .sg-chapter code{font-size:.88em;white-space:normal;overflow-wrap:anywhere}
#guide .sg-chapter details{border-bottom:1px solid currentColor;padding:12px 0}#guide .sg-chapter summary{cursor:pointer;font-weight:600}#guide .sg-chapter details p{margin:10px 0 5px}
#guide a:focus-visible,#guide summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:760px){#guide .sg-grid{grid-template-columns:minmax(0,1fr)}#guide .sg-chapter table{font-size:.84rem}#guide .sg-chapter th,#guide .sg-chapter td{padding:8px 5px}}
