* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f0e51b;
  --sidebar-bg: #f0e51b;
  --border: #e0d819;
  --text: #000000;
  --text-muted: #4a4a4a;
  --accent: #000000;
  --tag-bg: #000000;
  --tag-text: #f0e51b;
  --active-bg: #e0d819;
  --hover-bg: rgba(0,0,0,0.05);
  --bg-card: #ffffff;
  --editor-text: #1a1a1a;
  --editor-caret: #000;
  --editor-heading: #000;
  --editor-link: #0066cc;
  --editor-active-line: rgba(0,0,0,0.03);
  --editor-selection: rgba(240,229,27,0.3);
  --editor-code-color: #c7254e;
  --editor-code-bg: rgba(199,37,78,0.08);
  --dialog-bg: #ffffff;
  --input-bg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a2e;
    --sidebar-bg: #1a1a2e;
    --border: #2a2a3e;
    --text: #e0e0e0;
    --text-muted: #888;
    --accent: #f0e51b;
    --tag-bg: #f0e51b;
    --tag-text: #000;
    --active-bg: #2a2a3e;
    --hover-bg: rgba(255,255,255,0.05);
    --bg-card: #16162a;
    --editor-text: #e0e0e0;
    --editor-caret: #f0e51b;
    --editor-heading: #fff;
    --editor-link: #60a5fa;
    --editor-active-line: rgba(255,255,255,0.03);
    --editor-selection: rgba(240,229,27,0.2);
    --editor-code-color: #f59e0b;
    --editor-code-bg: rgba(245,158,11,0.1);
    --dialog-bg: #1e1e32;
    --input-bg: #2a2a3e;
  }
}

html, body { height: 100%; font-family: 'Helvetica Neue', Inter, -apple-system, system-ui, sans-serif; color: var(--text); background: var(--bg); }

#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Top bar */
#topbar {
  display: flex;
  align-items: center;
  padding: 0 16px;
  min-height: 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  gap: 8px;
  flex-shrink: 0;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-brand h1 { font-size: 20px; font-weight: 900; letter-spacing: 0.5px; }
.topbar-logo { width: 32px; height: 32px; }
.topbar-divider { width: 1px; height: 24px; background: var(--border); }

#content-area { display: flex; flex: 1; overflow: hidden; }

/* Sidebar */
#sidebar {
  width: 300px;
  min-width: 300px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.2s, min-width 0.2s;
}
#sidebar.collapsed {
  width: 0;
  min-width: 0;
  border-right: none;
}
#sidebar.collapsed .sidebar-filters,
#sidebar.collapsed .sidebar-sections,
#sidebar.collapsed .search-autocomplete { display: none; }
.sidebar-collapsed-chevron #btn-collapse-sidebar svg { transform: rotate(180deg); }

#btn-collapse-sidebar {
  border: none; background: none; cursor: pointer;
  color: var(--text-muted); padding: 4px; display: flex; align-items: center;
  transition: transform 0.2s;
}
#btn-collapse-sidebar:hover { color: var(--text); }

.sidebar-header button {
  width: 32px; height: 32px;
  border: none; border-radius: 8px;
  background: var(--accent); color: white;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.sidebar-filters { padding: 12px 16px; border-bottom: 1px solid var(--border); }

#search {
  width: 100%; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; background: white;
  outline: none; color: var(--text); background: var(--input-bg);
}
#search:focus { border-color: var(--text); }

.folder-tabs {
  display: flex; gap: 4px; margin-top: 8px;
}

.tab {
  flex: 1; padding: 6px; border: none; border-radius: 6px;
  background: transparent; cursor: pointer;
  font-size: 13px; color: var(--text-muted);
}
.tab.active { background: var(--bg-card); color: var(--text); font-weight: 600; }

