.anotacao-root {
  background: #f4f7fb;
  box-sizing: border-box;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}

.anotacao-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.anotacao-toolbar,
.anotacao-filebar,
.anotacao-footer {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  padding: 9px;
}

.anotacao-toolbar button,
.anotacao-filebar button,
.anotacao-toolbar select,
.anotacao-filebar input {
  border: 1px solid #b9c5d3;
  border-radius: 6px;
  font-size: 13px;
  min-height: 34px;
  padding: 6px 11px;
}

.anotacao-toolbar button,
.anotacao-filebar button {
  background: #fff;
  cursor: pointer;
}

.anotacao-toolbar button.active {
  background: #164e73;
  border-color: #164e73;
  color: #fff;
}

.anotacao-filebar .primary {
  background: #164e73;
  border-color: #164e73;
  color: #fff;
}

.anotacao-filebar .success {
  background: #15803d;
  border-color: #15803d;
  color: #fff;
}

#anotacao-nome {
  min-width: 230px;
}

#anotacao-cor {
  height: 34px;
  width: 48px;
}

.anotacao-area {
  align-items: center;
  background: #dbe3ec;
  border: 1px solid #c2cedb;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-height: 180px;
  overflow: auto;
  padding: 18px;
}

.canvas-container {
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.16);
  margin: auto;
}

.anotacao-footer {
  color: #526174;
  font-size: 12px;
  justify-content: space-between;
  margin-bottom: 0;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .anotacao-root { padding: 8px; }
  .anotacao-area { min-height: 140px; padding: 8px; }
  .anotacao-filebar input { flex: 1 1 180px; min-width: 0; }
}
