.stars-guide { background: #efe8db; color: #1a2927; border-top: 1px solid #d9ccba; }
.stars-guide .content > h2 { max-width: 29ch; margin: .45rem 0 1.3rem; }
.stars-content { display: grid; gap: 1.05rem; }
.stars-content p { line-height: 1.62; }
.stars-content p + p { margin-top: .75rem; }
.stars-content a { color: #71392e; text-underline-offset: .2em; }
.stars-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.15rem, 3vw, 2.1rem); align-items: start; }
.stars-actions { display: flex; gap: .65rem 1.25rem; flex-wrap: wrap; font-weight: 650; }
.stars-actions a { display: inline-flex; min-height: 44px; padding: .35rem 0; align-items: center; }
.stars-source { margin: 0; font-size: .875rem; }
.stars-cards, .stars-steps, .stars-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .85rem; list-style: none; padding: 0; margin: 0; }
.stars-cards > li, .stars-steps > li, .stars-timeline > li { background: #fffcf6; border: 1px solid #d9ccba; border-radius: .6rem; padding: 1rem; min-width: 0; }
.stars-cards h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: .4rem 0; }
.stars-tag { color: #794133; font-size: .8125rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
.stars-steps strong, .stars-timeline strong { display: block; margin: .25rem 0 .35rem; }
.stars-timeline > li { border-top: 4px solid #294d49; }
.stars-figure { margin: 0; background: #fffcf6; border: 1px solid #d9ccba; border-radius: .6rem; padding: 1rem; }
.stars-figure img, .stars-diagram { display: block; width: 100%; height: auto; }
.stars-figure figcaption { font-size: .875rem; line-height: 1.5; }
.stars-diagram { fill: #1a2927; font: 500 15px system-ui, sans-serif; }
.stars-room, .stars-outline { fill: #e7dfd0; stroke: #294d49; stroke-width: 2px; }
.stars-walls { fill: none; stroke: #294d49; stroke-width: 2.3px; stroke-linecap: round; }
.stars-dashed { fill: none; stroke: #6a624e; stroke-width: 1.3px; stroke-dasharray: 4 3; }
.stars-accent { fill: none; stroke: #953e32; stroke-width: 2.5px; stroke-linecap: round; }
.stars-hit { fill: #953e32; }
.stars-highlight { fill: #f3dfcb; stroke: #923e32; stroke-width: 2px; }
.stars-svg-strong { font-weight: 750; }
.stars-svg-small { font-size: 12px; }
.stars-table-wrap { min-width: 0; overflow-wrap: anywhere; }
.stars-table { width: 100%; border-collapse: collapse; background: #fffcf6; }
.stars-table th, .stars-table td { padding: .65rem .7rem; border-bottom: 1px solid #ded5c6; text-align: left; vertical-align: top; line-height: 1.5; }
.stars-table thead th { background: #294d49; color: #fffcf6; }
.stars-table tbody th { background: #f9f2e7; }
.stars-checks { border: 1px solid #d9ccba; border-radius: .4rem; margin: .95rem 0; padding: .65rem .85rem; background: #fffcf6; }
.stars-checks legend { font-weight: 700; }
.stars-checks label { display: flex; align-items: center; gap: .35rem; min-height: 44px; padding: .3rem 0; line-height: 1.5; }
.stars-lookup-control { display: flex; gap: .65rem; flex-wrap: wrap; margin: .55rem 0; }
[data-stars-lookup] label { font-weight: 700; }
.stars-lookup-control input, .stars-lookup-control button { font: inherit; min-height: 44px; padding: .45rem .65rem; border: 1px solid #294d49; border-radius: .38rem; }
.stars-lookup-control button { background: #294d49; color: #fffcf6; cursor: pointer; }
[data-stars-period] { margin-top: 1rem; }
[data-stars-period][hidden] { display: none; }
[data-stars-period] h3 { font-size: 1.4rem; margin: 0 0 .35rem; }
.stars-lookup-grid { margin: .8rem 0 0; padding: .8rem; border: 1px solid #d9ccba; border-radius: .5rem; background: #fffcf6; }
.stars-lookup-grid figcaption { font-weight: 700; margin-bottom: .65rem; }
.stars-lookup-grid > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; }
.stars-lookup-grid span { display: grid; place-items: center; min-height: 54px; padding: .25rem; border: 1px solid #d9ccba; border-radius: .3rem; text-align: center; }
.stars-lookup-grid small { font-size: .75rem; overflow-wrap: anywhere; }
.stars-lookup-grid strong { font-size: 1.2rem; color: #294d49; }
@media (max-width: 710px) {
  .stars-split { grid-template-columns: minmax(0, 1fr); }
  .stars-table th, .stars-table td { padding: .4rem .45rem; font-size: .875rem; }
}
