.autherror {color:#a33031;margin-bottom:16px;white-space:pre-wrap}
#authDialog{max-width:470px;width:calc(100% - 32px)}
#authDialog .field{display:flex;flex-direction:column;gap:8px;margin:18px 0}
.login-background{min-height:90vh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px;background:#eef2f6}
.login-background h1{font-size:30px}.login-background p{color:#566478}
.login-background .brandmark{width:72px;height:72px;font-size:32px;margin-bottom:12px}
#sync-status{font-size:14px;color:#496a70;max-width:60%;text-align:right}
#sync-status.sync-failed{color:#a33031}
.member-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #e3e9ef;gap:12px}
.member-row p{margin:6px 0;font-size:14px}
.audit-item{border-bottom:1px solid #e3e9ef;padding-bottom:12px;font-size:14px}
#latest-comparison{margin-top:16px;color:#263a50}
#latest-comparison pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:280px;overflow:auto;padding:14px;background:#f1f4f7}
body[data-role="viewer"] [data-action^="new-"],body[data-role="viewer"] [data-action="delete"],body[data-role="viewer"] [data-action="distribute"],body[data-role="viewer"] [data-action="restore"],body[data-role="viewer"] [data-action="note-topic"],body[data-role="viewer"] [data-action="inspiration-topic"],body[data-role="viewer"] #editor [type="submit"]{display:none}
body:not([data-role="admin"]) [data-action="purge"]{display:none}
body[data-role="viewer"] [data-drag]{cursor:default}
.sidebarfoot .navbutton{margin-top:14px}
@media(max-width:700px){#sync-status{font-size:12px}.member-row{align-items:flex-start}}

.topbar{gap:12px;flex-wrap:wrap}.topbar>div:first-child{margin-right:auto}

.workspace{display:flex;flex-direction:column}
.workspace>.content{width:100%;flex:1}
.site-footer{padding:16px 24px;text-align:center;font-size:12px;line-height:1.7;color:#667485}
.site-footer a{color:inherit}
#authDialog[open]{display:flex;flex-direction:column}
#authDialog>form{min-height:0;overflow-y:auto}
#authDialog>.site-footer{flex-shrink:0;padding:12px 24px;background:#fafbfc;border-top:1px solid var(--line)}
