/* gaps.armagi.co: page-specific rules on top of base.css */
.year { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.star-box { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.star { position: relative; }
.star svg { display: block; width: 100%; height: auto; }
.hull { fill: var(--page); stroke: #1B3A7B; stroke-width: 1.5; stroke-dasharray: 6 5; }
.shape { fill: #cdd2dc; stroke: #9aa3b2; stroke-width: 1; }
.gap { cursor: pointer; stroke-width: 1.5; transition: fill .4s; }
.gap.none { fill: transparent; stroke: var(--line); }
.gap.open { fill: #fdeee9; stroke: #a8321e; stroke-dasharray: 5 4; }
.gap.checking { fill: #f6ecd0; stroke: #C99A2E; stroke-dasharray: 5 4; }
.gap.solid { fill: #426aab; stroke: #1B3A7B; }
.gap.sel { stroke: var(--ink); stroke-width: 3; stroke-dasharray: none; }
.label { position: absolute; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .open { background: #fdeee9; border: 1.5px dashed #a8321e; }
.legend .checking { background: #f6ecd0; border: 1.5px dashed #C99A2E; }
.legend .solid { background: #426aab; }

.month-note { font-size: 18px; font-weight: 500; margin: 0 0 14px; min-height: 3em; }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.counts div { padding: 12px 14px; border-radius: 14px; background: var(--tint); }
.counts b { display: block; font-size: 26px; letter-spacing: -.02em; color: var(--navy); }
.counts span { font-size: 13px; color: var(--ink-2); }
.gap-card { margin-top: 12px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); animation: fade .3s ease-out; }
.gap-card.open { background: var(--red-bg); border-color: transparent; }
.gap-card.checking { background: var(--gold-bg); border-color: var(--gold-line); }
.gap-card.solid { background: var(--tint); border-color: transparent; }
.gap-top { display: flex; justify-content: space-between; gap: 10px; }
.gap-top .tag { color: var(--muted); font-size: 11.5px; }
.status { font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.gap-card b { display: block; font-size: 19px; margin-top: 6px; }
.gap-card p { margin: 6px 0 0; color: var(--ink-2); }
.gap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gap-chips .chip { font-size: 13px; padding: 0 12px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps .panel + .panel { margin-top: 0; }
.steps .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-bg); color: var(--gold-ink); font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; font-size: 18px; }
.steps p { margin: 6px 0 0; color: var(--ink-2); }

@media (max-width: 760px) {
  .year, .steps { grid-template-columns: minmax(0, 1fr); }
  .star-box { padding: 10px; }
  .label { font-size: 11px; }
  #months { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  #months .chip { flex: none; }
}