.search-autocomplete {
  display: none;
  position: relative;
  margin: 0 12px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.search-autocomplete.open { display: block; }
.search-autocomplete-item {
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-autocomplete-item:hover,
.search-autocomplete-item.selected { background: var(--hover-bg); }
.search-autocomplete-item .tag-icon { font-size: 11px; opacity: 0.5; }
.search-autocomplete-item .tag-count { font-size: 11px; color: var(--text-muted); margin-left: auto; }
  border: none; background: transparent; cursor: pointer;
  font-size: 12px; color: var(--text-muted); text-align: center;
}
#tag-toggle:hover { color: var(--text); }

.tag-pill {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 8px; border-radius: 12px;
  font-size: 12px; cursor: pointer;
  background: var(--tag-bg); color: var(--tag-text);
  border: none;
}
.tag-pill.active { background: var(--accent); color: white; }
.tag-pill .count { opacity: 0.7; margin-left: 2px; }

.draft-list {
  list-style: none; overflow-y: auto; padding: 4px 8px;
}

.draft-list li {
  padding: 10px 12px; cursor: pointer;
  border-radius: 8px;
  margin-bottom: 4px;
}
.draft-list li:hover { background: var(--hover-bg); }
.draft-list li.active { background: var(--bg-card); }

.draft-header {
  display: flex; align-items: baseline; gap: 6px;
}
.draft-title {
  font-size: 14px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}
.draft-seq {
  font-size: 11px; color: var(--text-muted); flex-shrink: 0;
}

.draft-preview {
  font-size: 12px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}

.draft-meta {
  display: flex; align-items: center; gap: 4px; margin-top: 4px;
  font-size: 11px; color: var(--text-muted);
  flex-wrap: wrap;
}

.draft-meta .tag-pill { font-size: 10px; padding: 1px 6px; }

/* Editor */
#editor-pane {
  flex: 1; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-card);
}

#btn-new {
  border: none; background: none; cursor: pointer;
  color: var(--text); padding: 4px; display: flex; align-items: center;
}
#btn-new svg { width: 22px; height: 22px; stroke-width: 2.5; }
#btn-new:hover { color: var(--accent); }

.toolbar-divider { width: 1px; height: 20px; background: var(--border); }

#editor-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
#editor-tags .tag-pill { margin-left: 2px; }
#editor-tags .tag-pill:hover { filter: brightness(0.92); }

#editor-actions { display: flex; gap: 4px; margin-left: auto; }
#editor-actions button {
  width: 36px; height: 36px;
  border: none; border-radius: 8px;
  background: transparent; cursor: pointer;
  font-size: 16px;
}
#editor-actions button:hover { background: var(--hover-bg); }

#editor-container {
  flex: 1; overflow: hidden; display: none;
}

/* CodeMirror 6 */
.cm-inline-code { color: var(--editor-code-color); background: var(--editor-code-bg); border-radius: 3px; padding: 1px 4px; }
.cm-formatting { opacity: 0.3; }
#editor { height: 100%; overflow: auto; }
#editor .cm-editor { height: 100%; }
#editor .cm-scroller { padding: 0 16px; }

#empty-state {
  flex: 1; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 16px;
}

/* Dialogs */
dialog {
  border: none; border-radius: 12px;
  padding: 24px; min-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  background: var(--dialog-bg); color: var(--text);
}
dialog::backdrop { background: rgba(0,0,0,0.3); }
dialog h3 { margin-bottom: 16px; }

#tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
#tag-list .tag-pill { cursor: pointer; }
#tag-list .tag-pill:hover { text-decoration: line-through; }

.tag-input-row { display: flex; gap: 8px; margin-bottom: 16px; }
.tag-input-wrapper { flex: 1; position: relative; }
.tag-input-wrapper input {
  width: 100%; padding: 8px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 14px;
  background: var(--input-bg); color: var(--text);
}
#tag-suggestions {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  list-style: none; background: var(--dialog-bg); border: 1px solid var(--border);
  border-radius: 0 0 6px 6px; max-height: 150px; overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 10;
}
#tag-suggestions.open { display: block; }
#tag-suggestions li {
  padding: 6px 10px; cursor: pointer; font-size: 13px;
}
#tag-suggestions li:hover, #tag-suggestions li.active {
  background: var(--hover-bg);
}
.tag-input-row button, .dialog-close {
  padding: 8px 16px; border: none; border-radius: 6px;
  background: var(--accent); color: white; cursor: pointer;
  font-size: 14px;
}
.dialog-close { background: var(--hover-bg); color: var(--text); display: block; width: 100%; border: 1px solid var(--border); }

#version-list { list-style: none; max-height: 400px; overflow-y: auto; margin-bottom: 16px; }
#version-list li {
  padding: 8px; border-bottom: 1px solid var(--border); cursor: pointer;
  font-size: 13px;
}
#version-list li:hover { background: var(--hover-bg); }
.version-date { font-weight: 500; }
.version-preview { color: var(--text-muted); margin-top: 2px; }

/* Version detail */
#versions-dialog { max-width: 640px; width: 90vw; }
#version-detail-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
#version-back {
  border: none; background: none; cursor: pointer; font-size: 16px; padding: 4px 8px;
  border-radius: 6px; color: var(--accent);
}
#version-back:hover { background: var(--hover-bg); }
#version-detail-date { flex: 1; font-size: 13px; color: var(--text-muted); }
#version-detail-actions { display: flex; gap: 4px; }
.version-mode-btn {
  padding: 4px 12px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--input-bg); color: var(--text); cursor: pointer; font-size: 13px;
}
.version-mode-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
#version-content {
  max-height: 60vh; overflow-y: auto; padding: 12px;
  background: var(--input-bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px;
  white-space: pre-wrap; line-height: 1.6;
}
#version-content .diff-add { background: #d4edda; color: #155724; }
#version-content .diff-del { background: #f8d7da; color: #721c24; text-decoration: line-through; }
#version-content .diff-ctx { color: var(--text-muted); }

