.announcement-modal{box-sizing:border-box;gap:16px;max-height:calc(100dvh - 32px);overflow-y:auto;color:#eee!important;background:#171717!important;border:1px solid #393939!important;width:min(640px,100vw - 32px)!important;max-width:640px!important;padding:28px!important}.announcement-modal h2{overflow-wrap:anywhere;padding-right:24px;font-size:26px;line-height:1.25}.announcement-modal [data-slot=dialog-description]{color:#aaa}.announcement-eyebrow{letter-spacing:.12em;color:#b699fa;align-items:center;gap:8px;font-size:11px;font-weight:700;display:flex}.announcement-markdown{overflow-wrap:anywhere;min-width:0;font-size:15px;line-height:1.75}.announcement-markdown>*{margin:12px 0}.announcement-markdown h2,.announcement-markdown h3,.announcement-markdown h4{padding:0;font-size:20px}.announcement-markdown ul,.announcement-markdown ol{list-style:revert;padding-left:24px}.announcement-markdown a{color:#b699fa;text-decoration:underline}.announcement-markdown blockquote{color:#bbb;border-left:3px solid #8456df;padding-left:15px}.announcement-markdown pre{background:#222;border-radius:8px;padding:12px;overflow:auto}.announcement-markdown table{width:100%;display:block;overflow:auto}.announcement-markdown td,.announcement-markdown th{border:1px solid #414141;padding:8px}.announcement-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.announcement-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.announcements-admin{gap:20px;display:grid}.announcements-admin form{gap:16px;display:grid}.announcement-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.announcements-admin label{gap:8px;min-width:0;display:grid}.announcement-fields input{box-sizing:border-box;width:100%;min-width:0}.announcement-row{overflow-wrap:anywhere;border-bottom:1px solid #333;justify-content:space-between;gap:20px;padding:20px 0;display:flex}.announcement-row small{color:#aaa;line-height:1.7}.announcement-metrics{grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0;display:grid}.announcement-metrics>div{background:#171717;border:1px solid #363636;border-radius:12px;gap:6px;padding:18px;display:grid}.announcement-metrics b{color:#b699fa;font-size:28px}.announcement-metrics span{color:#aaa;font-size:13px}@media (max-width:640px){.announcement-fields,.announcement-metrics{grid-template-columns:1fr}.announcement-row,.announcement-heading{flex-direction:column;align-items:stretch}.announcement-modal{padding:22px!important}.announcement-modal .announcement-actions{flex-direction:column;align-items:stretch}.announcement-actions button,.announcement-actions a{justify-content:center}.announcement-fields input[type=datetime-local]{-webkit-appearance:none;appearance:none;max-width:100%}.announcement-row .announcement-actions>*{flex:1}}.announcement-editor{background:#171717;border:1px solid #3c3c3c;border-radius:10px;overflow:hidden}.announcement-editor-toolbar{background:#202020;border-bottom:1px solid #333;flex-wrap:wrap;align-items:center;gap:4px;padding:8px;display:flex}.announcement-editor-toolbar button{color:#bbb;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;display:inline-flex}.announcement-editor-toolbar button:hover,.announcement-editor-toolbar button.active{color:#c6adff;background:#353044}.announcement-visual-editor{cursor:text;outline:none;min-height:260px;max-height:520px;padding:18px;overflow:auto}.announcement-visual-editor:focus{box-shadow:inset 0 0 0 1px #8456df}.announcement-visual-editor:empty:before{content:"Escreva ou cole seu aviso em Markdown…";color:#888;pointer-events:none}.announcement-editor>small{color:#999;border-top:1px solid #333;padding:12px 16px;display:block}.announcement-editor textarea{box-sizing:border-box;border:0;border-radius:0;width:100%;min-height:260px;padding:16px;font-family:monospace}.announcement-visual-editor p{margin:0 0 12px}@media (max-width:640px){.announcement-modal{max-height:72vh;max-height:min(560px,72dvh,calc(100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)));flex-direction:column;gap:12px;overflow:hidden;padding:18px!important;display:flex!important}.announcement-modal>*{flex-shrink:0;min-width:0}.announcement-modal>[data-slot=dialog-title]{margin:0;padding-right:24px;font-size:21px;line-height:1.25}.announcement-modal>[data-slot=dialog-description]{margin:0;font-size:12px;line-height:1.4}.announcement-modal>.announcement-markdown{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex:auto;min-height:0;padding-right:4px;font-size:14px;line-height:1.6;overflow-y:auto}.announcement-modal>.announcement-markdown>:first-child{margin-top:0}.announcement-modal>.announcement-markdown>:last-child{margin-bottom:0}.announcement-modal .announcement-markdown h2,.announcement-modal .announcement-markdown h3,.announcement-modal .announcement-markdown h4{font-size:18px;line-height:1.35}.announcement-modal>.announcement-actions{border-top:1px solid #333;flex-direction:row;align-items:stretch;gap:8px;padding-top:10px}.announcement-modal>.announcement-actions>*{white-space:normal;overflow-wrap:anywhere;flex:120px;justify-content:center;min-width:0;padding:10px 12px;font-size:13px;line-height:1.35}.announcement-modal>.announcement-actions svg{flex-shrink:0}.announcement-modal>.alert{max-height:64px;margin:0;font-size:12px;overflow:auto}}
