/* Banner Announcements admin. Portal look: sharp corners, white cards, green with black text, red for danger. */
.ba { font-family: Inter, Arial, sans-serif; color: #1c1e1a; display: flex; flex-direction: column; gap: 16px; }
.ba *, .ba-backdrop * { box-sizing: border-box; }
.ba-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ba-lead { margin: 0; font-size: 14px; color: #57534e; }
.ba-status:empty { display: none; }
.ba-msg { margin: 0; padding: 12px 14px; font-size: 14px; background: #fff; border: 1px solid #e7e5e4; }
.ba-msg[hidden] { display: none; }
.ba-msg-ok { border-color: #cfe3b3; background: #eef6e3; color: #2f4d12; }
.ba-msg-error { border-color: #f0cfcb; background: #fbeceb; color: #8a2a22; }
.ba-list { display: flex; flex-direction: column; gap: 12px; }
.ba-empty { padding: 32px 16px; background: #fff; border: 1px solid #e7e5e4; text-align: center; color: #57534e; }
.ba-empty p { margin: 0; }
.ba-row { background: #fff; border: 1px solid #e7e5e4; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ba-preview { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding: 8px 14px; font-size: 14px; font-weight: 600; text-align: center; border: 1px solid rgba(0, 0, 0, 0.08); overflow-wrap: anywhere; }
.ba-preview-link { text-decoration: underline; white-space: nowrap; }
.ba-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: #57534e; }
.ba-when { overflow-wrap: anywhere; }
.ba-badge { display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 600; border: 1px solid transparent; }
.ba-badge-good { background: #eef6e3; color: #2f4d12; border-color: #cfe3b3; }
.ba-badge-wait { background: #1c1e1a; color: #8cc63e; }
.ba-badge-muted { background: #f5f5f4; color: #57534e; }
.ba-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ba-order { display: flex; gap: 4px; margin-left: auto; }
.ba-btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 14px; border: 1px solid #1c1e1a; background: #fff; color: #1c1e1a; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 0; }
.ba-btn:hover { background: #f5f5f4; }
.ba-btn-primary { background: #111; border-color: #111; color: #fff; }
.ba-btn-primary:hover { background: #2b2b2b; }
.ba-btn-danger { background: #8a2a22; border-color: #8a2a22; color: #fff; }
.ba-btn-danger:hover { background: #6f2019; }
.ba-btn-danger-outline { border-color: #8a2a22; color: #8a2a22; }
.ba-btn-danger-outline:hover { background: #fbeceb; }
.ba-btn:disabled, .ba-icon:disabled { opacity: 0.45; cursor: default; }
.ba-icon { width: 38px; height: 38px; border: 1px solid #d6d3d1; background: #fff; font-size: 16px; cursor: pointer; border-radius: 0; color: #1c1e1a; }
.ba-icon:hover:not(:disabled) { border-color: #1c1e1a; }
.ba-btn:focus-visible, .ba-icon:focus-visible, .ba-swatch:focus-visible { outline: 2px solid #1c1e1a; outline-offset: 2px; }
.ba-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(28, 30, 26, 0.45); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: Inter, Arial, sans-serif; color: #1c1e1a; }
.ba-dialog { background: #fff; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ba-dialog-title { margin: 0; font-family: Lora, Georgia, serif; font-weight: 600; font-size: 22px; }
.ba-dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ba-text { margin: 0; font-size: 15px; line-height: 1.5; }
.ba-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-two > * { min-width: 0; }
.ba-field, .ba-label { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ba-label { font-size: 13px; font-weight: 600; }
.ba-label-text { font-size: 13px; font-weight: 600; }
.ba-optional { font-weight: 400; color: #57534e; }
.ba-input { height: 48px; width: 100%; padding: 0 10px; border: 1px solid #d6d3d1; background: #fff; font: inherit; font-size: 14px; font-weight: 400; color: #1c1e1a; border-radius: 0; margin: 0; }
.ba-input:focus { outline: 2px solid #1c1e1a; outline-offset: -1px; border-color: #1c1e1a; }
.ba-textarea { height: auto; padding: 8px 10px; resize: vertical; line-height: 1.5; }
.ba-color-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ba-color { width: 40px; height: 40px; padding: 2px; border: 1px solid #d6d3d1; background: #fff; cursor: pointer; }
.ba-hex { width: 100px; text-transform: uppercase; }
.ba-swatches { display: flex; gap: 6px; }
.ba-swatch { width: 24px; height: 24px; border: 1px solid #d6d3d1; cursor: pointer; padding: 0; }
.ba-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.ba-check input { width: 18px; height: 18px; margin: 0; accent-color: #1c1e1a; }
@media (max-width: 767px) { .ba-two { grid-template-columns: 1fr; } .ba-order { margin-left: 0; } }