/* Sidebar sections */
.sidebar-sections { flex: 1; overflow-y: auto; }
.sidebar-section { border-bottom: 1px solid var(--border); }
.section-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 16px;
  border: none;
  background: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  cursor: pointer;
  min-height: 40px;
  box-sizing: border-box;
}
.section-header:hover { color: var(--text); }
.section-count {
  background: var(--active-bg);
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  margin-left: 6px;
}
.section-arrow { margin-left: auto; font-size: 10px; transition: transform 0.2s; }
.sidebar-section.collapsed .section-arrow { transform: rotate(-90deg); }
.sidebar-section.collapsed .section-content { display: none !important; }

/* Favorites list */
#favorites-list { padding: 0 8px 8px; }
.fav-item {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  gap: 6px;
}
.fav-item:hover { background: var(--hover-bg); }
.fav-item.active { background: var(--active-bg); }
.fav-item .fav-icon { font-size: 10px; opacity: 0.5; }
.fav-item .fav-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-item .fav-unpin {
  opacity: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 2px;
}
.fav-item:hover .fav-unpin { opacity: 0.5; }
.fav-item .fav-unpin:hover { opacity: 1; }
.fav-note-item {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  margin: 2px 0;
}
.fav-note-item:hover { background: var(--hover-bg); }
.fav-note-item .draft-header { display: flex; align-items: baseline; gap: 6px; }
.fav-note-item .draft-title { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.fav-note-item .draft-seq { font-size: 11px; color: var(--text-muted); }

/* CodeMirror link widget */
.cm-link-widget {
  color: var(--editor-link);
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.cm-link-widget:hover {
  border-bottom-color: var(--editor-link);
}

/* CodeMirror wiki-link widget */
.cm-wikilink-widget {
  color: var(--editor-link);
  cursor: pointer;
  border-bottom: 1px dashed var(--editor-link);
  opacity: 0.9;
}
.cm-wikilink-widget:hover {
  opacity: 1;
  border-bottom-style: solid;
}

/* Wiki-link autocomplete popup */
.wiki-autocomplete {
  position: fixed;
  z-index: 1000;
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  max-width: 400px;
  min-width: 240px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.wiki-item {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wiki-item:hover, .wiki-item.selected {
  background: var(--hover-bg);
}
.wiki-item-title {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.wiki-item-seq {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* CodeMirror table widget */
.cm-table-widget {
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 13px;
  width: auto;
}
.cm-table-widget th {
  text-align: left;
  padding: 4px 12px;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  background: var(--hover-bg);
}
.cm-table-widget td {
  padding: 4px 12px;
  border-bottom: 1px solid var(--border);
}
.cm-table-widget tr:hover td { background: var(--hover-bg); }

/* Tag rows with pin button */
.tag-row { display: flex; align-items: center; gap: 4px; }
.tag-row .tag-pill { flex: 1; }
.tag-pin {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 12px;
  opacity: 0;
  color: var(--text-muted);
  padding: 2px 4px;
  transition: opacity 0.1s;
}
.tag-row:hover .tag-pin { opacity: 0.4; }
.tag-pin:hover { opacity: 1 !important; }

/* Mobile */
.mobile-only { display: none; }

/* Links panel */
#links-panel {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  max-height: 200px;
  overflow-y: auto;
}
#links-panel h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0 4px;
  color: var(--text-muted);
}
#links-panel h4:first-child { margin-top: 0; }
#links-panel ul { list-style: none; }
#links-panel li {
  padding: 3px 0;
  cursor: pointer;
}
#links-panel li:hover { color: var(--text); }
#links-panel .link-type {
  font-size: 10px;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
}
#links-panel .link-empty { font-style: italic; }

@media (max-width: 768px) {
  .topbar-brand, .topbar-divider, #btn-collapse-sidebar { display: none; }
  #sidebar { position: fixed; left: -100%; top: 48px; bottom: 0; width: 85%; z-index: 100; transition: left 0.2s; box-shadow: 2px 0 12px rgba(0,0,0,0.3); }
  #sidebar.open { left: 0; }
  #sidebar-overlay { display: none; position: fixed; top: 48px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); z-index: 99; }
  #sidebar.open ~ #sidebar-overlay { display: block; }
  .mobile-only { display: block; }
  #btn-sidebar-toggle {
    border: none; background: none; font-size: 24px; cursor: pointer;
  }
  #editor-actions { gap: 2px; }
  #editor-actions button { padding: 4px; }
}

/* Workspace sections in sidebar — same look as built-in Inbox/Archive,
   slightly different header tint so the user can see "this is a shared
   workspace" at a glance. */
.sidebar-section .ws-header {
  font-weight: 600;
}
.sidebar-section[data-workspace] {
  border-top: 1px solid var(--border);
}

/* Floating move-to-workspace menu, anchored under the move button. */
.move-menu {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 4px;
  min-width: 220px;
  z-index: 200;
}
.move-menu .move-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 3px;
  color: var(--editor-text);
}
.move-menu .move-opt:hover { background: var(--active-bg); }
.move-menu .move-opt.active {
  font-weight: 600;
  color: var(--accent);
}

