/* Event-first Threads index: original Swiss cards, no invented daily quotas. */
.threads-event-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:26px;min-width:0;margin-top:8px;font-family:Inter,Arial,sans-serif}
.threads-event-index :is(h2,h3,p){margin:0!important}
.threads-event-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-bottom:3px}
.threads-event-heading>span{color:#292929;font:500 12px/1.5 Inter,Arial,sans-serif;letter-spacing:-.01em}
.threads-event-heading>p{max-width:460px;color:#8a8a8a;font:400 12px/1.55 Inter,Arial,sans-serif;text-align:right}
.threads-event-desk{min-width:0}
.threads-event-desk-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 2px 15px}
.threads-event-desk-heading h2{color:#171717;font:500 19px/1.3 Inter,Arial,sans-serif;letter-spacing:-.045em}
.threads-event-desk-heading>span{color:#999;font:400 11px/1.4 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
.threads-event-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.threads-event-card{display:flex;flex-direction:column;gap:0;min-height:248px;padding:24px 25px 20px;background:#f9f9f9;border:0;border-radius:8px;color:#222;text-decoration:none;transition:background-color .16s ease,transform .16s ease}
.threads-event-card:hover{background:#f1f1f1;transform:translateY(-2px)}
.threads-event-card:focus-visible,.threads-event-index summary:focus-visible,.threads-event-index a:focus-visible{outline:2px solid #a42435;outline-offset:3px}
.threads-event-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:#888;font:500 11px/1.4 Inter,Arial,sans-serif}
.threads-event-card-top>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:80%}
.threads-event-record{font:400 10px/1.4 Inter,Arial,sans-serif;color:#a0a0a0}
.threads-event-card h3{font:500 clamp(18px,1.85vw,22px)/1.27 Inter,Arial,sans-serif;letter-spacing:-.043em;color:#202020;text-wrap:pretty}
.threads-event-card .threads-event-summary{font:400 13px/1.65 Inter,Arial,sans-serif;color:#777;margin-top:10px!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.threads-event-latest{display:flex;flex-direction:column;gap:5px;margin-top:auto;padding-top:22px}
.threads-event-latest>span{font:400 10px/1.45 Inter,Arial,sans-serif;color:#999}
.threads-event-latest strong{font:500 12px/1.5 Inter,Arial,sans-serif;color:#343434;letter-spacing:-.015em}
.threads-event-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:15px;color:#939393;font:400 10px/1.5 Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
.threads-event-empty{padding:34px 24px!important;background:#f9f9f9;border-radius:8px;color:#777;font:400 13px/1.65 Inter,Arial,sans-serif}
.threads-event-more,.threads-calendar-archive{grid-column:1/-1;min-width:0;margin-top:13px}
.threads-event-more>summary,.threads-calendar-archive>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;list-style:none;cursor:pointer;padding:15px 17px;border-radius:8px;background:#f9f9f9;color:#2d2d2d;font:500 12px/1.5 Inter,Arial,sans-serif}
.threads-event-more>summary::-webkit-details-marker,.threads-calendar-archive>summary::-webkit-details-marker{display:none}
.threads-event-more>summary::after,.threads-calendar-archive>summary::after{content:'+';color:#999;font:400 18px/1 Inter,Arial,sans-serif}
.threads-event-more[open]>summary::after,.threads-calendar-archive[open]>summary::after{content:'−'}
.threads-calendar-archive>summary span,.threads-event-more>summary span{margin-left:auto;font:400 11px/1.4 Inter,Arial,sans-serif;color:#989898}
.threads-event-more ul{list-style:none;margin:16px 0 0;padding:0 2px}
.threads-event-more li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:9px 0;color:#999;font:400 11px/1.45 Inter,Arial,sans-serif}
.threads-event-more li a{font:500 12px/1.45 Inter,Arial,sans-serif;color:#353535;text-decoration:none}
.threads-event-more li a:hover{text-decoration:underline;text-underline-offset:3px}
.threads-calendar-archive .threads-daily-browser{padding:26px 2px 6px}
.threads-calendar-archive .threads-date-calendar{margin-top:32px}
.threads-calendar-archive .threads-browse-date h2{font-size:24px}
.threads-calendar-archive .threads-stack-stage{height:340px}
.threads-calendar-archive .threads-subject-card{padding:23px}
.threads-calendar-archive .threads-subject-card h4{font-size:20px}
@media(max-width:700px){
 .threads-event-index{grid-template-columns:minmax(0,1fr);gap:20px}
 .threads-event-heading{flex-direction:column;align-items:start;gap:4px}
 .threads-event-heading>p{text-align:left}
 .threads-event-desk-heading{padding-top:14px}
 .threads-event-grid{gap:10px}
 .threads-event-card{min-height:215px;padding:20px 21px}
 .threads-event-card h3{font-size:20px}
 .threads-calendar-archive,.threads-event-more{margin-top:4px}
 .threads-calendar-archive .threads-browse-grid{grid-template-columns:minmax(0,1fr)}
 .threads-event-more li{align-items:start;flex-direction:column;gap:4px}
}
@media(prefers-reduced-motion:reduce){.threads-event-card{transition:none}.threads-event-card:hover{transform:none}}
