.es-topic-open { overflow:hidden; }
.es-topic-overlay { position:fixed; inset:0; z-index:20000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(23,35,60,.45); box-sizing:border-box; }
.es-topic-panel { width:min(720px,100%); max-height:calc(100dvh - 32px); display:flex; flex-direction:column; overflow:hidden; background:#fff; border:1px solid #E4EAF3; border-radius:14px; padding:22px; box-sizing:border-box; color:#17233C; font-family:inherit; }
.es-topic-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.es-topic-eyebrow { color:#65738A; font-size:12px; }
.es-topic-header h2 { margin:5px 0 0; font-size:24px; line-height:1.4; }
.es-topic-panel button { font:inherit; cursor:pointer; }
.es-topic-close { border:1px solid #E4EAF3; border-radius:6px; background:#fff; padding:8px 12px; color:#65738A; white-space:nowrap; }
.es-topic-help { margin:12px 0; font-size:13px; line-height:1.6; color:#65738A; }
.es-topic-shortcuts { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.es-topic-shortcuts button,.es-topic-search button { border:1px solid #D8E1EE; background:#F7F9FC; color:#334155; padding:9px 12px; border-radius:6px; font-size:13px; min-height:40px; }
.es-topic-shortcuts [data-es-all] { color:#fff; background:#17233C; border-color:#17233C; font-weight:700; }
.es-topic-search { display:flex; gap:8px; margin-bottom:12px; }
.es-topic-search input { min-width:0; flex:1; padding:10px 12px; border:1px solid #D8E1EE; border-radius:6px; font:inherit; font-size:13px; }
.es-topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:start; gap:8px; overflow-y:auto; min-height:0; padding:3px; overscroll-behavior:contain; }
.es-topic-grid button { box-sizing:border-box; min-height:70px; padding:12px 10px; border:2px solid #E4EAF3; border-radius:8px; background:#fff; text-align:left; color:#17233C; }
.es-topic-grid button strong { display:block; font-size:14px; line-height:1.4; }
.es-topic-grid button span { display:block; margin-top:4px; font-size:12px; color:#65738A; }
.es-topic-grid button[aria-pressed="true"] { border-color:#4F72F2; background:#EEF2FF; }
.es-topic-grid button:disabled { cursor:default; background:#F7F9FC; color:#9AA7B5; }
.es-topic-grid button:disabled span { color:#8D99AA; }
.es-topic-grid button[hidden],.es-topic-empty[hidden] { display:none; }
.es-topic-empty { padding:18px 0; text-align:center; color:#65738A; }
.es-topic-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-shrink:0; margin-top:14px; padding-top:14px; border-top:1px solid #E4EAF3; }
.es-topic-summary { display:block; font-size:14px; }
.es-topic-footer small { display:block; margin-top:5px; color:#65738A; font-size:11px; line-height:1.4; }
.es-topic-footer button { flex-shrink:0; min-height:44px; border:1px solid #17233C; border-radius:6px; padding:10px 18px; color:#fff; background:#17233C; font-weight:700; }
.es-topic-footer button:disabled { background:#E4EAF3; border-color:#E4EAF3; color:#8D99AA; cursor:default; }
.es-topic-panel button:focus-visible,.es-topic-search input:focus-visible { outline:3px solid #9DBBEB; outline-offset:2px; }
@media((max-width:640px) and (not ((hover: hover) and (pointer: fine)))) { .es-topic-overlay { padding:10px; } .es-topic-panel { padding:16px; max-height:calc(100dvh - 20px); } .es-topic-header h2 { font-size:20px; } .es-topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .es-topic-grid button { min-height:66px; } .es-topic-footer { gap:8px; } .es-topic-footer button { padding:10px 12px; } }
