:root {
  color-scheme: light;
  --bg: #f5f7f9;
  --panel: #ffffff;
  --panel-soft: #f9fafb;
  --line: #d9e0e7;
  --line-soft: #e8edf2;
  --text: #18222d;
  --muted: #647386;
  --muted-2: #8290a1;
  --accent: #146b63;
  --accent-soft: #e5f3f0;
  --blue: #275c9e;
  --orange: #a85b16;
  --red: #a43838;
  --green: #28764d;
  --shadow: 0 16px 50px rgba(28, 39, 54, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 360px;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.sidebar,
.detail-panel {
  background: var(--panel);
  border-color: var(--line);
}

.sidebar {
  border-right: 1px solid var(--line);
  padding: 18px;
  min-height: 0;
  overflow: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.brand p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.user-access-info {
  display: grid;
  gap: 2px;
  margin: -6px 0 16px;
  padding: 9px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.user-access-info strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.stat {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-soft);
}

.stat span {
  display: block;
  font-size: 19px;
  font-weight: 700;
}

.stat label {
  color: var(--muted);
  font-size: 12px;
}

.filter-stack {
  display: grid;
  gap: 12px;
}

.filter-stack label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.filter-stack input,
.filter-stack select {
  width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 10px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.filter-stack input:focus,
.filter-stack select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 107, 99, 0.12);
}

.workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  flex: 0 0 auto;
  z-index: 5;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2f5;
}

.tab {
  min-width: 72px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.tab.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 3px rgba(30, 41, 55, 0.12);
}

.result-count {
  color: var(--muted);
}

.detail-copy-status {
  max-width: 260px;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-copy-status.error {
  color: var(--red);
}

.view {
  display: none;
  padding: 16px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.view.active {
  display: block;
  flex: 1 1 auto;
}

#tableView.view.active {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#boardView.view.active {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

#promptsView.view.active {
  display: block;
}

#grammarView.view.active {
  display: block;
}

#emailView.view.active,
#settingsView.view.active,
#adminView.view.active {
  display: block;
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.view-header h2 {
  margin: 0;
  font-size: 18px;
}

.prompt-manager,
.admin-manager {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 14px;
  min-height: calc(100vh - 96px);
}

.ai-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 14px;
  min-height: calc(100vh - 96px);
}

.ai-workbench.single {
  grid-template-columns: minmax(0, 1fr);
}

.settings-page {
  max-width: 520px;
}

.prompt-list-panel,
.prompt-editor-panel,
.admin-list-panel,
.admin-editor-panel,
.ai-settings-panel,
.grammar-review-panel,
.ai-tool-panel,
.ai-result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 14px;
  min-width: 0;
}

.prompt-list,
.admin-user-list {
  display: grid;
  gap: 8px;
}

.prompt-list-item,
.admin-user-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.prompt-list-item:hover,
.prompt-list-item.selected,
.admin-user-item:hover,
.admin-user-item.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 107, 99, 0.1);
}

.prompt-list-item span,
.prompt-list-item small,
.admin-user-item span,
.admin-user-item small {
  color: var(--muted);
}

.prompt-form {
  display: grid;
  gap: 14px;
}

.prompt-actions {
  display: flex;
  gap: 8px;
}

.prompt-help {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.group-permission-panel {
  display: grid;
  gap: 8px;
}

.customer-tag-editor {
  display: grid;
  gap: 8px;
  padding-bottom: 4px;
}

.field-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.group-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.group-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 9px 10px;
}

.group-choice small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.group-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.settings-status {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 12px;
  white-space: nowrap;
}

.settings-status.ready {
  border-color: rgba(40, 118, 77, 0.24);
  background: #e9f6ef;
  color: var(--green);
}

.grammar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.email-generate-controls {
  display: grid;
  gap: 12px;
}

.contact-choice-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding: 2px;
}

.contact-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: flex-start;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  color: var(--text);
  cursor: pointer;
}

.contact-choice:hover {
  border-color: var(--accent);
}

.contact-choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.contact-choice span {
  overflow-wrap: anywhere;
}

.contact-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(20, 107, 99, 0.08);
}

.grammar-grid textarea,
.ai-result-panel textarea {
  min-height: calc(100vh - 220px);
  line-height: 1.55;
}

.table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

th:nth-child(1),
td:nth-child(1) {
  width: 230px;
}

th:nth-child(2),
td:nth-child(2) {
  width: 72px;
}

th:nth-child(3),
td:nth-child(3),
th:nth-child(4),
td:nth-child(4) {
  width: 76px;
}

th:nth-child(5),
td:nth-child(5) {
  width: 150px;
}

th:nth-child(8),
td:nth-child(8) {
  width: 180px;
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.table-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.table-sort:hover {
  color: var(--accent);
}

.table-link {
  color: var(--blue);
  display: block;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-link:hover {
  text-decoration: underline;
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover,
tbody tr.selected {
  background: #eef7f5;
}

tbody td {
  font-size: 13px;
}

.company-cell {
  min-width: 0;
}

.company-name {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subtle {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.badge.high,
.badge.A {
  border-color: rgba(164, 56, 56, 0.25);
  background: #fff1f1;
  color: var(--red);
}

.badge.medium {
  border-color: rgba(168, 91, 22, 0.25);
  background: #fff5e8;
  color: var(--orange);
}

.badge.deep {
  border-color: rgba(40, 118, 77, 0.24);
  background: #e9f6ef;
  color: var(--green);
}

.badge.tag {
  border-color: rgba(39, 92, 158, 0.22);
  background: #eef4fc;
  color: var(--blue);
}

.board-top-scroll {
  flex: 0 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  height: 18px;
  padding-bottom: 2px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #f4f7fa;
  scrollbar-color: #c5d0db transparent;
}

.board-top-scroll-inner {
  height: 1px;
}

.board-top-scroll::-webkit-scrollbar {
  height: 12px;
}

.board-top-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c5d0db;
}

.board-top-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.board-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: auto;
  scrollbar-color: #c5d0db transparent;
}

.board-wrap::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.board-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #c5d0db;
}

.board-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 300px);
  gap: 10px;
  min-height: 100%;
  padding-bottom: 10px;
  min-width: max-content;
}

