.alerts-launcher{display:flex;align-items:center;align-self:flex-start;gap:8px;color:var(--text-secondary);font:12px 'DM Sans',sans-serif;margin:8px 0 0;padding:7px 0;min-height:36px}
.alerts-launcher:hover{color:var(--text)}.alerts-launcher svg{width:17px;height:17px}.alerts-launcher>span{background:var(--surface-selected);color:var(--green);padding:3px 7px;border-radius:20px;font-size:10px}
.alerts-notice{font-size:12px;color:var(--green);padding-top:6px}.alerts-notice button{text-align:left;min-height:36px}
.alerts-panel{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--surface-panel);color:var(--text);font:14px/1.5 'DM Sans',sans-serif;overscroll-behavior:contain}
.alerts-panel::backdrop{background:#0009;backdrop-filter:blur(6px)}.alerts-panel header{display:flex;position:static;height:auto;padding:0;justify-content:space-between;align-items:flex-start;border:0;background:none}.alerts-panel h2{font-size:26px;font-weight:500;margin:0}.alerts-panel header p{margin:4px 0 0;color:var(--text-secondary)}.alerts-panel header>button{font-size:26px;width:40px;height:40px;border-radius:50%;background:var(--surface-hover)}
.alerts-panel h3{font-size:14px;font-weight:500;margin:8px 0}.alerts-caption,.alerts-empty{font-size:12px;line-height:1.7;color:var(--text-secondary)}.alerts-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px 0 24px;border-bottom:1px solid var(--line)}.alerts-form h3,.alerts-wide{grid-column:1/-1}.alerts-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0;color:var(--text-secondary)}.alerts-form input,.alerts-form select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border-radius:10px;padding:10px;border:1px solid var(--line);color:var(--text);background:var(--surface-hover);font:14px 'DM Sans',sans-serif}.alerts-form small{font-size:11px;line-height:1.6}.alerts-create{min-height:44px;border-radius:12px;background:var(--button-primary);color:var(--on-primary);font-size:14px}
.alerts-list-heading{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.alerts-list-heading button{font-size:12px;color:var(--text-secondary);min-height:36px}.alerts-list{list-style:none;margin:0;padding:0}.alerts-list li{padding:18px 0;border-bottom:1px solid var(--line)}.alerts-list strong{font-weight:500;font-size:14px;overflow-wrap:anywhere}.alerts-list small,.alerts-list code{display:block;font-size:11px;margin-top:5px;overflow-wrap:anywhere;color:var(--text-secondary)}.alerts-list p{font-size:12px;color:var(--green)}.alerts-list .is-unread strong{color:var(--green)}.alerts-row-actions{display:flex;gap:10px;margin-top:12px}.alerts-row-actions button{min-height:36px;border:1px solid var(--line);border-radius:8px;padding:5px 12px;color:var(--text-secondary);font-size:12px}.alerts-panel button:hover{filter:brightness(1.12)}.alerts-panel button:disabled{opacity:.5;cursor:wait}.alerts-panel :focus-visible,.alerts-launcher:focus-visible{outline:2px solid var(--green);outline-offset:3px}
@media(max-width:768px){.alerts-panel{padding:22px}.alerts-form input,.alerts-form select{font-size:16px}}
.alerts-form label{margin:0}.alerts-form h3{margin:0}.alerts-form .alerts-caption{margin:0}
