.root { position: relative; } .trigger { position: relative; width: 2.1rem; height: 2.1rem; border-radius: var(--radius-full); background: transparent; color: var(--ink2); border: 2px solid transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition-fast), color var(--transition-fast); } .trigger:hover, .trigger:focus-visible { background: var(--off); color: var(--ink); outline: none; } .trigger[aria-expanded="true"] { border-color: var(--teal); } .badge { position: absolute; top: 0; right: 0; min-width: 1.05rem; height: 1.05rem; padding: 0 0.25rem; border-radius: var(--radius-full); background: var(--danger); color: var(--white); font-size: 0.62rem; font-weight: 600; line-height: 1.05rem; text-align: center; } .dropdown { position: absolute; top: calc(100% + 0.5rem); right: 0; width: 320px; max-width: 90vw; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); z-index: var(--z-dropdown); overflow: hidden; } .header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); } .headerTitle { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); margin: 0; } .markAllBtn { background: none; border: none; color: var(--teal); font-size: 0.72rem; cursor: pointer; padding: 0; } .markAllBtn:hover, .markAllBtn:focus-visible { color: var(--teal-dark); outline: none; } .stateMsg { padding: 1.5rem 1rem; text-align: center; font-size: 0.8rem; color: var(--muted); margin: 0; } .list { list-style: none; margin: 0; padding: 0.3rem 0; max-height: 360px; overflow-y: auto; } .row { display: flex; align-items: flex-start; gap: 0.6rem; width: 100%; padding: 0.55rem 1rem; text-align: left; text-decoration: none; background: none; border: none; cursor: pointer; transition: background var(--transition-fast); } .row:hover, .row:focus-visible { background: var(--off); outline: none; } .rowDot { flex-shrink: 0; width: 0.45rem; height: 0.45rem; margin-top: 0.35rem; border-radius: var(--radius-full); background: transparent; } .rowDot[data-unread="true"] { background: var(--teal); } .rowBody { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; } .rowTitle { font-size: 0.82rem; color: var(--ink); line-height: 1.35; } .rowMeta { font-size: 0.75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rowTime { font-size: 0.68rem; color: var(--faint); }