.history-page{background:#f7f8fa}
.history-header{height:auto;min-height:82px;gap:24px;padding-top:16px;padding-bottom:16px;background:#fff}
.history-header .brand{flex-shrink:0}
.history-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:12px 24px;padding:0;background:transparent;box-shadow:none}
.history-main{max-width:var(--max);margin:auto;padding:56px 24px 40px}
.history-heading{margin-bottom:32px}
.history-heading .eyebrow{font-size:.875rem;margin-bottom:12px}
.history-heading h1{font-size:clamp(2.5rem,5vw,4.4rem);margin-bottom:16px;color:var(--navy)}
.history-heading>p:last-child{font-size:1.1rem;max-width:760px;margin:0;color:var(--muted)}
.history-count{font-weight:700;color:var(--navy);margin:28px 0 18px}
.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.history-card{min-width:0;display:flex;flex-direction:column;padding:24px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--navy);border-radius:5px;scroll-margin-top:24px}
.history-card:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.history-badge{align-self:flex-start;background:var(--navy);color:#fff;font-size:.875rem;font-weight:700;padding:4px 12px;border-radius:3px;margin-bottom:20px}
.history-property{display:flex;justify-content:space-between;align-items:start;gap:16px;flex:1;margin-bottom:24px}
.history-property>div{min-width:0}
.history-property h3{font-size:1.15rem;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere;margin:0 0 6px}
.history-property p{color:var(--muted);margin:0;font-size:1rem}
.history-photo{display:block;flex:0 0 88px;width:88px;height:66px;object-fit:cover;border-radius:3px}
.history-card dl{display:grid;gap:10px;margin:0;padding-top:16px;border-top:1px solid var(--line)}
.history-card dl>div{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:baseline}
.history-card dt{color:var(--muted);font-size:.875rem}
.history-card dd{margin:0;font-weight:700;font-size:1rem}
.history-more{text-align:center;margin:32px 0}
.history-more .button{border:0;font:700 1rem "DM Sans",sans-serif;cursor:pointer}
.history-note{color:var(--muted);font-size:.875rem;margin-top:24px}
.history-note a{text-decoration:underline}
.history-card[hidden],.history-photo[hidden],[data-history-more][hidden]{display:none}
.history-section+.history-section{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.history-section-heading h2{font-size:clamp(1.6rem,3vw,2.25rem);margin:0 0 10px;color:var(--navy)}
.history-section-heading p{max-width:780px;margin:0;color:var(--muted)}
.transaction-photo{flex:none;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:20px}
.transaction-image{margin:0 0 20px}
.transaction-image .transaction-photo{margin-bottom:8px}
.transaction-image figcaption{font-size:.875rem;color:var(--muted)}
.history-badge.rented{background:#5a6778}
@media(max-width:1000px){.history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.history-header{align-items:flex-start;flex-direction:column;gap:18px;padding:20px 18px}.history-nav{justify-content:flex-start;gap:8px 18px;width:100%;max-height:none}.history-nav a{padding:8px 0}.history-nav .nav-cta{padding:9px 16px}.history-main{padding:36px 18px}.history-grid{grid-template-columns:1fr}.history-card{padding:22px}}