/* Sidebar dividers — visual separators above Workspaces / Tags groups. */
.sidebar-divider {
  padding: 12px 12px 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.sidebar-divider:first-child { border-top: 0; margin-top: 0; }

/* Workspace group — clickable header with arrow that toggles a body
   containing favorites/inbox/archive sub-sections. */
.ws-group {
  margin-bottom: 6px;
}
.ws-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}
.ws-group-header:hover { background: var(--hover-bg); }
.ws-group-arrow {
  display: inline-block;
  font-size: 10px;
  width: 10px;
  transition: transform 0.15s;
}
.ws-group.collapsed .ws-group-arrow { transform: rotate(-90deg); }
.ws-group.collapsed .ws-group-body { display: none; }
.ws-group-body { padding-left: 8px; }
.ws-group-body .sidebar-section {
  margin-left: 2px;
}
.ws-group-body .sidebar-section .section-header {
  font-size: 12px;
  font-weight: 500;
  padding-left: 8px;
}

.empty-hint {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* All-tags list rows: tag-pill + pin button. */
.tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
}
.tag-row .tag-pill {
  flex: 1;
  text-align: left;
  background: var(--hover-bg);
  border: 0;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 3px;
  cursor: pointer;
  color: var(--text);
}
.tag-row .tag-pill.active {
  background: var(--tag-bg);
  color: var(--tag-text);
}
.tag-row .tag-pill .count {
  margin-left: 6px;
  font-size: 10px;
  color: var(--text-muted);
}
.tag-row .tag-pill.active .count { color: var(--tag-text); opacity: 0.7; }
.tag-row .tag-pin {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  padding: 2px 6px;
  opacity: 0.6;
  color: var(--text);
}
.tag-row .tag-pin:hover { opacity: 1; }
.tag-row .tag-pin.pinned { opacity: 1; color: #d4a017; }

/* Pinned-tag rows: full row clickable to toggle filter, ✕ unpin on the right. */
.pinned-tag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 3px;
}
.pinned-tag-row:hover { background: var(--hover-bg); }
.pinned-tag-row.active {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-weight: 500;
}
.pinned-tag-row .pinned-tag-label {
  flex: 1;
  font-size: 12px;
}
.pinned-tag-row .fav-unpin {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.5;
  padding: 2px 6px;
  color: inherit;
}
.pinned-tag-row .fav-unpin:hover { opacity: 1; }

/* Filter-active banner: appears between the sidebar dividers and the
   workspaces tree when a tag-filter is active. */
#tag-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 6px 12px;
  font-size: 12px;
  margin: 4px 8px;
  border-radius: 3px;
}
#tag-filter-bar b { font-weight: 600; }
#tag-filter-bar #tag-filter-clear {
  background: none;
  border: 0;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
}
#tag-filter-bar #tag-filter-clear:hover { opacity: 1; }

/* Presence-indicator: kleine pill in editor-meta die toont wie er nog
   meer in deze note zit. Verschijnt alleen bij minstens 1 andere user. */
#presence-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e6f4ff;
  color: #064d8c;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
#presence-indicator::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2c7be5;
  animation: presence-pulse 1.5s ease-in-out infinite;
}
@keyframes presence-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Conflict-banner: verschijnt boven de editor als iemand anders deze note
   net heeft bewerkt en de huidige user nog op een oudere versie zit. */
#conflict-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff3cd;
  border-bottom: 1px solid #ffe58a;
  color: #5b4500;
  padding: 8px 16px;
  font-size: 13px;
}
#conflict-banner-text { flex: 1; }
#conflict-banner button {
  background: #5b4500;
  color: #fff;
  border: 0;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}
#conflict-banner-dismiss {
  background: transparent !important;
  color: #5b4500 !important;
  font-size: 18px !important;
  padding: 0 4px !important;
  line-height: 1;
}
