[hidden]{display:none!important}
.shell{min-height:calc(100dvh - 68px)}
.shell.signed-out{display:block}
.signed-out main{max-width:460px;padding-top:64px}
.login{background:white;border:1px solid var(--line);padding:24px;border-radius:4px}
.login h1{margin-bottom:24px}
.login .primary{width:100%}
.account button{padding:8px;min-height:36px}
#unread-count{font-size:12px;background:#a34c3e;color:white;border-radius:4px;padding:2px 5px;min-width:20px}
.user-actions{display:flex;gap:6px}
.license-summary{display:flex;gap:24px;flex-wrap:wrap;padding:16px 0;border-block:1px solid var(--line);margin:18px 0}
.license-summary small{display:block;color:#62747d;margin-bottom:6px}
.license-summary strong{font-size:18px}
.notification{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:14px 0}
.notification p{margin:0 0 5px}
.notification small{color:#62747d}
.notification.unread p{font-weight:600}
.notification a{white-space:nowrap}
.push-settings{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0}
.push-settings p{margin:0;color:#62747d;font-size:13px}
.busy{opacity:.7;pointer-events:none}
#toast.visible{display:block}
.download-link{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border:1px solid var(--line);border-radius:4px;flex-shrink:0}
.notice.error{background:#fff0ee;border-color:#ad4141}
.loading{color:#62747d;padding:16px 0}
.mail-status{margin-top:18px}
.settings-section{max-width:900px;padding:16px 0 22px;border-bottom:1px solid var(--line)}
.settings-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.settings-heading h2{margin:0}
.settings-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.mail-summary{margin:16px 0}
.settings-section .fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.settings-section input,.settings-section select{min-width:0;width:100%}
.settings-section input[type=checkbox]{width:auto}
.settings-section .data-grid strong{overflow-wrap:anywhere}
@media(max-width:680px){.settings-section .fields{grid-template-columns:minmax(0,1fr)}.settings-section .wide{grid-column:1}}
.bulk-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:-6px 0 16px}
.bulk-actions span{color:#62747d;font-size:13px;margin-right:4px}
.bulk-actions button:disabled{opacity:.55;cursor:not-allowed}
.login-error:empty,.form-error:empty{display:none}
.optional-comment label{margin-top:12px}
.file-input{max-width:100%}
.data-grid strong{overflow-wrap:anywhere}
#modal{max-height:90dvh;overflow-y:auto}
.table-wrap input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;vertical-align:middle}
#user-form section{border-top:1px solid var(--line);padding-top:12px}
#user-form .fields,#limits-form .fields,#default-limits .fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:680px){#user-form .fields,#limits-form .fields,#default-limits .fields{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){.shell{min-height:calc(100dvh - 68px)}}
@media(max-height:650px) and (min-width:681px){.shell{min-height:calc(100dvh - 52px)}.signed-out main{padding-top:24px}}
@media(max-width:680px){.account{gap:6px}.account .avatar{display:none}.notification{align-items:flex-start}.user-actions{flex-wrap:wrap}.login{padding:18px}}
.role-seat-status{margin:8px 0 0;font-size:13px;overflow-wrap:anywhere}
.role-choice button:disabled{opacity:.55;cursor:not-allowed;background:#f5f7f8}

.event-text{white-space:pre-wrap;overflow-wrap:anywhere;min-width:240px;max-width:600px}

.events-filters{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin-bottom:20px}.events-filters .field{flex:1 1 160px;min-width:0}.events-filters .events-search{flex:2 1 320px}.events-filter-actions{display:flex;gap:8px;flex-wrap:wrap}

main:has(#events-filters){margin-top:0;margin-bottom:0}#events-results table{min-width:760px}
