:root{--heby-primary:var(--main-primary);--heby-text:#1f2937;--heby-text-muted:#64748b;--heby-bg-card:#fff;--heby-bg-soft:#f8fafc;--heby-border:#e2e8f0;--heby-border-strong:#cbd5e1;--heby-line:#d8dee9;--heby-radius:12px;--heby-radius-sm:8px;--heby-gap:14px;--heby-rail-w:74px;--heby-cat-politics:#6366f1;--heby-cat-conflict:#ef4444;--heby-cat-disaster:#f59e0b;--heby-cat-science:#3b82f6;--heby-cat-economy:#10b981;--heby-cat-culture:#a855f7;--heby-cat-health:#14b8a6}._heby-cat--politics{--heby-cat:var(--heby-cat-politics)}._heby-cat--conflict{--heby-cat:var(--heby-cat-conflict)}._heby-cat--disaster{--heby-cat:var(--heby-cat-disaster)}._heby-cat--science{--heby-cat:var(--heby-cat-science)}._heby-cat--economy{--heby-cat:var(--heby-cat-economy)}._heby-cat--culture{--heby-cat:var(--heby-cat-culture)}._heby-cat--health{--heby-cat:var(--heby-cat-health)}._heby-container{width:100%;max-width:880px;color:var(--heby-text);margin:0 auto}._heby-container [hidden]{display:none!important}._heby-controls{background:var(--heby-bg-card);border-style:solid;border-width:1px;border-color:var(--heby-border);border-radius:var(--heby-radius);margin-bottom:22px;padding:16px;box-shadow:0 1px 3px #0f172a0f}._heby-controls-top{flex-wrap:wrap;align-items:center;gap:12px;display:flex}@media (max-width:768px){._heby-container{padding-left:1rem;padding-right:1rem}}@media (max-width:600px){:root{--heby-rail-w:54px}}._heby-dd{flex-shrink:0;position:relative}._heby-dd-trigger{background:var(--heby-bg-card);border-style:solid;border-width:1.5px;border-color:var(--heby-border-strong);border-radius:var(--heby-radius-sm);height:40px;color:var(--heby-text);cursor:pointer;white-space:nowrap;align-items:center;gap:7px;padding:0 11px;font-family:inherit;font-size:.9rem;font-weight:600;display:inline-flex}._heby-dd-trigger:hover:not(:disabled){border-color:var(--heby-primary)}._heby-dd-trigger:disabled{opacity:.5;cursor:not-allowed}._heby-dd-trigger:focus-visible{outline:2px solid var(--heby-primary);outline-offset:1px}._heby-dd-label{text-overflow:ellipsis;overflow:hidden}._heby-dd-caret{color:var(--heby-text-muted);margin-left:2px;display:flex}._heby-dd-caret svg{width:12px;height:12px}._heby-dd-panel{z-index:30;background:var(--heby-bg-card);border-style:solid;border-width:1px;border-color:var(--heby-border-strong);border-radius:var(--heby-radius-sm);width:252px;max-width:78vw;padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 26px #0f172a29}._heby-dd-search-wrap{align-items:center;margin-bottom:6px;display:flex;position:relative}._heby-dd-search-icon{color:var(--heby-text-muted);pointer-events:none;display:flex;position:absolute;left:9px}._heby-dd-search-icon svg{width:13px;height:13px}._heby-dd-search{background:var(--heby-bg-soft);border-style:solid;border-width:1.5px;border-color:var(--heby-border);width:100%;height:34px;color:var(--heby-text);border-radius:6px;padding:0 10px 0 28px;font-family:inherit;font-size:.85rem}._heby-dd-search::placeholder{color:var(--heby-text-muted)}._heby-dd-search:focus{border-color:var(--heby-primary);outline:none}._heby-dd-list{flex-direction:column;gap:2px;max-height:252px;display:flex;overflow-y:auto}._heby-dd-option{width:100%;color:var(--heby-text);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:8px;padding:8px 10px;font-family:inherit;font-size:.88rem;font-weight:500;text-decoration:none;display:flex}._heby-dd-option:hover{background:var(--heby-bg-soft)}._heby-dd-option--active{color:var(--heby-primary);font-weight:700}._heby-dd-empty{text-align:center;color:var(--heby-text-muted);margin:0;padding:14px 10px;font-size:.85rem}._heby-yearpick{flex:1}._heby-yearpick ._heby-dd-trigger{justify-content:space-between;width:100%;min-width:92px}._heby-yearpick ._heby-dd-panel{width:174px}._heby-yearpick ._heby-dd-option{justify-content:center}._heby-yearnav{align-items:center;gap:6px;display:flex}._heby-nav-btn{background:var(--heby-bg-soft);border-style:solid;border-width:1px;border-color:var(--heby-border-strong);border-radius:var(--heby-radius-sm);width:40px;height:40px;color:var(--heby-text);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;display:flex}._heby-nav-btn svg{width:16px;height:16px}._heby-nav-btn:hover:not(:disabled){background:var(--heby-border);color:var(--heby-primary)}._heby-nav-btn:disabled{opacity:.4;cursor:not-allowed}._heby-nav-btn:focus-visible{outline:2px solid var(--heby-primary);outline-offset:2px}._heby-search{flex:220px;align-items:center;display:flex;position:relative}._heby-search-icon{color:var(--heby-text-muted);pointer-events:none;display:flex;position:absolute;left:12px}._heby-search-icon svg{width:15px;height:15px}._heby-search-input{background:var(--heby-bg-card);border-style:solid;border-width:1.5px;border-color:var(--heby-border-strong);border-radius:var(--heby-radius-sm);width:100%;height:40px;color:var(--heby-text);padding:0 36px 0 34px;font-family:inherit;font-size:.92rem}._heby-search-input::placeholder{color:var(--heby-text-muted)}._heby-search-input:focus{border-color:var(--heby-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--heby-primary) 22%, transparent);outline:none}._heby-search-clear{background:var(--heby-border);width:24px;height:24px;color:var(--heby-text-muted);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;right:8px}._heby-search-clear svg{width:12px;height:12px}._heby-search-clear:hover{color:var(--heby-text)}._heby-filters{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}._heby-filter{background:var(--heby-bg-soft);border-style:solid;border-width:1.5px;border-color:var(--heby-border);color:var(--heby-text-muted);cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:6px 12px;font-family:inherit;font-size:.82rem;font-weight:600;display:inline-flex}._heby-filter-icon{color:var(--heby-cat,var(--heby-text-muted));display:flex}._heby-filter-icon svg{width:13px;height:13px}._heby-filter:hover{border-color:var(--heby-cat,var(--heby-border-strong));color:var(--heby-text)}._heby-filter--active{background:var(--heby-cat,var(--heby-primary));border-color:var(--heby-cat,var(--heby-primary));color:#fff}._heby-filter--active ._heby-filter-icon{color:#fff}._heby-filter:focus-visible{outline:2px solid var(--heby-primary);outline-offset:2px}@media (max-width:600px){._heby-yearnav,._heby-search{flex:100%}}._heby-results{display:block}._heby-year{margin-bottom:8px}._heby-year+._heby-year{margin-top:30px}._heby-year-head{flex-wrap:wrap;align-items:baseline;gap:12px;margin-bottom:16px;display:flex}._heby-year-title{color:var(--heby-text);letter-spacing:-.01em;margin:0;font-size:1.9rem;font-weight:800;line-height:1}._heby-year-count{color:var(--heby-text-muted);font-size:.85rem;font-weight:600}._heby-timeline{gap:var(--heby-gap);flex-direction:column;display:flex;position:relative}._heby-timeline:before{content:"";top:16px;bottom:16px;left:calc(var(--heby-rail-w) / 2);background:var(--heby-line);z-index:0;width:2px;position:absolute;transform:translate(-50%)}._heby-event{align-items:flex-start;gap:6px;display:flex}._heby-event-rail{z-index:1;width:var(--heby-rail-w);flex-shrink:0;justify-content:center;padding-top:12px;display:flex;position:relative}._heby-event-month{background:var(--heby-bg-card);border-style:solid;border-width:1.5px;border-color:var(--heby-border-strong);letter-spacing:.05em;text-transform:uppercase;min-width:44px;color:var(--heby-text-muted);border-radius:999px;justify-content:center;align-items:center;padding:4px 8px;font-size:.68rem;font-weight:700;display:inline-flex}._heby-event-card{background:var(--heby-bg-card);border-style:solid;border-width:1px;border-color:var(--heby-border);border-left-width:3px;border-left-color:var(--heby-cat,var(--heby-primary));border-radius:var(--heby-radius-sm);flex:1;min-width:0;padding:13px 16px;box-shadow:0 1px 2px #0f172a0d}._heby-event-card:hover{border-top-color:var(--heby-border-strong);border-right-color:var(--heby-border-strong);border-bottom-color:var(--heby-border-strong);box-shadow:0 4px 14px #0f172a1a}._heby-event-cat{text-transform:uppercase;letter-spacing:.03em;color:var(--heby-cat,var(--heby-primary));background:color-mix(in srgb, var(--heby-cat,var(--heby-primary)) 13%, transparent);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.7rem;font-weight:700;display:inline-flex}._heby-event-cat-icon{display:flex}._heby-event-cat-icon svg{width:12px;height:12px}._heby-event-title{color:var(--heby-text);margin:7px 0 4px;font-size:1rem;font-weight:700;line-height:1.35}._heby-event-desc{color:var(--heby-text-muted);margin:0;font-size:.88rem;line-height:1.55}._heby-event-source{color:var(--heby-cat,var(--heby-primary));align-items:center;gap:5px;margin-top:10px;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-flex}._heby-event-source-icon{display:flex}._heby-event-source-icon svg{width:11px;height:11px}._heby-event-source:hover{text-decoration:underline}._heby-event-source:focus-visible{outline:2px solid var(--heby-primary);outline-offset:2px;border-radius:3px}._heby-year--enter{animation:.22s _heby-fade}@keyframes _heby-fade{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}._heby-yearfoot{border-top-style:solid;border-top-width:1px;border-top-color:var(--heby-border);justify-content:space-between;gap:12px;margin-top:28px;padding-top:20px;display:flex}._heby-yearfoot-btn{background:var(--heby-bg-card);border-style:solid;border-width:1px;border-color:var(--heby-border-strong);border-radius:var(--heby-radius-sm);color:var(--heby-text);cursor:pointer;align-items:center;gap:10px;padding:9px 16px;font-family:inherit;display:inline-flex}._heby-yearfoot-btn--next{margin-left:auto}._heby-yearfoot-btn:hover{border-color:var(--heby-primary);color:var(--heby-primary)}._heby-yearfoot-btn:focus-visible{outline:2px solid var(--heby-primary);outline-offset:2px}._heby-yearfoot-icon{display:flex}._heby-yearfoot-icon svg{width:15px;height:15px}._heby-yearfoot-text{flex-direction:column;line-height:1.25;display:flex}._heby-yearfoot-btn--next ._heby-yearfoot-text{text-align:right}._heby-yearfoot-hint{text-transform:uppercase;letter-spacing:.04em;color:var(--heby-text-muted);font-size:.68rem;font-weight:600}._heby-yearfoot-year{font-size:1.05rem;font-weight:800}._heby-empty{text-align:center;color:var(--heby-text-muted);flex-direction:column;align-items:center;padding:48px 20px;display:flex}._heby-empty-icon{color:var(--heby-border-strong);margin-bottom:12px;display:flex}._heby-empty-icon svg{width:32px;height:32px}._heby-empty-title{color:var(--heby-text);margin:0 0 4px;font-size:1rem;font-weight:700}._heby-empty-text{margin:0;font-size:.88rem}@media (max-width:600px){._heby-year-title{font-size:1.6rem}._heby-yearfoot-btn{gap:8px;padding:8px 12px}._heby-yearfoot-year{font-size:.95rem}._heby-event-month{min-width:38px;padding:3px 5px;font-size:.62rem}._heby-event-card{padding:11px 13px}._heby-event-title{font-size:.95rem}}