.board-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  min-height: 100%;
  overflow: hidden;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 700;
}

.board-list {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.board-card {
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 8px 9px;
  background: #fff;
  cursor: pointer;
  height: 116px;
  min-height: 116px;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  align-content: start;
  gap: 2px;
  overflow: hidden;
}

.board-card:hover,
.board-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 107, 99, 0.1);
}

.board-card .company-name {
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 0;
  min-width: 0;
}

.board-card .subtle {
  font-size: 11px;
  line-height: 1.35;
}

.board-card-line {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-card .badge-row {
  gap: 4px;
  margin: 2px 0;
  max-height: 22px;
  overflow: hidden;
}

.board-card .badge {
  padding: 1px 7px;
  font-size: 11px;
}

.board-card .clamp {
  -webkit-line-clamp: 2;
}

.board-card-summary {
  color: var(--muted);
  display: -webkit-box;
  font-size: 11px;
  line-height: 1.35;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.badge.reminder.overdue,
.badge.reminder.today {
  border-color: rgba(164, 56, 56, 0.25);
  background: #fff1f1;
  color: var(--red);
}

.badge.reminder.soon {
  border-color: rgba(168, 91, 22, 0.25);
  background: #fff5e8;
  color: var(--orange);
}

.badge.reminder.future {
  border-color: rgba(39, 92, 158, 0.22);
  background: #eef4fc;
  color: var(--blue);
}

.detail-panel {
  border-left: 1px solid var(--line);
  padding: 18px;
  min-height: 0;
  overflow: auto;
}

.detail-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.detail-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}

.link-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.primary-action {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.primary-action:hover {
  background: #0f5b54;
  color: #fff;
}

.danger-action {
  border-color: rgba(164, 56, 56, 0.28);
  color: var(--red);
  background: #fff7f7;
}

.danger-action:hover {
  border-color: var(--red);
  color: var(--red);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.detail-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  margin-top: 14px;
}

.detail-section h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.field-list {
  display: grid;
  gap: 8px;
}

.field {
  display: grid;
  gap: 3px;
}

.field label {
  color: var(--muted-2);
  font-size: 12px;
}

.field div {
  overflow-wrap: anywhere;
}

.warning {
  border: 1px solid rgba(168, 91, 22, 0.25);
  background: #fff8ed;
  color: var(--orange);
  border-radius: 8px;
  padding: 10px;
}

.contact-list,
.timeline,
.compact-form,
.generated-email {
  display: grid;
  gap: 10px;
}

.contact-card,
.timeline-item {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 10px;
}

.contact-card-header,
.timeline-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.inline-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-head {
  align-items: center;
}

.timeline-head span {
  margin-right: auto;
  color: var(--muted);
  font-size: 12px;
}

.contact-meta {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-meta div,
.next-step {
  display: grid;
  gap: 2px;
}

.contact-meta span,
.next-step span {
  color: var(--muted-2);
  font-size: 12px;
}

.timeline-item p {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.next-step {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.empty-note {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: var(--panel-soft);
}

.compact-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.compact-form label,
.generated-email label,
.prompt-form .edit-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.compact-form input,
.compact-form select,
.compact-form textarea,
.generated-email input,
.generated-email textarea,
.generated-email select,
.prompt-form input,
.prompt-form textarea,
.prompt-form select,
.email-generate-controls select,
.ai-result-panel textarea,
.grammar-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.compact-form input,
.compact-form select,
.generated-email input,
.generated-email select,
.prompt-form input,
.prompt-form select,
.email-generate-controls select {
  height: 34px;
  padding: 0 10px;
}

.compact-form textarea,
.generated-email textarea,
.prompt-form textarea,
.ai-result-panel textarea,
.grammar-grid textarea {
  min-height: 76px;
  resize: vertical;
  padding: 8px 10px;
}

.generated-email textarea {
  min-height: 260px;
  line-height: 1.55;
}

.icon-text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 0;
  white-space: nowrap;
}

.icon-text-button:hover {
  color: var(--accent);
}

.icon-text-button.danger:hover {
  color: var(--red);
}

.edit-form {
  display: grid;
  gap: 14px;
}

.edit-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.edit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.edit-dirty-hint {
  border: 1px solid #f1c56b;
  border-radius: 6px;
  background: #fff8e6;
  color: #7a4b00;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 10px;
}

.edit-grid {
  display: grid;
  gap: 10px;
}

.edit-field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.tag-selector {
  display: grid;
  gap: 8px;
}

.tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.tag-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tag-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.edit-field input,
.edit-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.edit-field input {
  height: 36px;
  padding: 0 10px;
}

.edit-field textarea {
  min-height: 92px;
  resize: vertical;
  padding: 8px 10px;
}

.edit-field input:focus,
.edit-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 107, 99, 0.12);
}

.deep-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  body {
    overflow: auto;
  }

  .app-shell {
    grid-template-columns: 260px minmax(0, 1fr);
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .detail-panel {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .toolbar {
    position: static;
  }

  .workspace,
  #tableView.view.active,
  .table-wrap {
    overflow: visible;
  }
}
