/* Event list only; recommendation banners and sidebar are excluded. */
html body .list_row {background-color:var(--theme-list-bg,var(--theme-surface))!important;border-color:var(--eh-list-divider,var(--theme-divider))!important;border-top-color:var(--eh-list-divider,var(--theme-divider))!important;box-shadow:0 2px 4px var(--theme-list-shadow,transparent)!important}
html body .list_row:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) {box-sizing:border-box;min-height:50px!important;height:50px!important;border:0!important;border-top:1px solid var(--eh-list-divider,var(--theme-divider))!important;border-left:1px solid var(--eh-list-divider,var(--theme-divider))!important;border-radius:0!important;padding-top:0!important;box-shadow:none!important}
html body .list_row[style*="border-top:0;"]:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) {margin-top:5px!important}
html body .list_row:hover,html body .list_row.eh-row-hover {background-color:var(--theme-list-hover)!important;border-color:var(--eh-list-divider,var(--theme-divider))!important;border-top-color:var(--eh-list-divider,var(--theme-divider))!important}
html body .list_row .list_subject,html body .list_row:hover .list_subject {color:var(--theme-list-title,var(--theme-text))!important}
html body .list_row .list_subject strong {background:transparent!important;color:inherit!important;border-bottom:0!important;text-decoration:none!important}
html body .list_row .list_gift,html body .list_row .list_giftnum {color:var(--theme-list-gift)!important}
html body .list_row .list_day,html body .list_row .list_day_t {color:var(--theme-list-day)!important}
html body .list_row .list_no,html body .list_row .list_no a {color:var(--theme-list-number)!important}
html body .list_detail,html body .list_detail .detail_list,html body .eh-detail-modal__body .list_detail {background-color:var(--theme-list-bg,var(--theme-surface))!important;border-color:var(--eh-border-level4,var(--theme-divider))!important}
html body .list_detail:not(.eh-point-detail) .detail_name,html body .list_detail:not(.eh-point-detail) .detail_name .td_name_r {background-color:var(--theme-list-company-bg)!important;border-bottom-color:var(--eh-border-level4,var(--theme-divider))!important;color:var(--theme-list-title,var(--theme-text))!important}
html body .list_detail .detail_name .td_name_r a {color:var(--theme-list-title,var(--theme-text))!important}
html body .list_detail:not(.eh-point-detail) .eh-save-btn:not(.is-saved),html body .list_detail .d_save:not(:has(img[data-eh-saved="1"],img[src*="_ok"])) {background-color:var(--theme-list-button-bg)!important;color:var(--theme-list-button-text)!important;border-color:var(--theme-list-button-border)!important}
html body .eh-paging {--eh-paging-accent:var(--theme-list-paging)}
html body .eh-paging .eh-paging-inner a,html body .eh-paging .eh-paging-inner span {color:var(--theme-list-paging)!important;border-color:var(--eh-border-level4,var(--theme-divider))!important}
html body .eh-paging .eh-paging-inner a:hover,html body .eh-paging .eh-paging-inner strong,html body .eh-paging .eh-paging-inner b,html body .eh-paging .eh-paging-inner .active,html body .eh-paging .eh-paging-inner [aria-current="page"] {background-color:var(--theme-list-paging)!important;border-color:var(--theme-list-paging)!important;color:var(--theme-list-button-text)!important}

html body .list_row[data-eh-row-muted="1"]{border-top-color:var(--eh-list-divider,var(--theme-divider))}
html body .list_detail .eh-save-row > .eh-save-heading,html body .eh-detail-modal__body .eh-save-row > .eh-save-heading{color:var(--eh-t-muted,var(--theme-text))!important;border-right-color:var(--eh-border-level4,var(--theme-divider))!important;background:transparent!important}
html body .list_detail:not(.eh-point-detail) .eh-save-temp.is-saved,html body .list_detail:not(.eh-point-detail) .eh-save-entry.is-saved{background:var(--theme-light)!important;border-color:var(--theme-divider)!important;color:var(--theme-dark)!important;font-weight:700!important}

/* Open detail: numbered ribbon, preserving the original link. */
html body .list_row .eh-number-ribbon{display:none}
html body .list_row:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) .eh-number-normal{display:none}
html body .list_row:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) .list_no:has(.eh-number-ribbon){padding:0!important;margin:0!important;overflow:visible!important;position:static!important;filter:none!important}
html body .list_row:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) .eh-number-ribbon{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:100px;height:40px;padding-right:12px;padding-bottom:0;position:absolute;top:0;left:0;z-index:5;background:var(--theme-main);color:#fff!important;font-size:12px;font-weight:400;letter-spacing:0;clip-path:path("M0 0 H100 V14 Q86 20 100 26 V40 H0 Z");white-space:nowrap}

html body .list_row:has(+ .eh-point-detail:not([hidden]):not([style*="display:none"]):not([style*="display: none"])) .list_no:has(.eh-number-ribbon) a{position:absolute!important;top:0;left:0;width:100px;height:40px;z-index:5;filter:drop-shadow(0 1px 2px rgba(0,0,0,.12))}
