/* Autonomous 661–690 — History Atlas */
.history-overview{display:grid;grid-template-columns:repeat(6,1fr);border-block:1px solid var(--line)}.history-overview>div{padding:18px;border-right:1px solid var(--line)}.history-overview span,.history-overview strong{display:block}.history-overview span{font-size:7px;color:#777}.history-overview strong{font-size:32px;margin-top:10px}.history-calendar-wrap,.history-state-map,.history-stream{padding:65px 0;border-bottom:1px solid var(--line)}.history-calendar{display:grid;grid-template-columns:repeat(14,1fr);gap:4px}.history-calendar>div{aspect-ratio:1;border:1px solid var(--line);display:grid;place-items:center;background:#0b0b0b}.history-calendar>div span{font-size:8px;color:#555}.history-calendar>div[data-level="1"]{background:#1f2516}.history-calendar>div[data-level="2"]{background:#34411f}.history-calendar>div[data-level="3"]{background:#52682b}.history-calendar>div[data-level="4"]{background:var(--accent)}.history-calendar>div[data-level="4"] span{color:#080808}.history-state-map>[data-history-states]{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.history-state-map article{border:1px solid var(--line);padding:14px}.history-state-map article>div{display:flex;justify-content:space-between}.history-state-map article span{font-size:9px;color:var(--state-color)}.history-state-map article strong{font-size:24px}.history-state-map article b{display:block;height:5px;width:var(--v);background:var(--state-color);margin-top:12px}.history-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px}.history-filters button{border:1px solid var(--line);background:#0c0c0c;color:var(--muted);padding:8px 10px;cursor:pointer}.history-filters button.active{background:var(--accent);border-color:var(--accent);color:#080808}.history-stream>[data-history-stream]{display:grid}.history-stream article{display:grid;grid-template-columns:130px 1fr;border-top:1px solid var(--line);padding:14px 0;box-shadow:inset 3px 0 0 var(--event-color)}.history-stream article>div:first-child{padding-left:14px}.history-stream article>div:first-child span,.history-stream article>div:first-child strong{display:block}.history-stream article>div:first-child span{color:var(--event-color);font-size:8px}.history-stream article>div:first-child strong{color:#777;margin-top:5px}.history-stream article>div:last-child>span{font-size:8px;color:#777}.history-stream h3{font-size:24px;margin:6px 0}.history-stream p{color:var(--muted);margin:0}.history-actions{padding:35px 0 100px;display:flex;gap:10px}.history-actions button,.history-actions a{border:1px solid var(--line);background:#0d0d0d;color:var(--text);padding:10px 12px;text-decoration:none;cursor:pointer}@media(max-width:900px){.history-overview{grid-template-columns:repeat(3,1fr)}.history-calendar{grid-template-columns:repeat(7,1fr)}}@media(max-width:560px){.history-overview{grid-template-columns:1fr 1fr}.history-state-map>[data-history-states]{grid-template-columns:1fr}.history-stream article{grid-template-columns:90px 1fr}.history-calendar>div:nth-child(-n+28){display:none}}